View Single Post
Old 11-02-2011, 08:58 AM   #1
mattst
Enthusiast
mattst began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Nov 2011
Device: Kindle
Code which creates recipe feed xhtml?

The way Calibre formats the code for the display of .mobi pages from recipe feeds is excellent. In particular the navigation method is superb, the 'Sections and Articles' page with the feeds list on the left and article list on the right is outstanding design. So to is the way (on my Kindle) pressing the next or previous page buttons scrolls the articles list of the currently selected feed, leaving the feed list in place. When viewing any article page the permanency of the 'View Sections & Articles' link at the bottom is also excellent design. I also very much like the professional looking solid black underline bar which denotes the currently selected link, instead of the more usual hand pointer icon.

I am currently formatting some mobi books from a collection of wikipedia pages (and a few others). I would like to use a similar interface. I have been looking through the Calibre source code to find the xhtml (or such like) which Calibre uses as a template to format the feeds from recipes, but have been unable to find it.

Can someone point me to the right file(s) in the Calibre source code please?

Also if anyone has the xhtml and other files used to create a recipe feed mobi file as an example then I would appreciate it a lot.

Many, many thanks. Best wishes, etc.
mattst is offline   Reply With Quote