View Single Post
Old 11-13-2009, 07:32 AM   #4
donald1
Enthusiast
donald1 began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Nov 2009
Device: Sony PRS-600
Talking recipe converting online documentation

Quote:
Originally Posted by tjlytle View Post
I'd like to convert the documentation I read online into ebook format. For example:

Zend Framework Reference
Doctrine Project

I've had moderate success grabbing documentation from the Zend source code (simpler HTML than the public site), and running that through Calibre as single book (from a directory of files). However, for documentation that isn't available in a 'plain' HTML format, I'm not quite sure what to do.

It seems that I might be able to treat it as a new source, and write a recipe that parses an 'index' page for all the 'chapters' and then strips all but the actual content from the individual pages.

Has anyone done this kind of recipe? Am I on the right track?

Also, is there any way to get a recipe to generate a multi-level TOC (main TOC links to individual section TOCs)?
Did you write a recipe to convert online documentation ?
I could use this, it would be very helpfull.

Thanks for your reply in advance
donald1 is offline   Reply With Quote