Convert Post From Wordpress to Blogger

Sunday, April 5, 2009 | posted in | 0 comments

Google-blog-converters-appengine is a converter to/from various blog formats like wordpress2blogger, blogger2wordpress and etc.
Let's take an example, says we are going to convert blog post from wordpress to blogger with google-blog-convertes-appengine.

Steps:
1. Download google-blog-converters-appengine from http://google-blog-converters-appengine.googlecode.com/files/google-blog-converters-1.0-r64.tar.gz
2. Extract the file
3. Download XML export file from wordpress
 


4. Open Terminal and go into "google-blog-converters-1.0-r64/bin". Assume the file located at Desktop
cd ~/Desktop/google-blog-converters-1.0-r64/bin
5. Type below command in Terminal
./wordpress2blogger.sh ~/Desktop/wordpress..xml | tee result.xml
6. Done. You can now import result.xml to blogger host service.

Troubleshooting

If you find any errors when execute "./wordpress2blogger.sh ~/Desktop/wordpress..xml | tee result.xml".
Might be caused by the XML syntax errors. Check the error message.

Example:
Traceback (most recent call last):
File "./../src/wordpress2blogger/wp2b.py", line 467, in
translator.Translate(wp_xml_doc, sys.stdout)
File "./../src/wordpress2blogger/wp2b.py", line 138, in Translate
xml.sax.parseString(doc, self)
File "/usr/lib/python2.6/xml/sax/__init__.py", line 49, in parseString
parser.parse(inpsrc)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.6/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.6/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: :2678:45: not well-formed (invalid token)

Check the line number highlighted with red color.


The correct syntax for this should be:
<![CDATA[Google crhome, Overall, pros & cons, tips & tricks]]>

Print
0 Responses So far

Post a Comment