32 Import from WordPress

Importing from WordPress into Pressbooks

1.. Exporting from WordPress

In your WordPress admin, go to:  Tools –> Export

(found at: ~/wp-admin/export)

Export the content you want into an XML file.

Exporting your WordPress XML File
Exporting your WordPress XML File


2. Importing into Pressbooks

Importing the File

  • Go to Left Menu –> Tools –> Import
  • Select “WXR WordPress eXtended RSS” from the dropdown menu.
  • Click on “Choose File” and select the WordPress XML file you exported in the first step.
  • Click on “Upload File”.
Importing from WordPress
Importing from WordPress

NOTE: When importing, make sure that your filename doesn’t contain any special characters as this can interfere with the process. If necessary, rename your document before uploading.

Selecting and Categorizing Posts

Once you upload the file, the next step is to select which posts you would like to import, and what kind of post they should be treated as.

  • Either “Select All” or select individual posts to import
  • Select which section each post should be imported as: Front Matter, Chapter, Part or Back Matter
Selecting and categorizing posts
Selecting and categorizing posts

Clean up your import

You will now see all your imported content alongside any existing posts in your book. To be sure that everything is in order, it pays to do the following:

  • Check the order of the imported posts in the “Text” –> “Organize” screen.
  • Double check your “Book Info” as this can sometimes be overwritten during the import process. You may have to re-enter your book details.


Icon for the Creative Commons Attribution 4.0 International License

Maricopa Open Digital Press Guide Copyright © 2012 by Book Oven Inc. (Pressbooks.com) is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book