| 1 |
__license__ = 'GPL v3' |
| 2 |
__author__ = 'faber1971' |
| 3 |
description = 'Italian rock webzine - v1.01 (6, July 2012)' |
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class AdvancedUserRecipe1328535130(BasicNewsRecipe): |
| 8 |
title = 'Onda Rock' |
| 9 |
__author__ = 'faber1971' |
| 10 |
description = 'Italian rock webzine' |
| 11 |
language = 'it' |
| 12 |
oldest_article = 15 |
| 13 |
max_articles_per_feed = 100 |
| 14 |
auto_cleanup = False |
| 15 |
remove_tags = [ |
| 16 |
dict( |
| 17 |
name='div', |
| 18 |
attrs={ |
| 19 |
'id': [ |
| 20 |
'boxHeader', |
| 21 |
'boxlinks_med', |
| 22 |
'footer', |
| 23 |
'boxinterviste', |
| 24 |
'box_special_med', |
| 25 |
'boxdiscografia_head', |
| 26 |
'path', |
| 27 |
'widget', |
| 28 |
'menuarea', |
| 29 |
'headerarea', |
| 30 |
] |
| 31 |
}, |
| 32 |
), |
| 33 |
dict(name='div', attrs={'align': 'left'}), |
| 34 |
dict(name='div', attrs={'class': ['media', 'boxarticoli']}), |
| 35 |
dict(name='div', attrs={'style': 'text-align: center'}), |
| 36 |
dict(name='table', attrs={'cellpadding': '0'}), |
| 37 |
dict(name='span', attrs={'class': 'liketext'}), |
| 38 |
] |
| 39 |
no_stylesheets = True |
| 40 |
feeds = [('Onda Rock', 'http://www.ondarock.it/feed.php')] |
| 41 |
masthead_url = ( |
| 42 |
'http://api.ning.com/files/4ot8ampp*-rYQuwL2NoaHvVqcyu7VMyWyan12a9QMsJUWxk-q5V1-34wnD-Wj9B5qWjc1yPMLGiwQg8hZJxaySeaG2lx8hpV/2009_banner_ondarock.gif' # noqa: E501 |
| 43 |
) |
| 44 |
|
| 45 |
extra_css = ''' |
| 46 |
.boxtabscontain_page { |
| 47 |
border: 1px solid #E0E0E0;clear: both; |
| 48 |
font-family: "Verdana", "Arial", "Helvetica", sans-serif; |
| 49 |
font-size: 10px; |
| 50 |
line-height: 17px; |
| 51 |
margin: 0px 0px 20px; |
| 52 |
padding: 10px 10px 10px 40px; |
| 53 |
position: relative; |
| 54 |
top: -1px; |
| 55 |
width: 258px; |
| 56 |
z-index: 1; |
| 57 |
} |
| 58 |
''' |