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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class Ubuntu_pl(BasicNewsRecipe):
  4.     title          = u'UBUNTU.pl'
  5.     __author__        = 'fenuks'
  6.     description   = 'UBUNTU.pl - polish ubuntu community site'
  7.     cover_url      = 'http://ubuntu.pl/img/logo.jpg'
  8.     category       = 'linux, IT'
  9.     language       = 'pl'
  10.     no_stylesheets = True
  11.     oldest_article = 8
  12.     max_articles_per_feed = 100
  13.     extra_css      = '#main {text-align:left;}'
  14.     keep_only_tags= [dict(name='td', attrs={'class':'teaser-node-mc'}), dict(name='h3', attrs={'class':'entry-title'}), dict(name='div', attrs={'class':'entry-content'})]
  15.     remove_tags_after= [dict(name='div' , attrs={'class':'content'})]
  16.     feeds          = [('Czytelnia Ubuntu', 'http://feeds.feedburner.com/ubuntu-czytelnia'), (u'WikiGames', u'http://feeds.feedburner.com/WikiGames')]
  17.