aboutsummaryrefslogtreecommitdiff
path: root/src/epub.rs
Commit message (Collapse)AuthorAgeFilesLines
* Convert URLs pointing upstream to local relativeA Farzat5 days1-3/+33
| | | | EPUB standard only recognizes relative paths. Fixes image rendering.
* Generate the EPUB fileA Farzat6 days1-2/+21
|
* Add container.xml to zipA Farzat6 days1-14/+21
| | | | | Instead of writing it to file and then reading it again, we write container.xml straight to zip, just like we did with mimetype.
* Start with the create_epub_archive functionA Farzat6 days1-1/+15
| | | | | For now, only mimetype is added. Next step is adding all the other files in epub_root.
* Revert "Add a function to write mimetype"A Farzat6 days1-8/+0
| | | | | | | | 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.
* Add a function to write container.xmlA Farzat6 days1-0/+26
|
* Add a function to write mimetypeA Farzat6 days1-0/+8
|
* Add file download logicA Farzat6 days1-0/+34
All files in file_entries are downloaded according to their full_path.