epub, epub.js, ebook
epub, epub.js, fullscreen, ebook


The new epub module for Drupal 7 provides displays for file entity and file fields and enables users to read epub/ibooks files inside their browsers like pdf module.

Use this module with apachesolr_file (recommend with file_entity 7.x-2.x), you can build your owned online library.

How to install epub.js

  1. Go to YOUR_DRUPAL/sites/all/libraries
  2. Run "git clone https://github.com/futurepress/epub.js.git"

How to display ebook online

  1. Go to YOUR_DRUPAL/admin/structure/file-types, you will see a new file type "eBook" and click "manage file display"
  2. Now you will be at YOUR_DRUPAL/admin/structure/file-types/manage/ebook/file-display and able to see 3 new display options:
    • "ePub default" display uses iframe to wrap xhtml files extracted from epub package
    • "ePub cover image" display shows the cover image inside epub file (A cover image is not required according to the ePub standard)
    • "Epub.js reader" display uses Epub.js to display ebook

    Select one and save.

  3. Go to YOUR_DRUPAL/admin/content/file and upload your epub files. Then you will be able to read them online.


The ePub module allows site administrators to enable other users to download the ePub version of the book contents available on the website.

What this module basically does is to enable an ePub content type, allowing the admin to create as much ePub contents as he needs. Every ePub content has to be linked to a book outline, and has to have a few extra fields like title, language, author and so on. Once an ePub content is properly created and linked to a book outline, a 'Download ePub' tab will appear on the book outline page, allowing the user to download the .epub file containing the book content on his pc/handheld device. The module also features all the CRUD functionalities to administer the ePub contents, a configuration section, and a 'create ePub' content tab that shows up on book outlines when the module is activated but no ePub content still exists on it.

Epub requires that you:

Development is sponsored by nois3lab.it

If you are looking for similiar function in Durpal7, please try https://drupal.org/project/epub_export.
ATTENTION! There is no upgrade path from Drupal 6 to 7.

Project information