From fac62c11666c33375050242b9ac366467b686314 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 22 Feb 2010 09:20:28 -0700 Subject: [PATCH] Improved Heise --- resources/recipes/heise.recipe | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/resources/recipes/heise.recipe b/resources/recipes/heise.recipe index 4c208792aa..bff7179074 100644 --- a/resources/recipes/heise.recipe +++ b/resources/recipes/heise.recipe @@ -9,17 +9,15 @@ from calibre.web.feeds.news import BasicNewsRecipe class heiseDe(BasicNewsRecipe): - + title = 'heise' description = 'Computernews from Germany' __author__ = 'Oliver Niesner' - language = 'de' - use_embedded_content = False timefmt = ' [%d %b %Y]' max_articles_per_feed = 40 no_stylesheets = True - + remove_tags = [dict(id='navi_top'), dict(id='navi_bottom'), dict(id='logo'), @@ -35,12 +33,10 @@ class heiseDe(BasicNewsRecipe): dict(name='div', attrs={'class':'bcadv ISI_IGNORE'}), dict(name='p', attrs={'class':'news_option'}), dict(name='p', attrs={'class':'news_navi'}), - dict(name='p', attrs={'class':'news_foren'})] - remove_tags_after = [dict(name='p', attrs={'class':'news_foren'})] - - feeds = [ ('heise', 'http://www.heise.de/newsticker/heise.rdf') ] - - - + dict(name='div', attrs={'class':'news_foren'})] + remove_tags_after = [dict(name='div', attrs={'class':'news_foren'})] + + feeds = [ ('heise', 'http://www.heise.de/newsticker/heise.rdf') ] +