Thanks to the work work of Chris Petrilli and Hampton Catlin, the
WordPress Mephisto Converter has gotten pretty good. The actual task
of copying one set of models to another is pretty trivial. A problem
comes up when you're dealing with invalid data from these sources.
The Wordpress Converter is pretty good about catching that stuff, and
either displaying the result or filling in a sensible default.
So, I've refactored that into a BaseConverter class that handles the
error checking, and makes it much easier to write each individual
converter. I've rewritten both the typo and wordpress ones so far.
If anyone has some good sample data to try on, please do and submit
patches/detailed stack traces.
--
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com