Peter Schiff's Economic Commentary by Darko Miletic

This commit is contained in:
Kovid Goyal 2010-03-12 17:59:31 -07:00
parent c255a8e991
commit 8c5fbf475f

View File

@ -0,0 +1,36 @@
__license__ = 'GPL v3'
__copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
'''
www.europac.net
'''
from calibre.web.feeds.news import BasicNewsRecipe
class PeterSchiff(BasicNewsRecipe):
title = "Peter Schiff's Economic Commentary"
__author__ = 'Darko Miletic'
description = 'Economic commentary'
publisher = 'Euro Pacific capital'
category = 'news, politics, economy, USA'
oldest_article = 15
max_articles_per_feed = 200
no_stylesheets = True
encoding = 'cp1252'
use_embedded_content = False
language = 'en'
country = 'US'
remove_empty_feeds = True
extra_css = ' body{font-family: Verdana,Times,serif } h1{text-align: left} img{margin-bottom: 0.4em} '
conversion_options = {
'comment' : description
, 'tags' : category
, 'publisher' : publisher
, 'language' : language
, 'linearize_tables' : True
}
keep_only_tags = [dict(name='tr',attrs={'style':'vertical-align: top;'})]
feeds = [(u'Articles', u'http://feeds.feedburner.com/PeterSchiffsEconomicCommentary')]