05-08-2011, 03:20 PM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
TOC - Categories and articles like Calibre News
Hi,
Almost every Magazine or News source fetched using Calibre comes with a wonderful menu that displays categories on the left and articles on the right. We can choose a category and browse the article's titles of that category. Can anyone tell me how can I create such a menu in HTML, so that it will work on my Kindle after converting the HTML to MOBI? Thanks in advance for your help. Regards, -- Alex |
05-08-2011, 03:53 PM | #2 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Wrong section.
I assume you're referring to reading a downloaded news item on your Kindle when you say, "displays categories on the left and articles on the right." This is a feature of the Kindle and requires the MOBI file to be structured in a particular way. There is no way to have calibre create output using this structure other than through the download new area. Also, there are some issues with the current implementation and how the books behave on the Kindle 3.1 firmware. |
Advert | |
|
05-08-2011, 04:29 PM | #3 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
Hi user_none,
Quote:
I want to create a Kindle document myself, using HTML (not using Calibre). And I was asking if somebody knew how to structure that kind of menu in HTML because I would like to use it in my document. I would use Calibre only after, to convert the finished HTML to MOBI. Thank you for your help. Best regards, -- Alex |
|
05-08-2011, 04:33 PM | #4 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
You don't structure the HTML in any particular way. You have to tell Kindlegen to generate a periodical using a special flag in the OPF.
see this bug. I've attached a zip file that has an example book. The .ncx and the .opf are what you need to worry about. The ncx must follow the format: Code:
<navPoint class="periodical"> <navPoint class="section" id="1"> <navPoint class="article" id="1_1" playOrder="1"> ... |
05-08-2011, 04:41 PM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle 3
|
Thanks a lot, user_none!
This is exactly what I was looking for. Regards, -- Alex |
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feed content instead of articles in downloaded news | bubak | Recipes | 2 | 04-05-2011 06:38 PM |
Calibre News on Kindle DX TOC problem | wayamauro | Calibre | 11 | 10-08-2010 01:28 AM |
Kindle DX Calibre News TOC | wayamauro | Amazon Kindle | 0 | 10-07-2010 02:16 AM |
News Articles List in 0.7.20 | Ola | Calibre | 3 | 09-27-2010 07:38 AM |
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working | Magitek | LRF | 0 | 05-06-2009 01:25 PM |