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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1301860159(BasicNewsRecipe):
  4.     title          = u'F-Secure Weblog'
  5.     language = 'en'
  6.     __author__ = 'louhike'
  7.     description = u'All the news from the weblog of F-Secure'
  8.     publisher = u'F-Secure'
  9.     timefmt = ' [%a, %d %b, %Y]'
  10.     encoding = 'ISO-8859-1'
  11.     oldest_article = 7
  12.     max_articles_per_feed = 100
  13.     no_stylesheets = True
  14.     use_embedded_content   = False
  15.     remove_javascript = True
  16.     keep_only_tags = [dict(name='div', attrs={'class':'modSectionTd2'})]
  17.     remove_tags = [dict(name='a'),dict(name='hr')]
  18.  
  19.     feeds          = [(u'Weblog', u'http://www.f-secure.com/weblog/weblog.rss')]
  20.     def get_cover_url(self):
  21.         return 'http://www.f-secure.com/weblog/archives/images/company_logo.png'
  22.