Help - Search - Members - Calendar
Full Version: Mt4 And Wordpress
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
Mr_Cynical
The topic description says it all really - does MT4 support the XML export format used by recent versions of Wordpress? Thanks smile.gif
Blacknight
QUOTE (Mr_Cynical @ Aug 27 2007, 10:54 PM) *
The topic description says it all really - does MT4 support the XML export format used by recent versions of Wordpress? Thanks smile.gif

Short answer - yes

Longer answer - you may need to "massage" the export a bit to make sure that it is valid XML. Wordpress doesn't export sane XML by default.

You'll also need to grab a copy of the latest beta of 4.01, as the importer has been updated and tweaked to handle the basenames (permalinks) properly
Mr_Cynical
QUOTE (Blacknight @ Aug 27 2007, 11:12 PM) *
Longer answer - you may need to "massage" the export a bit to make sure that it is valid XML. Wordpress doesn't export sane XML by default.

You'll also need to grab a copy of the latest beta of 4.01, as the importer has been updated and tweaked to handle the basenames (permalinks) properly


Good thing is that my website isn't down while I'm doing this (moving from Wordpress.com to self-hosting) so it doesn't matter if it takes a day or two. I'll grab 4.01 and see how it goes, cheers smile.gif
Blacknight
I haven't tried it from wordpress.com, but I presume that it's more or less the same as with a self-hosted install of WP.
edmicman
Are there any tricks to importing a wordpress blog? I'm running wordpress-mu-1.2.3, and exported everything to the "WordPress eXtended RSS or WXR" file, which MT4 says it imports. Everything worked fine, up until a point, where MT4 said:

An error occurred during the import process: Document requires an element [Ln: 1, Col: 1] . Please check your import file.


The log also has a bunch of

No semi-colon found after entity name [Ln: 9784, Col: 86]
Document requires an element [Ln: 1, Col: 0]
Document requires an element [Ln: 1, Col: 0]

and

File is not in WXR format. at /public_html/cgi-bin/mt/plugins/WXRImporter/lib/WXRImporter/WXRHandler.pm line 61.


and

Undeclared prefix: wp at public_html/cgi-bin/mt/extlib/XML/NamespaceSupport.pm line 298.


After publishing, it did import a lot of stuff, but only older things. How do I know how to fix the WP file? Thanks for any info!
Blogger Guy
QUOTE (Blacknight @ Aug 27 2007, 06:12 PM) *
QUOTE (Mr_Cynical @ Aug 27 2007, 10:54 PM) *
The topic description says it all really - does MT4 support the XML export format used by recent versions of Wordpress? Thanks smile.gif

Short answer - yes

Longer answer - you may need to "massage" the export a bit to make sure that it is valid XML. Wordpress doesn't export sane XML by default.

You'll also need to grab a copy of the latest beta of 4.01, as the importer has been updated and tweaked to handle the basenames (permalinks) properly



wait, wait..I just spent two hours getting MT 4 to work, and now I have to download a whole other version just to get an import to work? Wow, I'm glad I didn't buy first.
Su-
QUOTE (Blogger Guy @ Jul 7 2008, 12:06 PM) *
wait, wait..I just spent two hours getting MT 4 to work, and now I have to download a whole other version just to get an import to work? Wow, I'm glad I didn't buy first.

No, you need to calm down.

Pay attention to the version number there, more importantly the "beta." This is an old thread, and if you just got MT installed now, it's probably not too likely you're using a version prior to 4.01. If you're still using a beta version, though, then yes you have a problem: you're still using code that isn't final. I'd suggest you drop this thread and go back to the one you originated unless the situation here(a beta prior to 4.01 etc) actually matches your situation.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.