html2mobi - A script to convert html files or a collection of html files to a MobiPocket file
html2mobi file.html
html2mobi file1.html file2.html ... (not tested so much...)
A script to convert html files or a collection of html files to a MobiPocket file
Specify the title for the book. This overrides the value given in the html file.
Add a prefix to the title of the book. Useful for specifying number for books in series.
Specify the author of the book.
Name of the output file. This overrides the default value.
Saves the html that is packed into mobi format. This html code contains Mobipocket specific things that are added automatically. This is mostly useful for debugging.
The image to be used as cover image.
The image to be used as tumb nail. If this flag is not used the specified cover image is used.
Add link to cover image first in main HTML document. This requires the --coverimage flag.
Tries to fix html files where two <br> in a row has been used instead of <p></p>.
Used together with --fixhtmlbr and causes to <br> to be kept so the result is a book with space between paragraphs.
For a collection of html files generate the table of contents automatically.
html2mobi Alice_In_Wonderland.html
- Specify margins with flags
- Follow local links when given a root html file
- Get meta information from somewhere...
- Include wget
- News argument (bbc, ....)
- Images larger than a certain size less than 600x800 does not work on the Gen3. I now resize so that maximum width is 480. But 600x800 gif file did work with the demo Alice mobi file. So there is a bug here somewhere.
Tommy Persson (tpe@ida.liu.se)