Overview
This project builds content objects from drupal and bundles them into an
EPUB 3.0 document. Currently it will export a rendered entity seperate of all
of the page markup and gather all the referenced resources within the content
and bundle those into one EPUB document.
That is, this module looks at the content and determines what should be included
in the EPUB document. The actual build process takes place during cron, make
sure to run cron as a user that has access to the content necessary otherwise
the build will fail.
Installation & Libraries
Modules
This project requires: entity, field and libraries API (2.x)
Libraries
This project requires the FunnyMonkey-EPUB-Package library which can be found
on github;
https://github.com/FunnyMonkey/FunnyMonkey-EPUB-Package
This should be extracted to your libraries directory with the name 'FunnyMonkey-EPUB-Package'.
Apache
To ensure proper handling by all browsers you may need to add the following to
your apache config. (httpd.conf, mime.conf, .htaccess, etc.). Otherwise
browsers may try to render the binary content rather than downloading and/or
displaying via an external application.
AddType application/epub+zip .epub
Configuration
Add the EPUB field to any node content type. Then after editing a node of the