Skip to content

Commit

Permalink
Merge commit 'fb4902799746b08424eb7c483f8219e26e20d3e3'
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Mar 10, 2009
2 parents 06cc318 + fb49027 commit fa53f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll/converters/wordpress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module WordPress
# post in wp_posts that has post_status = 'publish'.
# This restriction is made because 'draft' posts are not guaranteed to
# have valid dates.
QUERY = "select * from wp_posts where post_status = 'publish' and post_type = 'post'"
QUERY = "select post_title, post_name, post_date, post_content, post_excerpt, ID, guid from wp_posts where post_status = 'publish' and post_type = 'post'"

def self.process(dbname, user, pass, host = 'localhost')
db = Sequel.mysql(dbname, :user => user, :password => pass, :host => host)
Expand Down

0 comments on commit fa53f5f

Please sign in to comment.