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

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2011, Darko Miletic <darko.miletic at gmail.com>'
  3. '''
  4. www.zerohedge.com
  5. '''
  6.  
  7. from calibre.web.feeds.recipes import BasicNewsRecipe
  8.  
  9. class ZeroHedge(BasicNewsRecipe):
  10.     title                  = 'Zero Hedge'
  11.     __author__             = 'Darko Miletic'
  12.     description            = 'On a long enough timeline the survival rate for everyone drops to zero'
  13.     oldest_article         = 10
  14.     max_articles_per_feed  = 100
  15.     no_stylesheets         = True
  16.     use_embedded_content   = True
  17.     encoding               = 'utf8'
  18.     publisher              = 'zero hedge'
  19.     category               = 'news, USA, world, economy, politics'
  20.     language               = 'en'
  21.     masthead_url           = 'http://www.zerohedge.com/themes/newsflash/logo.png'
  22.     publication_type       = 'blog'
  23.     extra_css              = 'body{ font-family: sans-serif }'
  24.  
  25.     conversion_options = {
  26.                              'comments' : description
  27.                             ,'tags'     : category
  28.                             ,'language' : language
  29.                             ,'publisher': publisher
  30.                          }
  31.  
  32.  
  33.     feeds = [(u'Articles', u'http://feeds.feedburner.com/zerohedge/feed')]
  34.