diff --git a/recipes/carta_capital.recipe b/recipes/carta_capital.recipe new file mode 100644 index 0000000000..8bd21046b1 --- /dev/null +++ b/recipes/carta_capital.recipe @@ -0,0 +1,23 @@ +from calibre.web.feeds.news import BasicNewsRecipe + +class AdvancedUserRecipe1312361378(BasicNewsRecipe): + title = u'Carta capital' + __author__ = 'Pablo Aldama' + language = 'pt_BR' + oldest_article = 9 + max_articles_per_feed = 100 + + feeds = [(u'Politica', u'http://www.cartacapital.com.br/category/politica/feed') + ,(u'Economia', u'http://www.cartacapital.com.br/category/economia/feed') + ,(u'Cultura', u'http://www.cartacapital.com.br/category/cultura/feed') + ,(u'Internacional', u'http://www.cartacapital.com.br/category/internacional/feed') + ,(u'Saude', u'http://www.cartacapital.com.br/category/saude/feed') + ,(u'Sociedade', u'http://www.cartacapital.com.br/category/sociedade/feed') + ,(u'Tecnologia', u'http://www.cartacapital.com.br/category/tecnologia/feed') + ,(u'Carta na escola', u'http://www.cartacapital.com.br/category/carta-na-escola/feed') + ,(u'Carta fundamental', u'http://www.cartacapital.com.br/category/carta-fundamental/feed') + ,(u'Carta verde', u'http://www.cartacapital.com.br/category/carta-verde/feed') + +] + def print_version(self, url): + return url + '/print'