WordPress to MODx Migration Part 3: Templates, Categories, and Postmeta
25
2010
Alright, I’m back for part three of this action packed WordPress to MODx Migration mania. In part one I showed you how to use xPDO to connect to the WordPress database and import post content into MODx. In part two I demonstrated how xPDO handles table relationships by importing WordPress comments into MODx. In this part of the WordPress to MODx migration I’m going to show you how to create and assign templates, migrate categories and postmeta data.
Before we start, I’m glad to say that I’ve created an account on GitHub and have personally switched from SVN to Git. This came about because of MODx’s switch from SVN to Git, and I’m glad that they did, because I’ve found that I like Git a lot more than SVN. That said, the code for this script is now hosted on GitHub at http://github.com/devtrench/WordPress-to-MODx. Since this code is still for developers only, there’s no official release in the downloads section (or on MODx), and I’ll most likely keep it that way until it’s packaged for the masses. However, placing it on GitHub does mark the beta release of this code, so please test it out if you’re doing a WP to MODx conversion. Any feedback would be greatly appreciated! If you just want the script you can get it from GitHub. Below and on the following pages, is the continued explanation of how it works for those who are interested.




