Module | Jekyll::TextPattern |
In: |
lib/jekyll/migrators/textpattern.rb
|
QUERY | = | "SELECT Title, \ url_title, \ Posted, \ Body, \ Keywords \ FROM textpattern \ WHERE Status = '4' OR \ Status = '5'" | Reads a MySQL database via Sequel and creates a post file for each post. The only posts selected are those with a status of 4 or 5, which means "live" and "sticky" respectively. Other statuses are 1 => draft, 2 => hidden and 3 => pending. |