diff --git a/resources/recipes/siol.recipe b/resources/recipes/siol.recipe index 2680c1f1e9..1dd9c4bb55 100644 --- a/resources/recipes/siol.recipe +++ b/resources/recipes/siol.recipe @@ -5,18 +5,17 @@ __copyright__ = '2010, BlonG' www.siol.si ''' from calibre.web.feeds.news import BasicNewsRecipe - class Siol(BasicNewsRecipe): title = u'Siol.net' __author__ = u'BlonG' description = "Multimedijski portal z aktualnimi vsebinami, intervjuji, komentarji iz Slovenije in sveta, sportal, trendi, avtomoto, blogos" oldest_article = 3 + language = 'sl' max_articles_per_feed = 20 no_stylesheets = True use_embedded_content = False - language = 'sl' - cover_url = 'http://farm4.static.flickr.com/3540/3401820496_c771550fe6.jpg' + cover_url = 'https://sites.google.com/site/javno2010/home/siol_cover.jpg' extra_css = ''' h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;} @@ -25,6 +24,8 @@ class Siol(BasicNewsRecipe): body{font-family:Helvetica,Arial,sans-serif;font-size:small;} ''' + html2lrf_options = ['--base-font-size', '10'] + keep_only_tags = [ dict(name='div', attrs={'id':'idContent'}), ] @@ -52,4 +53,3 @@ class Siol(BasicNewsRecipe): ,(u'Tehnologija', u'http://www.siol.net/rss.aspx?path=Tehnologija') ,(u'TV / Film', u'http://www.siol.net/rss.aspx?path=TV') ] -