First Step: Export
First, you must export your WordPress blog. If you maintain a single-person blog, this usually isn't a problem.
Log into your account wherever you're hosting it. In my case, I'm using a blog hosted on my own domain with my own installation of WordPress software. You may have started a blog on WordPress.com. If so, the process is the same.
Go to the Dashboard.
Click on Tools: Export
You'll have some options here. If you want only the posts or only the pages, you can do that, but in most cases, you'll want to export both.
Click on Download Export File.
You'll end up downloading an export file with a name that looks something like "nameoftheblog.wordpress.dateofexport.xml." This is an XML file specifically designed as a backup of WordPress content.
If your intent is to move your blog from one WordPress server to another, you're set. In this case, we must massage the data to get it into the format we need.
Second Step: Conversion
Update: This is the process that appears to have been discontinued.
The Data Liberation Front hosts an open-source project called the Google Blog Converters. It's designed to do exactly what we need. The WordPress to Blogger conversion tool will take that XML file and change the markup into Blogger's format.
Upload your file using the WordPress to Blogger tool.
Press Convert.
Save your converted file to your hard drive.
In this case, you're going to get a file named "blogger-export.xml." The only thing that's really changed is the XML markup.
Final Step: Import
Now that you have your old blog data converted to a format for Blogger, you have to import that blog into Blogger. You can start a new blog, or you can import your content into an existing blog. The dates of your posts will be whatever date they were on WordPress. If you had an old blog you forgot about or didn't realize you could import, this is a good way to backfill your content.
Log onto Blogger and go into the settings for your blog. The steps you use to get there may vary a little depending on whether you're using the old or new version of the Blogger dashboard.
Go to Settings: Other
Click on Import Blog
You'll need to browse for your blogger-import.xml. Don't try the original WordPress file. It won't work. You may have to enter some CAPTCHA text to prevent someone from using a script to hack your account and import a bunch of spam posts.
Choose whether you want to automatically publish all posts. Uncheck this box if you want your posts to be imported as draft posts. This might be a good idea if you want to preview your work and make sure everything imported as expected.
Congratulations, you're done
No comments:
Post a Comment