Use Sequel dataset instead of a hand-built query
Export "published: false" for unpublished blog entries
Pad post months and days with leading zeros
Export basename exactly

Replacing _ in base name with - may break old permalinks
Export post excerpt
Assume Markdown for __default__ type
Export date as strftime string

With this change dates export as
  date: '2003-03-04 18:20:00 -0800'
instead of:
  date: 2003-03-04 18:20:00.000000000 -08:00
Update comment for accuracy
Use <!--more--> to separate content from more content
Use options hash instead of adding more arguments
Output categories for blog entries
Support different encodings for strings from DB
Extract formatting of post metadata and content for testing
Extract post file name creation and add tests
Arrange post metadata to take advantage of ordered hashes