__license__ = 'GPL v3' __copyright__ = '2011, Tomas Latal' from calibre.web.feeds.news import BasicNewsRecipe class NovinkyCZ(BasicNewsRecipe): title = 'Novinky' __author__ = 'Tomas Latal' __version__ = '1.1' __date__ = '30 April 2011' description = 'News from server Novinky.cz' oldest_article = 1 max_articles_per_feed = 10 encoding = 'utf8' publisher = 'Novinky' category = 'news, CZ' language = 'cs' publication_type = 'newsportal' no_stylesheets = True remove_javascript = True cover_url = 'http://img193.imageshack.us/img193/3039/novinkycover.jpg' extra_css = 'p.acmDescription{font-style:italic;} p.acmAuthor{font-size:0.8em; color:#707070}' feeds = [ ('Dom\xe1c\xed', 'http://www.novinky.cz/rss/domaci/'), ('Zahrani\u010d\xed', 'http://www.novinky.cz/rss/zahranicni/'), ('Krimi', 'http://www.novinky.cz/rss/krimi/'), ('Ekonomika', 'http://www.novinky.cz/rss/ekonomika/'), ('Finance', 'http://www.novinky.cz/rss/finance/'), ('Kultura', 'http://www.novinky.cz/rss/kultura/'), ('Koktejl', 'http://www.novinky.cz/rss/koktejl/'), ('Internet a PC', 'http://www.novinky.cz/rss/internet-a-pc/'), ('Auto-moto', 'http://www.novinky.cz/rss/auto/'), ] remove_tags_before = dict(id='articleContent') remove_tags_after = [dict(id='movedArticleAuthors')] remove_tags = [dict(name='div', attrs={'id': ['articleColumnInfo', 'pictureInnerBox']}), dict(name='p', attrs={'id': ['articleDate']})]