I'm testing the new ePub module on a fresh Drupal 6.19 site at epub.dev3.webenabled.net. I installed the dependencies listed on the project page and created a test book. It worked great with one exception: the chapters of the generated ePub file were out of order: 2, 1, 6, 7, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16. I'm running MySQL 5.1.41 and PHP 5.2.13 on Apache. Let me know what I can do to help fix this. I'm very excited about this module! :)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 910676_order_by_chapters.patch | 831 bytes | ivan zugec |
Comments
Comment #1
ivan zugec commentedI have the same problem, the chapters are all out of order in the epub file. Fixed the problem by adding "ORDER BY weight" to the sql query on line 634 in epub.module file.
I have attached a patch for the fix.
Comment #2
traviscarden commentedGood job, Ivan; you're my hero! ;)
Comment #3
omissis commentedHi Ivan, thanks for the patch, I' m going to integrate it asap! :)
Comment #4
omissis commentedI have integrated the patch together with another improvement and created the dev revision. I will test the release for a few days and then create the beta3 revision.
Comment #5
datatect commentedModule implies pages. EPUB flows, reflows.
drupal EPUB module?? no way. too vulnerable.
drupal HTML5 CSS3 Theme... the ebook way to go?
Upload drupal EPUB Themed XHTML and HTML5 files and directories to an online XHTML52EPUB Converter, Download .epub zip.
Is there drupal theme redy or in dev for this?
ty! hacked used drupal from 2005 or 4. HTML5 is drupal's 'Wordpress" moment!
d_tect