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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class SGhu(BasicNewsRecipe):
  4.     title          = u'SG.hu'
  5.     __author__     = 'davotibarna'
  6.     description    = u'Informatika \xe9s Tudom\xe1ny'
  7.     language = 'hu'
  8.     oldest_article = 5
  9.     max_articles_per_feed = 100
  10.     no_stylesheets = True
  11.     encoding = 'ISO-8859-2'
  12.  
  13.     feeds          = [(u'SG.hu', u'http://www.sg.hu/plain/rss.xml')]
  14.  
  15.     def print_version(self, url):
  16.         return url.replace('cikkek/', 'printer.php?cid=')
  17.