Module | Jekyll::TextPattern |
In: |
lib/jekyll/converters/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 is 1 => draft, 2 => hidden and 3 => pending |