breadcrumb titlebar in Kindle book

断了今生、忘了曾经 提交于 2019-12-22 08:39:33

问题


Some books or periodicals from Amazon Kindle store have this cool feature that shows a breadcrumb or title bar when you read them. It shows up as the first line of the text. It is not the bar that has the battery and wireless signal icons. It is that first line underneath, right above the content.

For example, if you are in the middle of chapter 2 it shows the title of the chapter in that line. It is really cool and I would like to implement that in my books.

I have proper TOC, cover and start page. I followed the guidelines in Kindle Publishing Guide. Actually, I am using KindleGen to convert from "on-the-fly" generated EPUB. I am mentioning this to weed out simple RTFM answers. :) In all the guides I read, I have not found anything that mentioned described feature.

The books that have that feature are encrypted, so I can't find out how they work by looking at their files. Another thing, they are in AZW format, which supposed to be just MOBI renamed. Perhaps the described feature is exclusive to Kindle?

I thought I would ask the Kindle/MOBI/EPUB gurus out there: How can I implement such a feature in my own books?


回答1:


For HTML formatted then insert a proper TOC in it. (Read here: http://www.mobileread.mobi/forums/showthread.php?t=129364 and here: http://manual.calibre-ebook.com/faq.html#what-s-the-deal-with-table-of-contents-in-mobi-files and here: http://72.21.206.224/kdpforums/message.jspa?messageID=74957 )

Then use Calibre to convert it.

EDIT:

sorry for the misunderstanding. So you're problem was caused most probably because of the so called MOBI header, offset 24 (mobi type). If it's set to 257, 258 or 259, you will have the navbar.

The best(?) you can do (if you really want it in an e-book) is to create a Calibre (news) recipe for the conversion (docs here and here).

Within the recipe you can set the publication_type.

Or you can dig into the calibre source code (mostly python), and patch it to set the publication type differently.

This is a good resource as well.

HTH



来源:https://stackoverflow.com/questions/7988699/breadcrumb-titlebar-in-kindle-book

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!