diff --git a/recipes/el_mostrador.recipe b/recipes/el_mostrador.recipe new file mode 100644 index 0000000000..ab487f3c17 --- /dev/null +++ b/recipes/el_mostrador.recipe @@ -0,0 +1,40 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1313609361(BasicNewsRecipe): + news = True + title = u'El Mostrador' + __author__ = 'Alex Mitrani' + description = u'Chilean online newspaper' + publisher = u'La Plaza S.A.' + category = 'news, rss' + oldest_article = 7 + max_articles_per_feed = 100 + summary_length = 1000 + language = 'es_CL' + remove_javascript = True + no_stylesheets = True + use_embedded_content = False + remove_empty_feeds = True + masthead_url = 'http://www.elmostrador.cl/assets/img/logo-elmostrador-m.jpg' + remove_tags_before = dict(name='div', attrs={'class':'news-heading cf'}) + remove_tags_after = dict(name='div', attrs={'class':'footer-actions cf'}) + remove_tags = [dict(name='div', attrs={'class':'footer-actions cb cf'}) + ,dict(name='div', attrs={'class':'news-aside fl'}) + ,dict(name='div', attrs={'class':'footer-actions cf'}) + ,dict(name='div', attrs={'class':'user-bar','id':'top'}) + ,dict(name='div', attrs={'class':'indicators'}) + ,dict(name='div', attrs={'id':'header'}) + ] + + + feeds = [(u'Temas Destacados' + , u'http://www.elmostrador.cl/destacado/feed/') + , (u'El D\xeda', u'http://www.elmostrador.cl/dia/feed/') + , (u'Pa\xeds', u'http://www.elmostrador.cl/noticias/pais/feed/') + , (u'Mundo', u'http://www.elmostrador.cl/noticias/mundo/feed/') + , (u'Negocios', u'http://www.elmostrador.cl/noticias/negocios/feed/') + , (u'Cultura', u'http://www.elmostrador.cl/noticias/cultura/feed/') + , (u'Vida en L\xednea', u'http://www.elmostrador.cl/vida-en-linea/feed/') + , (u'Opini\xf3n & Blogs', u'http://www.elmostrador.cl/opinion/feed/') + ] + diff --git a/recipes/the_clinic_online.recipe b/recipes/the_clinic_online.recipe new file mode 100644 index 0000000000..e25a9f3124 --- /dev/null +++ b/recipes/the_clinic_online.recipe @@ -0,0 +1,27 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1313555075(BasicNewsRecipe): + news = True + title = u'The Clinic' + __author__ = 'Alex Mitrani' + description = u'Online version of Chilean satirical weekly' + publisher = u'The Clinic' + category = 'news, politics, Chile, rss' + oldest_article = 7 + max_articles_per_feed = 100 + summary_length = 1000 + language = 'es_CL' + + remove_javascript = True + no_stylesheets = True + use_embedded_content = False + remove_empty_feeds = True + masthead_url = 'http://www.theclinic.cl/wp-content/themes/tc12m/css/ui/mainLogoTC-top.png' + remove_tags_before = dict(name='article', attrs={'class':'scope bordered'}) + remove_tags_after = dict(name='div', attrs={'id':'commentsSection'}) + remove_tags = [dict(name='span', attrs={'class':'relTags'}) + ,dict(name='div', attrs={'class':'articleActivity hdcol'}) + ,dict(name='div', attrs={'id':'commentsSection'}) + ] + + feeds = [(u'The Clinic Online', u'http://www.theclinic.cl/feed/')]