…th ruby 1.8 (just invoking rake)
…loth section to RedCloth constructor as an array of symbols. This means explicitly setting (for example): redcloth: hard_breaks: false lite_mode: true no_span_caps: true will cause RedCloth to be invoked thusly: RedCloth.new(content, [:lite_mode, :no_span_caps]) (Notice that hard_breaks is ignored.) This means, however, anything set to true in the redcloth section in _config.yml _will_ be passed to RedCloth. Mayhem may ensue.
a hash exists before incrementing it.
It's not much good saying "hey, there was a problem" if you don't know where the problem *is*. Hunting through several hundred YAML files is no fun.
…, in this case we make up an appropriate permalink_title that will be used as the filename. The importer can always rename the file later on, and at least the file is unlikely to have been overwritten by another draft on the same day.
…rve all your hard-worked on WP SEO keywords, images, alternative images and other yummy-ness. Replaced PubDate with wp:post_date, this is better than PubDate since some of the posts you import could be a draft (in this case the pubDate is invalid and contains a non-sensical value). Added wp:status so we now know whether the post is published, draft or in the trash. Added wp:post_type so we differentiate between posts and image or other post types