Tuesday, January 26, 2010

I figured out how to import Wordpress to Blogger

I figured it out totally by accident...we not really just tinkiring around with converters. If you were looking for a way to move your Wordpress blog to a new Blogger Blog then follow these somewhat easy steps.

1) Export Blog from Wordpress, It creates a XML file named "wordpress.2010-01-26"

2) Go to Wordpress2Blogger site and point it to the XML file

3) That creates a XML file named "blogger-export"

4) Go to the Blogger2Wordpress site and convert the "Blogger-Export" file which creates a "wordpress-wxr" file

5) Go back to the Wordpress2Blogger site and convert the "Wordpress-wxr" file and that results in another "Blogger-export(2)" file which is what you will need to import into Blogger itself.

That should save you hours of pulling your hair out.


p.s This if you are using the non-self hosted wordpress.



Zeus said...

oh yeah..It will import everything.

McMeurs said...

It works! Awesome! Thanks!

Glückselse said...

Thanks a lot!

a. said...

Oh my gosh! Thank you so much! I have been working on this all weekend just using the "Wordpress to Blogger" site and uploading that file, when of course I got an error.

Then I tried your directions, which were very simple and easy to follow, and it worked!


Felix Diamond said...

This is great.
It works like a charm. Thanks for the tips.

Anonymous said...

WOW, you just saved my brain from certain destruction! I spent hours today trying to figure out the whole python-conversion crap, and I'm SO glad I came across your post! THANK YOU!

ephemeral evidence said...

DOH please help me. Ive tried everything...including your suggestions. When I do the Blogger to Wordpress step I just get an error....wish this worked for me...any other suggestions to get a wordpress blog over to blogger. Its less than 1mg

ephemeral evidence said...

Here is the error that I get on the step from Blogger to Wordpress

Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 509, in __call__
File "/base/data/home/apps/blogger2wordpress/1.330699343967538652/blogger2wordpress.py", line 37, in post
output = translator.Translate()
File "/base/data/home/apps/blogger2wordpress/1.330699343967538652/b2wp.py", line 128, in Translate
posts_map[self._ParsePostId(entry.id.text)] = post_item
File "/base/data/home/apps/blogger2wordpress/1.330699343967538652/b2wp.py", line 230, in _ParsePostId
return matches.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

My Girl Thursday said...

I tried your directions and I'm still getting the same error code (bX-p45270). My file is only 436 KB. Could the problem have something to do with using Firefox? Could it be because my OS is 7?

I'm going to try this again in the morning using IE.

I would really, really, really appreciate some more help on this one! I can't believe how frustrating this is!

g-villain said...

THANK you! Amazing!

Zeus said...

@ephemeral evidence

That is something I have not seen.

@My Girl Thursday

I tried replicating it on my Ibook and it works, I don't know all the ins and outs of OS X..sorry.

Musing Bella said...

Thank you! This was beyond helpful!!

Down to Mars Girl said...

I've tried your suggestion and it shows the importer it reading all my comments but then I still get an error at the end saying "Sorry, the import failed due to a server error. The error code is bX-426ol5".

Is there any way you could help me out?

Anonymous said...

I am trying to go from WP to Blogger. I downloaded the wordpress xml file (to export) then go to the link you provided but when I try to convert I get this message

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
File "/base/data/home/apps/blogger2wordpress/1.341558997352251538/blogger2wordpress.py", line 37, in post
translator = b2wp.Blogger2Wordpress(input)
File "/base/data/home/apps/blogger2wordpress/1.341558997352251538/b2wp.py", line 69, in __init__
self.feed = atom.FeedFromString(self.doc)
File "/base/data/home/apps/blogger2wordpress/1.341558997352251538/atom/__init__.py", line 1338, in FeedFromString
return CreateClassFromXMLString(Feed, xml_string)
File "/base/data/home/apps/blogger2wordpress/1.341558997352251538/atom/__init__.py", line 93, in optional_warn_function
return f(*args, **kwargs)
File "/base/data/home/apps/blogger2wordpress/1.341558997352251538/atom/__init__.py", line 127, in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "", line 85, in XML
SyntaxError: unbound prefix: line 107, column 1

Can you please help?
Thank you so much!

JesusM. said...

It seems to be hit or miss when folks are doing the conversion. I've tried this numerous times on the browsers that I have access to and it has worked every time..I'll keep poking around to see if I can make heads or tails out of this.

cécile G. said...

same issue than Ms. Strong...
Any idea ?

JesusM. said...

I have not been able to replicate the issue that Ms.Strong has received.. It just seems to work whenever I try it out.

Jewely Bug said...

Thanks so much!

Michael said...

sorry, it does not work for me... I get the following error:

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 712, in __call__
File "/base/data/home/apps/blogger2wordpress/1.342259769852558481/blogger2wordpress.py", line 38, in post
output = translator.Translate()
File "/base/data/home/apps/blogger2wordpress/1.342259769852558481/b2wp.py", line 132, in Translate
posts_map[self._ParsePageId(entry.id.text)] = page_item
File "/base/data/home/apps/blogger2wordpress/1.342259769852558481/b2wp.py", line 258, in _ParsePageId
return matches.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

JesusM. said...

again it seems to be hit or miss.

Julia Crossland said...

THANK YOU!!! You wonderful, generous soul! I am finally back on Blogger, and it's like coming home. Bless you for sharing your knowledge, I am so grateful. x x x

JesusM. said...

your welcome.