Module | Jekyll::Drupal |
In: |
lib/jekyll/migrators/drupal.rb
|
QUERY | = | "SELECT node.nid, \ node.title, \ node_revisions.body, \ node.created, \ node.status \ FROM node, \ node_revisions \ WHERE (node.type = 'blog' OR node.type = 'story') \ AND node.vid = node_revisions.vid" | Reads a MySQL database via Sequel and creates a post file for each post in wp_posts that has post_status = ‘publish’. This restriction is made because ‘draft’ posts are not guaranteed to have valid dates. |