home *** CD-ROM | disk | FTP | other *** search
Wrap
__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') ]