Erik
unread,Sep 3, 2009, 1:25:08 PM9/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Blog Converters
Hi there,
I'm trying to move posts and comments from a Wordpress blog to an
ExpressionEngine site. It turns out there are no good current
documented methods for this. The least-painful approach I've found has
been to use the Google Blog Converter tools to first convert the
Wordpress exported XML to blogger, and then go from the blogger format
to MovableType (ExpressionEngine has a native import tool for MT).
I've gotten as far as converting the Wordpress XML to Blogger format
using wordpress2blogger. So now I've got my entries and comments in
Blogger XML format. When I try to run blogger2movabletype on this
file, though, I get this output:
Traceback (most recent call last):
File "bin/../src/blogger2movabletype/b2mt.py", line 189, in ?
translator = Blogger2MovableType(wp_xml_doc)
File "bin/../src/blogger2movabletype/b2mt.py", line 59, in __init__
self.feed = atom.FeedFromString(self.doc)
File "/home/nicolebujewski/webapps/django/lib/atom/__init__.py",
line 1287, in FeedFromString
return CreateClassFromXMLString(Feed, xml_string)
File "/home/nicolebujewski/webapps/django/lib/atom/__init__.py",
line 97, in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 2, column 3132566
Line 3132566 is somewhere in the middle of all the Blogger XML. I know
very little about XML and what it takes to shape up a malformed
document, so I'm now totally stuck. Any suggestions on how I could
move forward?
Thanks!
Erik