WordPress eBook Export Plugin

12 years ago | Christopher Clarke (Member)

I've just uploaded a very very early development release of an eBook exporting plugin for WordPress. It's not ready for prime time. The codes not commented, its not feature complete and its very very messy with some embarrasing bits thrown in too.

Anyway, it currently takes a category, and saves it as an ePub file that may or may not be valid - I based the file it generates on something I downloaded. It seems to work ok in Stanza for iPod Touch.

I'm planning to support MobiPocket, DocBook, PDF, TXT and HTML.

Planned Features:

  • Automatically generate eBook as chapters are published
  • Other mentioned formats
  • Saving informaton about the eBooks (currently you have to fill out the form each time)
  • Reordering chapters --currently based on date
  • Ability to include pages like forword, dedication
  • Suggestions?


To use, just upload the unzipped folder to your WordPress wp-content/wp-plugins folder. Be sure to chmod /eBooks/ to 0777 or change the permissions so its writable by PHP. It requires PHP 5.2 or higher. Then activate the plugin. To create the eBook, go Tools -> Create eBook and fill in the form. Chapter Category takes the ID of the category that contains your chapters - will make that a drop down soon. Then submit the form and it will give you a URL.

Download Plugin

Note: Since its very very early days, bug reports probably won't help at this point unless the ePub file is wrong.

Read responses...


  1. Christopher Clarke (Member)

    Posted 12 years ago

    Created a Git repository, will commit my changes to there if you're interested in following development (which will likely be slow due to other-commitments).


  2. grantcravens (Member)

    Posted 12 years ago

    It looks good. Just made one myself from 7Days. My one complaint (not your fault), is that all the links I put on each entries are still there, which is kind of silly, but whatev. Also, I have no idea how to edit the ePub file. Any thoughts?

    Boat Story: kidnapped kids, mysterious maps, debt, tropical storms, pirates, sea monsters, family, tea.
  3. Christopher Clarke (Member)

    Posted 12 years ago

    Sorry for the late reply. I stopped checking this topic after a week or so.

    This is probably too late but here goes:

    ePub files are just zip files, so just rename the file extension to .zip and extract using your favourite unzipping tool. Once your done rezip and rename to .epub again. The chapter files are just plain HTML files.

    I left the links in the files created because many ePub readers support the hyperlinks.


    I'm still not sure how to handle MobiPocket. :(

  4. cmstowp (Member)

    Posted 7 years ago

    If you have a WordPress website and want to turn your blog posts into a e-book, the easiest, no-hassle way to do this through the WordPress plugin.
    We are also provide migration wix to wordpress at http://cmstowp.com/wix-to-wordpress/

    Charles Lopez
  5. Chrysalis (Member)

    Posted 7 years ago

    Wordpress plugins are only available to self-hosters, though. :(

    Anathema, a web serial about the effect superpowers would have on our world. http://anathemaserial.wordpress.com/


You must log in to post.