The Beyond the PDF (https://web.archive.org/web/20120628132920/https://sites.google.com/site/beyondthepdf/?) workshop took place a little over a week ago. One take-home message for me was that ePub is a very interesting (https://web.archive.org/web/20120628132920/http://blogs.plos.org/mfenner/2011/01/23/beyond-the-pdf-%E2%80%A6-is-epub?) document format for scholarly publishing and has several advantages over PDF. The workshop had a wonderful spirit to do something, and in this spirit I wrote a WordPress plugin that automatically creates ePub files from blog posts. The plugin was released today (https://web.archive.org/web/20120628132920/http://wordpress.org/extend/plugins/epub-export?), and can be installed directly from your WordPress installation. A sample ePub can be downloaded from this blog post (https://web.archive.org/web/20120628132920/http://blogs.xartrials.org/2011/01/09/embedding-adobe-illustrator-charts-in-wordpress-using-html5/?), using the link at the bottom.
This is version 1.0 of the plugin, and there a still number of small bugs, mainly because ePub is a complex format. A big problem is page breaks, and widows and orphans (https://web.archive.org/web/20120628132920/http://en.wikipedia.org/wiki/Widows_and_orphans?) can currently only be avoided by workarounds. You can also see in the screenshot that the shortcode wasn’t parsed for the ePub.
But these are minor issues that can be solved in the coming weeks. More interesting for version 1.1 is the inclusion of attachments (other than images) in the ePub. I have to do some more thinking on how to do this, especially how to handle all the possible mime types.
I like reading science blogs in ePub format, using either Adobe Digital Editions on the Mac or iBooks on iPad and iPhone. This works particularly well for longer posts, e.g. those lovely posts from my science writer colleagues here on PLoS Blogs. If you have access to WordPress, then this plugin is one of the easiest ways to produce content in ePub format.