From b24480e74921878473d4a3574edcb4730be9d6a1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 7 Feb 2012 11:52:31 +0530 Subject: [PATCH] Onda Rock by faber1971 --- recipes/onda_rock.recipe | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/onda_rock.recipe diff --git a/recipes/onda_rock.recipe b/recipes/onda_rock.recipe new file mode 100644 index 0000000000..72e93088f2 --- /dev/null +++ b/recipes/onda_rock.recipe @@ -0,0 +1,21 @@ +__license__ = 'GPL v3' +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1328535130(BasicNewsRecipe): + title = u'Onda Rock' + __author__ = 'faber1971' + description = 'Italian rock webzine' + language = 'it' + + + oldest_article = 7 + max_articles_per_feed = 100 + auto_cleanup = False + remove_tags = [ + dict(name='div', attrs={'id':['boxHeader','boxlinks_med','footer','boxinterviste','box_special_med','boxdiscografia_head','path']}), + dict(name='div', attrs={'align':'left'}), + dict(name='div', attrs={'style':'text-align: center'}), + ] + no_stylesheets = True + feeds = [(u'Onda Rock', u'http://www.ondarock.it/feed.php')] + masthead_url = 'http://profile.ak.fbcdn.net/hprofile-ak-snc4/71135_45820579767_4993043_n.jpg'