Ok here's my plan: I will decouple the library that actually adds the ex libris from the command line parsing stuff, and I will code three front-ends: CLI, GUI and a calibre plugin.
In the next release:
1) Parametric fields in the ex libris: you will write "EXLIBRIS_TITLE" in your XHTML source and exlibris will substitute it with the EPUB title read from its metadata (and the same for other fields).
2) Better support for external files referenced from the ex libris XHTML page.
3) A security check before unzipping the EPUB (hey, I assume you know what you are doing, but better safe than sorry...).
4) Insertion point in the TOC.
5) Time permitting: Calibre plugin and GUI.
|