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

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2010, Darko Miletic <darko.miletic at gmail.com>'
  3. '''
  4. globaleconomicanalysis.blogspot.com
  5. '''
  6.  
  7. from calibre.web.feeds.news import BasicNewsRecipe
  8.  
  9. class GlobalEconomicAnalysis(BasicNewsRecipe):
  10.     title                 = "Mish's Global Economic Trend Analysis"
  11.     __author__            = 'Darko Miletic'
  12.     description           = 'Thoughts on the global economy, housing, gold, silver, interest rates, oil, energy, China, commodities, the  dollar, Euro, Renminbi, Yen, inflation, deflation, stagflation, precious metals, emerging markets, and policy decisions that affect the global markets.'
  13.     publisher             = 'Mike Shedlock'
  14.     category              = 'news, politics, economy, banking'
  15.     oldest_article        = 7
  16.     max_articles_per_feed = 200
  17.     no_stylesheets        = True
  18.     encoding              = 'utf8'
  19.     use_embedded_content  = True
  20.     language              = 'en'
  21.     remove_empty_feeds    = True
  22.     publication_type      = 'blog'
  23.     masthead_url          = 'http://www.pagina12.com.ar/commons/imgs/logo-home.gif'
  24.     extra_css             = """
  25.                                body{font-family: Arial,Helvetica,sans-serif }
  26.                                img{margin-bottom: 0.4em; display:block}
  27.                             """
  28.  
  29.     conversion_options = {
  30.                           'comment'   : description
  31.                         , 'tags'      : category
  32.                         , 'publisher' : publisher
  33.                         , 'language'  : language
  34.                         }
  35.  
  36.     remove_tags = [
  37.                      dict(name=['meta','link','iframe','object','embed'])
  38.                     ,dict(attrs={'class':'blogger-post-footer'})
  39.                   ]
  40.     remove_attributes=['border']
  41.  
  42.     feeds = [(u'Articles', u'http://feeds2.feedburner.com/MishsGlobalEconomicTrendAnalysis')]
  43.