View Single Post
Old 03-13-2013, 06:21 PM   #5
frisket
Member
frisket began at the beginning.
 
Posts: 14
Karma: 10
Join Date: May 2011
Device: Kindle
Where is the recipe?

Quote:
Originally Posted by oneillpt View Post
The following are the essential changes to get content extracted again:
The only place I can find the recipe is in /opt/calibre/resources/builtin_recipes.zip

Is that really where it's kept? Or should there be a disk file for irish_times?
Quote:
Originally Posted by oneillpt View Post
Code:
encoding  = 'UTF-8'
instead of
Code:
encoding  = 'ISO-8859-15'
Code:
keep_only_tags  = dict(name='article', attrs={'class':'article row'})
instead of any existing keep_only_tags
I didn't find any keep_only_tags.

Quote:
Originally Posted by oneillpt View Post
Code:
remove_tags    = [dict(name='div', attrs={'class':'topics_holder'}),
                  dict(name='div', attrs={'class':'social_article_share'})]
instead of any existing remove_tags.
That was too easy :-)

Thanks for the pointers!
frisket is offline   Reply With Quote