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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1301849956(BasicNewsRecipe):
  4.     title          = u'Developpez.com'
  5.     description = u'Toutes les news du site Developpez.com'
  6.     publisher = u'Developpez.com'
  7.     timefmt = ' [%a, %d %b, %Y]'
  8.     oldest_article = 7
  9.     max_articles_per_feed = 100
  10.     no_stylesheets = True
  11.     encoding = 'ISO-8859-1'
  12.     language = 'fr'
  13.     __author__ = 'louhike'
  14.     remove_javascript = True
  15.     keep_only_tags = [dict(name='div', attrs={'class':'content'})]
  16.  
  17.     feeds = [(u'Tous les articles', u'http://www.developpez.com/index/rss')]
  18.  
  19.     def get_cover_url(self):
  20.         return 'http://javascript.developpez.com/template/images/logo.gif'
  21.  
  22.