I am trying to migrate a blog from Movable Type to WordPress.com. I have had good success in using https://github.com/niallkennedy/Movable-Type-WordPress-export to generate a WP export XML file from our MT installation, which does a much better job (among other things) dealing with line endings and post formatting than the straight MT-to-WP export. However, I'm having trouble getting images and posts transferred in a coordinated manner.
The specific issue is that while posts and images are correctly copied over to WordPress.com during import, the image locations appear to be renamed and the corresponding links in the posts are not updated appropriately. I think this may be an issue with the WP XML format. Below is an example XML excerpt, where a post at is trying to load this image, described as a media asset item.
What happens during import is that this image:
is renamed to:
What is weird is that if I delete all the posts and images and re-upload the XML file, the same image is now renamed to:
If I try again, I get:
Is there some sort of internal invisible counter being used during import? Any suggestions on how to tweak the XML so that these links remain intact?
<pubDate>Thu, 06 Oct 2011 10:10:49 -0800</pubDate>
<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-1912" title="waterman-apostrophe-fountain-pen-in-black-1-1.jpg" src="http://movabletypeimporttest.files.wordpress.com/2011/10/waterman-apostrophe-fountain-pen-in-black-1-1.jpg?w=168" alt="waterman-apostrophe-fountain-pen-in-black-1-1.jpg" width="168" height="168" />I write on my hand. </p>
<p>(text omitted for brevity)</p>]]></content:encoded>
<excerpt:encoded>I write on my hand. Well, my palm. Yes, like in 5th grade, I jot things down on my hand. I write down to dos, reminders, notes. In ink. On my hand. It's only on my left hand because, really,...</excerpt:encoded>
<category domain="category" nicename="news-nuisance-miscellany">News, Nuisance, Miscellany</category>
<pubDate>Thu, 06 Oct 2011 11:43:24 -0800</pubDate>
... other tags removed for brevity ...
The blog I need help with is movabletypeimporttest.wordpress.com.