Search This Blog

Friday, June 29, 2018

Convert From WordPress to Blogger

Try to convert all my post from Wordpress to Blogger site.

Followed the guide:

How to Move Your Blog From WordPress to Blogger
https://www.lifewire.com/move-blog-from-wordpress-to-blogger-1616405

It turns out all 3 sites power by goolge app engine are gone at June 29, 2018.

I went download the latest code:
https://code.google.com/archive/p/google-blog-converters-appengine/downloads
google-blog-converters-r89.tar.gzUpdate for the r89 release. Quick bugfix for the blogger2wordpress conversion.  FeaturedMay 27, 201029.46MB
And hope it works.

1.Export my Wordpress all posts from the Dashboard.
2.On my local python server, created an new Python Virtual Environments:
# virtualenv -p /usr/bin/python2.7 wp2blog
# source wp2blog/bin/activate
3.Download the package and uncompress:
# wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/google-blog-converters-appengine/google-blog-converters-r89.tar.gz
# tar xzvf google-blog-converters-r89.tar.gz

4.Upload my Wordpress export file to the same folder
~/wp_blog/google-blog-converters-r89/milliondollarserver.wordpress.2018-06-29.xml
5.Run the convert and save it to an new .xml file for later import into the Blogger.
# cd ~/wp_blog/google-blog-converters-r89/
# bin/wordpress2blogger.sh milliondollarserver.wordpress.2018-06-29.xml mds_blogger.xml

Download the new mds_blogger.xml file, import it from the Google Blogger.

And I am back online again.

To clean up:
I removed the old nginx configure file and restart the nginx on the server.

Happy Canada Day!

No comments:

Post a Comment