-
Moving from Typo to Wordpress
Posted on February 23rd, 2009 No commentsI recently moved my blog from Typo to Wordpress. Typo served well and it was written in Rails. However, it was more difficult to upgrade and I just don’t have enough time to maintain it and keep it up to date. So it has been running at version 4.1.1 which requires Rails 1.2.6. So a change is imminent and I found a couple resources by Stuart Johnston and Max Newell.
Those are GREAT starts!. However, I had to modify the migration script for my Typo version (4.1.1) and the latest Wordpress version (2.7.1 at the time of this writing). Fortunately, the script is just pure SQL. That means I had to inspect the Typo and Wordpress database structures to correctly map the tables and columns between the two databases. It is not the funnest thing in the world though, but this has to be done. If you have other versions of Wordpress, I recommend you upgrade to the latest version first. That way, you don’t have to worry about Wordpress’s table structures because I already did this for you. If you are using a different version of Typo, feel free to modify this migration script and post feedback.
Here are the steps that you need to take after grabbing the script:
> mysqldump typo_db articles_tags tags categorizations categories contents feedback > typo.sql > mysql typo_db < typo.sql > mysql typo_db < typo_4_1_1_to_wordpress_2_7_1.sql
Leave a reply



Recent Comments