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
1) The published state is actually stored as "published" in the database but the regular expression checks for "Published" and thus will actually skip all published posts. 2) The to_yaml method is not immediately available without the "require 'yaml'" directive. This caused the migration script to fail while executing it following the instructions. Tested with Typo 5.3
…gs were not being closed.