Added ePub processing to convert files to Baker's Hpub format.#67
Added ePub processing to convert files to Baker's Hpub format.#67freney wants to merge 1 commit intobakerframework:masterfrom
Conversation
|
Hmm, have you had many problems in your app with this code? Or has everything pretty much worked well? Andy From: freney notifications@github.com Allows adding ePub packages to your shelf.json manifest. On first opening the ePub file, it scans for the book.json file. If it is not found, then we check for the ePub container.xml file before failing. You can merge this Pull Request by running |
|
I assume from your response that it’s causing some problems? It’s worked ok for me, but it’s going to depend on your epubs. They’re not all created equal. I tested it out on some of the google code ePub standard examples, and it worked well for them. Sam. Sam Freney On 19 Dec 2013, at 2:34 pm, Andrew notifications@github.com wrote:
|
Allows adding ePub packages to your shelf.json manifest. On first opening the ePub file, it scans for the book.json file. If it is not found, then we check for the ePub container.xml file before failing.
If it is an ePub file, scan the OPF manifest for package contents, and create a book.json file. (On subsequent opens, then it will parse this book.json file as normal.)
To do: Create index.html from ePub contents, and optionally provide for overriding the ePub stylesheet with custom CSS.