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

  1.  
  2. from calibre.web.feeds.news import BasicNewsRecipe
  3.  
  4. class AdvancedUserRecipe1293122276(BasicNewsRecipe):
  5.     title          = u'Smarter Planet | Tumblr'
  6.     __author__ = 'Jack Mason'
  7.     author  = 'IBM Global Business Services'
  8.     publisher             = 'IBM'
  9.     language = 'en'
  10.     category              = 'news, technology, IT, internet of things, analytics'
  11.     oldest_article = 14
  12.     max_articles_per_feed = 30
  13.     no_stylesheets = True
  14.     use_embedded_content = False
  15.     masthead_url          = 'http://www.hellercd.com/wp-content/uploads/2010/09/hero.jpg'
  16.     remove_tags_before = dict(id='item')
  17.     remove_tags_after  = dict(id='item')
  18.     remove_tags = [dict(attrs={'class':['sidebar', 'about', 'footer', 'description,' 'disqus', 'nav', 'notes', 'disqus_thread']}),
  19.                 dict(id=['sidebar', 'footer', 'disqus', 'nav', 'notes', 'likes_container', 'description', 'disqus_thread', 'about']),
  20.                 dict(name=['script', 'noscript', 'style'])]
  21.  
  22.  
  23.  
  24.     feeds          = [(u'Smarter Planet Tumblr', u'http://smarterplanet.tumblr.com/mobile/rss')]
  25.