![]() ![]() ![]() I created a script that snatches these pages, stitches them together and forms a huge HTML file (one for each book). The problem was that these books would not display/sync properly on my kindles. I have a Paperwhite, and a Fire, and wanted them both to fully support the generated book in RTL, and also support the same book (not two different versions of it), so that it synchs properly. Unfortunately the solution that I came up with does not show the book under “Books” tab in Kindle Fire. Basically, to achieve that, we need two different versions of the book on the Paperwhite (.mobi) and the Fire (.azw3), and that would mean that they won’t sync properly. The most important part of the solution was to use the proper HTML template for the book. I was using “rtl” attribute towards the HTML tag instead of BODY tag: The following is the HTML template that needs to be used for the book. You can also download this template here: Kindle RTL Template. Put the entire Kindle book between the BODY tags in the above HTML template, save with UTF-8 encoding. The next step would be to convert this to. It is a terminal app that you run, with the following syntax: $ kindlegen mybook.html -verbose -o mybook.mobi My personal choice for that is the “kinglegen” app. It will inform you of any issues or warnings, and generate a basic mobi file. You can also use Calibre, if you don’t like CLI (terminal) applications, to convert the HTML into mobi, or use Amazon’s send to device tools. The next step is sending the book to devices. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |