New Feature: Import from WordPress (and EPUB)

We’ve just added Import* to PressBooks, starting with: WordPress XML, and EPUB. More import formats are on the way. Below, I will show you how the import from WordPress works (EPUB is the same process, just a different file source).

Step 1: Get your WordPress XML file from your blog

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

 Step 2: Go to PressBooks –> Utilities –> Import

In PressBooks, go to the left menu: Utilities –> Import.

Utilities --> Import
Utilities –> Import

 

Step 3: Select your file type, choose your file, and upload

On the import page:

  1. Decide what file type you wish to import (WordPress XML/WXR or EPUB)
  2. Choose the file on your harddrive
  3. Upload the file
PressBooks Import Select File & Type
PressBooks Import Select File & Type

 

Step 4:  Choose Chapters, Frontmatter, and Backmatter

Now choose which “chapters” you want to import (or select all).

Decide whether the imports will be frontmatter, chapters or backmatter

NOTES ON STEP 4:

a) you cannot undo your chapter/frontmatter/backmatter choices once you have importer

b) You’ll need to edit front- and backmatter to make sure they have the right “types” associated with each one.

Step 5: Press “Start”

 

PressBooks Import Start
PressBooks Import Start

 

Step 6: Voila:

And voila! Here is your blog, now a “book” in PressBooks.

PressBooks Import: Voila!
PressBooks Import: Voila!

 

 

Notes:

  1. Thanks to Brad Payne of BC Campus and Michael Geilser for contributions to this new feature
  2. Currently, images from WordPress files are not pulled directly into your PressBooks book — we only point to the images in your old blog. However, we do pull the images into your EPUB and PDF exports.
  3. Your chapters are imported with default “DRAFT” status. You’ll have to “publish” each one for the moment. We’ll add user control for this setting, eventually.
  4. We will be adding other import file sources (eg. docx) in the coming months, and we welcome (enthusiastically!) contributions to our open source code.
  5. *We had previous version of an import tool, built by Stephanie Leary. We disabled that when we rolled out PressBooks 2.0 in February 2013. This new importer used the previous tool as a starting point, but has made some significant changes.

10 thoughts on “New Feature: Import from WordPress (and EPUB)

  1. everytime i try to import wordpress to pressbooks nothing happens. is my file (9.3mb) too big or do I have too many posts (c. 1,000 separate posts). if neither of these are a problem, why isn’t it working properly. If one of the 2 size issues (or both) are problems, is there a workaround?
    thanks..

    • it might be too big … a free book/no upgrade has a max of 5MB of space allocated. have you upgraded your book ($10 will get you 25MB). if that doesn’t work, i’ll give you a refund … 1000 posts does make me nervous.

  2. no i havent upgraded, but seeing as your nervous I am not sure if I should? Are there any alternative ways I can convert wordpress blog content to an ebook? It is proving painfully difficult… I havent downloaded so much junk since I was a kid! any help/advice gratefully appreciated…

  3. is there anyway I can get an a storage upgrade to 10mb just to trial whether the pressbooks will work with 1,000 posts?

  4. “is there anyway I can get an a storage upgrade to 10mb just to trial whether the pressbooks will work with 1,000 posts?”

    as i said above, you can upgrade to 25MB for $10 … if that doesn’t work I’ll refund you.

Comments are closed.

Related Posts

A Big, Warm Welcome to Pressbooks’ Newest team members: Carlos, Ho Man, and Başak

It’s time for us to lift the curtain on some major changes here at Pressbooks!  We’ve spent a lot of time over the last month doing some much-needed maintenance across the platform, including theme improvements and changes to the user experience for institutions using single-sign on technology. These past weeks also included important work on

Read More

Introducing: Malala

Take a look at our new textbook theme and try out its coolest feature: interchangeable fonts As some of you may have noticed, we have a tradition here at Pressbooks of naming our book themes after famous authors. We’ve tried to imprint the legacy that these authors and their books have left on literature onto

Read More

Scheduled Maintenance

To boost the performance and security of the Pressbooks.com network, we intend to perform scheduled maintenance on Thursday, Sept. 12 between 3 a.m. and 5 a.m. Eastern. What to expect. You can expect a short service interruption (1-2 minute downtime expected) at some point during this time frame, which would cut off any long processes like imports/exports.

Read More