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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class Aftenposten(BasicNewsRecipe):
  4.      title          = u'Aftenposten'
  5.      __author__     = 'davotibarna'
  6.      description    = 'Norske nyheter'
  7.      language = 'no'
  8.      oldest_article = 5
  9.      max_articles_per_feed = 100
  10.      recipe_disabled = ('The recipe to download Aftenposten has been '
  11.              'temporarily disabled at the publisher\'s request, while '
  12.              'they finalize their digital strategy.')
  13.      no_stylesheets = True
  14.      encoding = 'ISO-8859-1'
  15.  
  16.      feeds          = [(u'Aftenposten', u'http://www.aftenposten.no/eksport/rss-1_0/')]
  17.  
  18.      def print_version(self, url):
  19.          return url.replace('#xtor=RSS-3', '?service=print')
  20.  
  21.