mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 12:24:49 +02:00
Peter Schiff's Economic Commentary by Darko Miletic
This commit is contained in:
parent
c255a8e991
commit
8c5fbf475f
1 changed files with 36 additions and 0 deletions
36
resources/recipes/peterschiff.recipe
Normal file
36
resources/recipes/peterschiff.recipe
Normal 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')]
|
||||
Loading…
Reference in a new issue