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

  1. #!/usr/bin/env  python
  2.  
  3. __license__   = 'GPL v3'
  4. __copyright__ = '2010, Tomasz Dlugosz <tomek3d@gmail.com>'
  5. '''
  6. michalkiewicz.pl
  7. '''
  8.  
  9. from calibre.web.feeds.news import BasicNewsRecipe
  10.  
  11.  
  12. class michalkiewicz(BasicNewsRecipe):
  13.     title          = u'Stanis\u0142aw Michalkiewicz'
  14.     description    = u'Strona autorska * felietony * artyku\u0142y * komentarze'
  15.     __author__     = u'Tomasz D\u0142ugosz'
  16.     language       = 'pl'
  17.     oldest_article = 7
  18.     max_articles_per_feed = 100
  19.     no_stylesheets = True
  20.  
  21.     keep_only_tags = [dict(name='div', attrs={'class':'modul_srodek'})]
  22.     remove_tags = [dict(name='ul', attrs={'class':'menu'})]
  23.  
  24.     feeds          = [(u'Teksty', u'http://www.michalkiewicz.pl/rss.xml')]
  25.  
  26.