mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
New recipe for The National Review Online by Walt Anthony
This commit is contained in:
parent
4d7a1cbf7c
commit
74a4e630fc
BIN
resources/images/news/nationalreviewonline.png
Normal file
BIN
resources/images/news/nationalreviewonline.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 815 B |
50
resources/recipes/nationalreviewonline.recipe
Normal file
50
resources/recipes/nationalreviewonline.recipe
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
__license__ = 'GPL v3'
|
||||||
|
__copyright__ = '2010, Walt Anthony <workshop.northpole at gmail.com>'
|
||||||
|
'''
|
||||||
|
www.nationalreview.com
|
||||||
|
'''
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class NRO(BasicNewsRecipe):
|
||||||
|
title = u'National Review Online'
|
||||||
|
__author__ = 'Walt Anthony'
|
||||||
|
description = "National Review is America's most widely read and influential magazine and web site for Republican/conservative news, commentary, and opinion."
|
||||||
|
publisher = 'National Review, Inc.'
|
||||||
|
category = 'news, politics, USA'
|
||||||
|
oldest_article = 3
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
summary_length = 150
|
||||||
|
language = 'en'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
use_embedded_content = True
|
||||||
|
remove_javascript = True
|
||||||
|
|
||||||
|
|
||||||
|
conversion_options = {
|
||||||
|
'comment' : description
|
||||||
|
, 'tags' : category
|
||||||
|
, 'publisher' : publisher
|
||||||
|
, 'language' : language
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_tags = [
|
||||||
|
dict(name=['embed','object','iframe']),
|
||||||
|
|
||||||
|
]
|
||||||
|
|
||||||
|
feeds = [
|
||||||
|
|
||||||
|
(u'National Review', u'http://www.nationalreview.com/index.xml'),
|
||||||
|
(u'The Corner', u'http://corner.nationalreview.com/corner.xml'),
|
||||||
|
(u'The Agenda', u'http://agenda.nationalreview.com/agenda.xml'),
|
||||||
|
(u'Bench Memos', u'http://bench.nationalreview.com/bench.xml'),
|
||||||
|
(u'Campaign Spot', u'http://campaignspot.nationalreview.com/campaignspot.xml'),
|
||||||
|
(u'Critical Care', u'http://healthcare.nationalreview.com/healthcare.xml'),
|
||||||
|
(u'Doctor, Doctor', u'http://www.nationalreview.com/doctor/doctor.xml'),
|
||||||
|
(u"Kudlow's Money Politic$", u'http://kudlow.nationalreview.com/kudlow.xml'),
|
||||||
|
(u'Media Blog', u'http://media.nationalreview.com/media.xml'),
|
||||||
|
(u'Phi Beta Cons', u'http://phibetacons.nationalreview.com/phibetacons.xml'),
|
||||||
|
(u'Planet Gore', u'http://planetgore.nationalreview.com/planetgore.xml')
|
||||||
|
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user