zvineyard/pyrocms-wordpress-import — pull request #4 by joeydaly (2012-09-01 01:58:49+00:00)
Title: Categories & Keywords now importing correctly

Fixed up an issue where Categories & Keywords were not importing correctly. Due to the WP Export Data structure using [CDATA] and attributes.

Only issue is that Categories will be pulling 'nicename' (the url slug) and not the actual WP Category Name. So I've also added some code to strip and title case the default_categories.name - works well for my solution for importing, not sure if its best for everyone.

Also added some logic to take care of duplicates coming from WP Export Data where category names and keywords are repeated - insert_batch will throw a fit if you're inserting duplicates.