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

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
  3.  
  4. '''
  5. Fetch fluter.de
  6. '''
  7.  
  8. from calibre.web.feeds.news import BasicNewsRecipe
  9.  
  10. class AdvancedUserRecipe1313693926(BasicNewsRecipe):
  11.  
  12.     title = u'Fluter'
  13.     description = 'fluter.de Magazin der Bundeszentrale f├╝r politische Bildung/bpb'
  14.     language = 'de'
  15.     encoding = 'UTF-8'
  16.  
  17.     __author__ = 'Armin Geller' # 2011-08-19
  18.  
  19.     oldest_article = 7
  20.     max_articles_per_feed = 50
  21.  
  22.  
  23.     remove_tags = [
  24.                         dict(name='div', attrs={'id':["comments"]}),
  25.                         dict(attrs={'class':['commentlink']}),
  26.                     ]
  27.  
  28.  
  29.     keep_only_tags = [
  30.                         dict(name='div', attrs={'class':["grid_8 articleText"]}),
  31.                         dict(name='div', attrs={'class':["articleTextInnerText"]}),
  32.                       ]
  33.  
  34.     feeds =  [
  35.                (u'Inhalt:', u'http://www.fluter.de/de/?tpl=907'),
  36.               ]
  37.  
  38.     extra_css = '.cs_img {margin-right: 10pt;}'
  39.  
  40.