Open utterances-bot opened 3 years ago
Hello: What wonderful work your doing. Is there a title that you would recommend to teach someone how to create "perfect EPUB". Ive read several epub books, dabbled with sigil, but really wanted a step by step "perfect epub" receipe. The source of the content is viewed online in a secure website with no download ability. I prefer to read the title offline. Thankyou kindly for your time.
pandoc
is a great tool to get started. With just a few flags, you can write metadata in a XML file, set a cover, title etc very easily.
The input that I usually use to generate a HTML file first. Set your chapter headings with <h1>
, and pandoc will generate a Table of Contents as well.
Great. Pandoc. Thanks. Are there ePub perfect templates or style guides available? There are many ways to scrape the text from the Online book web page. How do you work out the best method to scrape -- to give best result in shortest timeframe? (Is it only thru trial and error, or are there any tips?).
There isn't an objective best/easiest way, and I keep switching my toolkit, depending on what I'm wanting to experiment with.
Here's most of my usual toolkit, I can maybe blog about this sometime:
--metadata metadata.xml
for EPUBs. See W3C Specification and DublinCore Specs. I wrote a metadata generator that may help. For pdfs, see pdftk's update_info_utf8
method.I look at StandardEbooks final EPUBs for inspiration, do see their style manual
EBooks · Abhay Rana
https://captnemo.in/ebooks/