From 8227581a2c92269e704b0891db0d6eef2feac01c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 18 May 2012 23:47:31 +0530 Subject: [PATCH] National Geographic (es) by vakya --- recipes/national_geographic_es.recipe | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes/national_geographic_es.recipe diff --git a/recipes/national_geographic_es.recipe b/recipes/national_geographic_es.recipe new file mode 100644 index 0000000000..95c0cd3468 --- /dev/null +++ b/recipes/national_geographic_es.recipe @@ -0,0 +1,21 @@ +__license__ = 'GPL v3' +__author__ = 'Vakya' +__version__ = 'v1.0' +__date__ = '14, May 2012' + +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1336226255(BasicNewsRecipe): + + title = u'National Geographic' + publisher = u'National Geographic' + __author__ = 'Vakya' + description = 'Revista National Geographic - Ăšltimas noticias' + language = 'es' + + oldest_article = 15 + max_articles_per_feed = 100 + auto_cleanup = True + remove_tags_before = dict(name='p' , attrs={'class':['image']}) + remove_tags_after = dict(name='hr') + feeds = [(u'Vida salvage', u'http://www.nationalgeographic.com.es/feeds/rss.html')]