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


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!




  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?

    • 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

OTN Members: Don’t Forget to Use Your PressbooksEDU Discount!

Institutional members of the Open Textbook Network (OTN) are eligible for 30% off the annual price for PressbooksEDU Silver and Gold plans. If your institution is a member of the OTN, you can save on the annual subscription price for a PressbooksEDU Silver or Gold network. Together, Pressbooks and the OTN are working to help

Read More

Internship Position at Pressbooks: Here’s How to Apply

A lot of work goes into making great software for great people. We’re currently looking for an ambitious student or recent graduate in the Montreal area who would like to be a part of that work. If you’re interested in the crossroads of education, technology, and publishing, we’d like to hear from you. For more

Read More

PressbooksEDU Silver Plans Now Offer Thin Common Cartridge Exports With Web Links

If you have a PressbooksEDU Silver plan, or were considering one, you may be excited to hear that all PressbooksEDU plans now enable you to produce Thin Common Cartridge exports with web links. This means that you can more easily display links to all of the chapters of a public book within a learning management

Read More