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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class BigGovernmentRecipe(BasicNewsRecipe):
  4.     __license__  = 'GPL v3'
  5.     __author__ = 'kwetal'
  6.     language = 'en'
  7.     version = 1
  8.  
  9.     title = u'Big Government'
  10.     publisher = u'Andrew Breitbart'
  11.     category = u'Political blog'
  12.     description = u'Political news from the USA'
  13.  
  14.     oldest_article = 30
  15.     max_articles_per_feed = 100
  16.     use_embedded_content = True
  17.  
  18.     feeds = [(u'Big Government', u'http://feeds.feedburner.com/BigGovernment')]
  19.  
  20.     conversion_options = {'comments': description, 'tags': category, 'language': 'en',
  21.                           'publisher': publisher}
  22.  
  23.     extra_css = '''
  24.                 body{font-family:verdana,arial,helvetica,geneva,sans-serif;}
  25.                 img {float: left; margin-right: 0.5em;}
  26.                 '''
  27.  
  28.