Quote:
Originally Posted by pittendrigh
One final note. Eventually I'll write a (probably python) utility that recurses the book-like HTML pages and spits out an epub, suitable for downloading to a phone.
|
You might want to have a look at
BeautifulSoup. It's an extremely easy to use universal Python html/xml parser library.
Sigil also comes with an epub helper library that can be used independently of Sigil (
epub_utils.py). (It requires
unipath.py and
compatibility_utils.py).
Of course, the Calibre API also contains countless functions that you could re-use.