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

  1. #!/usr/bin/env  python
  2.  
  3. __license__   = 'GPL v3'
  4. __copyright__ = '2008, Darko Miletic <darko.miletic at gmail.com>'
  5. '''
  6. joelonsoftware.com
  7. '''
  8. from calibre.web.feeds.news import BasicNewsRecipe
  9.  
  10. class Joelonsoftware(BasicNewsRecipe):
  11.  
  12.     title       = 'Joel on Software'
  13.     __author__  = 'Darko Miletic'
  14.     description = 'Painless Software Management'
  15.     language = 'en'
  16.  
  17.     no_stylesheets = True
  18.     use_embedded_content  = True   
  19.     oldest_article = 60
  20.     
  21.     
  22.     cover_url = 'http://www.joelonsoftware.com/RssJoelOnSoftware.jpg'
  23.        
  24.     extra_css = '''
  25.                 h1{font-size: x-small; color:#BF3306;}
  26.                 h2{ color:#046380; font-size: large;}
  27.                 .date{ color:#046380; font-size: x-small;}
  28.                 .author{ color:#046380; font-size: small;}
  29.                 body{font-family:Georgia,serif;font-size: small;}
  30.                 '''
  31.  
  32.     html2lrf_options = [  '--comment'       , description
  33.                         , '--category'      , 'blog,software,news'
  34.                         , '--author'        , 'Joel Spolsky'
  35.                        ]
  36.  
  37.     feeds = [(u'Articles', u'http://www.joelonsoftware.com/rss.xml')]
  38.  
  39.     
  40.