Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2011, 03:20 PM   #1
alexvf
Junior Member
alexvf began at the beginning.
 
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
alexvf is offline   Reply With Quote
Old 05-08-2011, 03:53 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,428
Karma: 950001
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.
user_none is offline   Reply With Quote
Old 05-08-2011, 04:29 PM   #3
alexvf
Junior Member
alexvf began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle 3
Hi user_none,

Quote:
Originally Posted by user_none
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.
What I was asking for is help with the structure that you mention.

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
alexvf is offline   Reply With Quote
Old 05-08-2011, 04:33 PM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,428
Karma: 950001
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">
...
user_none is offline   Reply With Quote
Old 05-08-2011, 04:41 PM   #5
alexvf
Junior Member
alexvf began at the beginning.
 
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
alexvf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 05:10 PM.


MobileRead.com is a privately owned, operated and funded community.