paul's blog: Explorations in knowledge sharing, culture and human organisations
Simple Export of Moveable Type to Drupal
I have modified a script from here to make a simple export from Moveable Type into Drupal. I had to make some small modifications to get the correct count of entries into one of the tables (_sequences, which holds the maximum id number for other tables of content).
I had 2 weblogs to import, one after the other. Only entries and comments are imported. All I have to do now is sort out the taxonomy, which I wanted to revise anyway.
The bug I found in the import script:
1. sequences table has elements using table prefix (prefix_), not used by the import script.
2. Script gets number of rows by reading from _nodes, but problem occurs if there are gaps in numbering. Also, number to be replaced into _sequences should be the highest number of nid numbering, not the number of nodes inserted.
