View Single Post
Old 12-13-2009, 02:07 PM   #955
evanmaastrigt
Connoisseur
evanmaastrigt doesn't litterevanmaastrigt doesn't litter
 
Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
Quote:
Originally Posted by ckole View Post
I got that to work, sort of, it does remove the background but of course all the navigation elements and other content not related to the actual story still loads. Is there a way to tell Calibre to look for specific tags or class calls and have it remove/parse the content?
Yes there is, and it is nicely documented too. Have a look at http://calibre-ebook.com/user_manual/news.html and then specifically the section "Slicing and Dicing".
[EDIT]Another usefull read is he API documentation http://calibre-ebook.com/user_manual/news_recipe.html[/EDIT]

To determine which elements to keep or to throw out I use Google's Chrome browser, but FireFox with the Firebug extension works just as well (but much slower)

Last edited by evanmaastrigt; 12-13-2009 at 02:13 PM.
evanmaastrigt is offline