From 7ed11edf44e1c63cfc5d9cdc3c17e60eddc9de4f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 30 Nov 2009 11:01:19 -0700 Subject: [PATCH] New recipe for Gulli by posativ --- Changelog.yaml | 3 +++ resources/recipes/gulli.recipe | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 resources/recipes/gulli.recipe diff --git a/Changelog.yaml b/Changelog.yaml index f4a7172de0..1e828dcfc1 100644 --- a/Changelog.yaml +++ b/Changelog.yaml @@ -62,6 +62,9 @@ - title: ncrnext author: kwetal + - title: Gulli + author: posativ + improved recipes: - The Philadelphia Inquirer - Harpers diff --git a/resources/recipes/gulli.recipe b/resources/recipes/gulli.recipe new file mode 100644 index 0000000000..e695aa02ef --- /dev/null +++ b/resources/recipes/gulli.recipe @@ -0,0 +1,16 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1259599587(BasicNewsRecipe): + title = u'Gulli' + description = 'News from Germany' + language = 'de' + __author__ = 'posativ' + oldest_article = 7 + max_articles_per_feed = 100 + no_stylesheets = True + + feeds = [(u'gulli:news', u'http://ticker.gulli.com/rss/')] + + remove_tags = [{'class' : ['addthis_button', 'BreadCrumb']}, {'id' : ['plista0']}] + + keep_only_tags = [dict(name='div', attrs={'class':'inside'})]