Question
How to programmatically convert HTML to epub?
Can I do this conversion with any programming language or library?
45 51963
45
Question
Can I do this conversion with any programming language or library?
Solution
The short answer is yes, it can be done in any programming language.
Basic steps:
Some web sites to help you get started:
June 2015 Note: The epubcheck validator has moved from google code to GitHub; note the new URL.
Solution
Calibre supports a wide variety of input formats, including HTML, and a wide variety of output formats, including EPUB, but it's not "a programming language or library". Are there specific reasons you desire a programming-based approach rather than a free-standing tool? If so, maybe Python and ebookmaker.py, for example, could help you.