From 800981cb5857ab1098b77ccd05bff9bd40e3fb68 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Jan 2010 09:54:44 -0700 Subject: [PATCH] New recipe for Open Left by XanthanGum --- resources/recipes/open_left.recipe | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 resources/recipes/open_left.recipe diff --git a/resources/recipes/open_left.recipe b/resources/recipes/open_left.recipe new file mode 100644 index 0000000000..148bb07f13 --- /dev/null +++ b/resources/recipes/open_left.recipe @@ -0,0 +1,22 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class OpenLeft(BasicNewsRecipe): + # Information about the recipe + + title = 'Open Left' + description = 'Progressive American commentary on current events' + category = 'news, commentary' + language = 'en' + __author__ = 'Xanthan Gum' + + # Fetch no article older than seven days + + oldest_article = 7 + + # Fetch no more than 100 articles + + max_articles_per_feed = 100 + + # Fetch the articles from the RSS feed + + feeds = [(u'Articles', u'http://www.openleft.com/rss/rss2.xml')]