My first attempt to migrato from WP to LT was a mess, then i start to research from scratch.
1.- Migratin categories [simple script]
- Code: Select all
$con = mysql_connect("localhost","user","pass");
die('Could not connect: ' . mysql_error());
$result = mysql_query("SELECT * FROM wp_terms");
while($row = mysql_fetch_array($result))
INSERT INTO `lt_articles_categories` VALUES (<?=$row['term_id'];?>, '<?=$row['name'];?>', '', 1, '<?=date("Y-m-d h:i:$row[term_id]");?>', 1, 0, '<?=strtolower($row['name']);?>', '', '<?=$row['slug'];?>', 0, 0);
This generate a SQL script with the categories from WP ready to insert on the LifeType DB, its was prepared to be "user-categories" and not as general categories.
Then you can at least import the WP categories for now. Im researching now the post thing then when i finish some "core" coder of LT can make a "migration wizard" to LT .
My blog with the migrated categories: http://www.barrahome.org