| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This saves the effort of having to do it manually later on. Also avoids
duplication in parsing.
|
| |
|
|
|
|
|
| |
This is better than having it as string then converting it to path
whenever we want to use it. It also ensures better interoperability
between operating systems (though it would probably worked fine
beforehand, but better be safe for the future).
|
| |
|
|
| |
EPUB standard only recognizes relative paths. Fixes image rendering.
|
| | |
|
| |
|
|
|
| |
Instead of writing it to file and then reading it again, we write
container.xml straight to zip, just like we did with mimetype.
|
| |
|
|
|
| |
For now, only mimetype is added. Next step is adding all the other files
in epub_root.
|
| |
|
|
|
|
|
|
| |
This reverts commit 6aad662ec59a3974cbca6c423c1e08e8bc5e90f6.
There is no need to write it out to epub_root as it needs to be manually
written to the zip file later on anyway. Not including it saves us the
trouble of avoiding it when walking epub_root later.
|
| | |
|
| | |
|
|
|
All files in file_entries are downloaded according to their full_path.
|