View Single Post
Old 09-24-2011, 09:45 AM   #1
clanger9
Member
clanger9 doesn't litterclanger9 doesn't litter
 
Posts: 11
Karma: 138
Join Date: Nov 2010
Device: Kindle 3
Kurier recipe update

Some recent social media additions to the Kurier website mean that the calibre recipe should be updated.

I emailed the contact in the recipe file, but the gmail account no longer exists.

Suggested patch, below.

Code:
*** kurier.recipe       Tue Sep 20 21:33:50 2011
--- /Users/paul/Desktop/kurier.recipe.orig      Sat Sep 24 14:07:49 2011
***************
*** 29,35 ****
                         , 'language'  : language
                         }

!     remove_tags =
[dict(attrs={'class':['functionsleiste','functions','social_positionierung','contenttabs','drucken','versenden','leserbrief','kommentieren','addthis_button']})]
     keep_only_tags    = [dict(attrs={'id':'content'})]
     remove_tags_after = dict(attrs={'id':'author'})
     remove_attributes = ['width','height']
--- 29,35 ----
                         , 'language'  : language
                         }

!     remove_tags =
[dict(attrs={'class':['contenttabs','drucken','versenden','leserbrief','kommentieren','addthis_button']})]
     keep_only_tags    = [dict(attrs={'id':'content'})]
     remove_tags_after = dict(attrs={'id':'author'})
     remove_attributes = ['width','height']
clanger9 is offline   Reply With Quote