Importing Content

(Roller) WordPress currently supports importing data in the form of posts (articles) and most of the details or features supported by the content publishing platform.

Importing Content

(Roller) WordPress currently supports importing data in the form of posts (articles) and most of the details or features supported by the content publishing platform.

Many of the following Content Import scripts can be found under the Tools Import menu of your WordPress administration interface.

If you run into specific problems, a search on the WordPress Support Forum will likely lead to a solution, or try the Codex FAQ. Users of a blogging system not listed here who wish to switch to WordPress are invited to ask for help in the WordPress Support Forum as well.

To help you understand the differences between WordPress and other existing software, we recommend you review the WordPress Features and more on Working with WordPress.

Before Importing

If your exported file is very large, the import script may run into your host configured memory limit for PHP.

A message like "Fatal error: Allowed memory size of 8388608 bytes exhausted" indicates that the script can not successfully import your XML file under the current PHP memory limit.

If you have access to the php.ini file, you can manually increase the limit; if you do not (your WordPress installation is hosted on a shared server, for instance), you will have to break your exported XML file into several smaller pieces and run the import script one at a time.

If the import process is run again with the same data file after stopping midway through, it could result in duplicate data, missing data, or other errors in the destination database.

For those with shared hosting, the best alternative may be to consult hosting support to determine the safest approach for running the import. A host may be willing to temporarily lift the memory limit and/or run the process directly from their end.

Read More: Installing WordPress in Your Language

b2evolution

There are currently two methods of importing a b2evolution install into WordPress described in this section.

Direct Import Between Databases

A non-WordPress script for importing from b2evo to WordPress 2.x is available (the legacy importer for WordPress 1.x).

Blogger

Users of WordPress 2.2 and above can import from Blogger. Earlier versions cannot import from Blogger because "New Blogger" was released by Google, invalidating all the old importers. Only WordPress 2.2 and later has support for "New Blogger".

If you have not already, you must be using New Blogger and a Google Account on Blogger. If you are still using Old Blogger, the importer will not work, but there is a helpful online tool that converts legacy Blogger Atom exports into WordPress WXR export files.

To start the Blogger importer, go to Tools >> Import >> Blogger.
For WordPress versions 2.0.2 to 2.6.5, go to Manage >> Import >> Blogger.

Also, see the Google Blog Converters section below.

Roller

You can fairly easily import data from Roller using the MovableType import script. First, you need to export your blog from the Roller database, then use it to create entries in your new blog.

Pictures you need to copy to the appropriate content directory yourself. Modify the $user, $oldresources, $newresources, and connection variables at a beginning of the script, store it somewhere on your web host where PHP execution is allowed, and you will get the dump of your Roller blog in MovableType Import format in return.

You can just use get to store it in the file. Then follow the instructions for MovableType import...

  1. Importing From Roller is complete and comprehensive. This should work for the Roller pre-2.0 release. After Version 2.0, the comment table is changed to roller_comment. Just change the select statement to roller_comment.
  2. Also, have a look at another technique explained in the blog Null Pointer.