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

  1. #!/usr/bin/env  python
  2.  
  3. __license__   = 'GPL v3'
  4. __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
  5. '''
  6. portfolio.com
  7. '''
  8.  
  9. from calibre.web.feeds.news import BasicNewsRecipe
  10.  
  11. class Portfolio(BasicNewsRecipe):
  12.     
  13.     title                = 'Portfolio'
  14.     __author__           = 'JTravers'
  15.     description          = 'Conde Nast Portfolio: For the businessman.'
  16.     language = 'en'
  17.  
  18.     use_embedded_content = True
  19.     timefmt              = ' [%a, %b %d, %Y]'
  20.     html2lrf_options     = ['--ignore-tables']
  21.     
  22.     feeds = [ 
  23.                 ('Business Travel', 'http://feeds.portfolio.com/portfolio/businesstravel'), 
  24.                 ('Careers', 'http://feeds.portfolio.com/portfolio/careers'), 
  25.                 ('Culture and Lifestyle', 'http://feeds.portfolio.com/portfolio/cultureandlifestyle'), 
  26.                 ('Executives','http://feeds.portfolio.com/portfolio/executives'), 
  27.                 ('News and Markets', 'http://feeds.portfolio.com/portfolio/news'), 
  28.                 ('Business Spin', 'http://feeds.portfolio.com/portfolio/businessspin'), 
  29.                 ('Capital', 'http://feeds.portfolio.com/portfolio/capital'), 
  30.                 ('Daily Brief', 'http://feeds.portfolio.com/portfolio/dailybrief'), 
  31.                 ('Market Movers', 'http://feeds.portfolio.com/portfolio/marketmovers'), 
  32.                 ('Mixed Media', 'http://feeds.portfolio.com/portfolio/mixedmedia'), 
  33.                 ('Odd Numbers', 'http://feeds.portfolio.com/portfolio/oddnumbers'), 
  34.                 ('Playbook', 'http://feeds.portfolio.com/portfolio/playbook'), 
  35.                 ('Tech Observer', 'http://feeds.portfolio.com/portfolio/thetechobserver'), 
  36.                 ('World According to ...', 'http://feeds.portfolio.com/portfolio/theworldaccordingto'), 
  37.             ]
  38.