How to install epub.js
- Go to YOUR_DRUPAL/sites/all/libraries
- Run "git clone https://github.com/futurepress/epub.js.git"
How to display ebook online
- Go to YOUR_DRUPAL/admin/structure/file-types, you will see a new file type "eBook" and click "manage file display"
- 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.
- 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:
- Install and enable Iso 639 module
- Download, uncompress and put in "sites/all/epub/libraries/epub" this ePub library
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.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Content, Content Construction Kit (CCK), Fields, File Management, Media
- Reported installs: 70 sites currently report using this module. View usage statistics.
- Downloads: 2,456
- Last modified: December 2, 2014