mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Recipe for Common Dreams by XanthanGum
This commit is contained in:
parent
62344a216a
commit
0fc8aa3f4a
@ -21,7 +21,7 @@ recipe_modules = ['recipe_' + r for r in (
|
|||||||
'linux_magazine', 'telegraph_uk', 'utne', 'sciencedaily', 'forbes',
|
'linux_magazine', 'telegraph_uk', 'utne', 'sciencedaily', 'forbes',
|
||||||
'time_magazine', 'endgadget', 'fudzilla', 'nspm_int', 'nspm', 'pescanik',
|
'time_magazine', 'endgadget', 'fudzilla', 'nspm_int', 'nspm', 'pescanik',
|
||||||
'spiegel_int', 'themarketticker', 'tomshardware', 'xkcd', 'ftd', 'zdnet',
|
'spiegel_int', 'themarketticker', 'tomshardware', 'xkcd', 'ftd', 'zdnet',
|
||||||
'joelonsoftware', 'telepolis',
|
'joelonsoftware', 'telepolis', 'common_dreams',
|
||||||
)]
|
)]
|
||||||
|
|
||||||
import re, imp, inspect, time, os
|
import re, imp, inspect, time, os
|
||||||
|
16
src/calibre/web/feeds/recipes/recipe_common_dreams.py
Normal file
16
src/calibre/web/feeds/recipes/recipe_common_dreams.py
Normal file
@ -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')
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user