home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Calibre / calibre-0.8.18.msi / file_280 / carta_capital.recipe < prev    next >
Text File  |  2011-09-09  |  1KB  |  24 lines

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1312361378(BasicNewsRecipe):
  4.     title          = u'Carta capital'
  5.     __author__ = 'Pablo Aldama'
  6.     language = 'pt_BR'
  7.     oldest_article = 9
  8.     max_articles_per_feed = 100
  9.  
  10.     feeds          = [(u'Politica', u'http://www.cartacapital.com.br/category/politica/feed')
  11.                       ,(u'Economia', u'http://www.cartacapital.com.br/category/economia/feed')
  12.                       ,(u'Cultura', u'http://www.cartacapital.com.br/category/cultura/feed')
  13.                       ,(u'Internacional', u'http://www.cartacapital.com.br/category/internacional/feed')
  14.                       ,(u'Saude', u'http://www.cartacapital.com.br/category/saude/feed')
  15.                       ,(u'Sociedade', u'http://www.cartacapital.com.br/category/sociedade/feed')
  16.                       ,(u'Tecnologia', u'http://www.cartacapital.com.br/category/tecnologia/feed')
  17.                       ,(u'Carta na escola', u'http://www.cartacapital.com.br/category/carta-na-escola/feed')
  18.                       ,(u'Carta fundamental', u'http://www.cartacapital.com.br/category/carta-fundamental/feed')
  19.                       ,(u'Carta verde', u'http://www.cartacapital.com.br/category/carta-verde/feed')
  20.  
  21. ]
  22.     def print_version(self, url):
  23.         return url + '/print'
  24.