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.
Remove Java script code from the html code before saving as a book.
Scale factor to be applied to all images.
Default is rescaling images for them to work on Cybook Gen3. To disable this specify --imagerescale 0.
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, ....)
Tommy Persson (tpe@ida.liu.se)