diff --git a/src/calibre/web/feeds/recipes/__init__.py b/src/calibre/web/feeds/recipes/__init__.py index d9ecce0e72..362bfeeafc 100644 --- a/src/calibre/web/feeds/recipes/__init__.py +++ b/src/calibre/web/feeds/recipes/__init__.py @@ -21,7 +21,7 @@ recipe_modules = ['recipe_' + r for r in ( 'linux_magazine', 'telegraph_uk', 'utne', 'sciencedaily', 'forbes', 'time_magazine', 'endgadget', 'fudzilla', 'nspm_int', 'nspm', 'pescanik', 'spiegel_int', 'themarketticker', 'tomshardware', 'xkcd', 'ftd', 'zdnet', - 'joelonsoftware', 'telepolis', + 'joelonsoftware', 'telepolis', 'common_dreams', )] import re, imp, inspect, time, os diff --git a/src/calibre/web/feeds/recipes/recipe_common_dreams.py b/src/calibre/web/feeds/recipes/recipe_common_dreams.py new file mode 100644 index 0000000000..18a4233d69 --- /dev/null +++ b/src/calibre/web/feeds/recipes/recipe_common_dreams.py @@ -0,0 +1,16 @@ + +from calibre.web.feeds.news import BasicNewsRecipe + +class CommonDreams(BasicNewsRecipe): + title = u'Common Dreams' + description = u'Progressive news and views' + __author__ = u'XanthanGum' + oldest_article = 7 + max_articles_per_feed = 100 + + feeds = [ + (u'Common Dreams Headlines', + u'http://www.commondreams.org/feed/headlines_rss'), + (u'Common Dreams Views', u'http://www.commondreams.org/feed/views_rss'), + (u'Common Dreams Newswire', u'http://www.commondreams.org/feed/newswire_rss') + ]