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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1286819935(BasicNewsRecipe):
  4.     title = u'Novaya Gazeta'
  5.     __author__ = 'muwa'
  6.     oldest_article = 7
  7.     max_articles_per_feed = 100
  8.     no_stylesheets = True
  9.     conversion_options = {'linearize_tables' : True}
  10.     remove_attributes = ['style']
  11.     language = 'ru'
  12.  
  13.     feeds = [(u'Articles', u'http://www.novayagazeta.ru/rss_number.xml')]
  14.  
  15.  
  16.     def print_version(self, url):
  17.         return url + '?print=true'
  18.  
  19.