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

  1. #!/usr/bin/env  python
  2.  
  3. __license__   = 'GPL v3'
  4. __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
  5. '''
  6. www.theoldfoodie.com
  7. '''
  8.  
  9. from calibre.web.feeds.news import BasicNewsRecipe
  10.  
  11. class TheOldFoodie(BasicNewsRecipe):
  12.     title                 = 'The Old Foodie'
  13.     __author__            = 'Darko Miletic'
  14.     description           = 'Food blog'
  15.     category              = 'cuisine, food, blog'
  16.     oldest_article        = 30
  17.     max_articles_per_feed = 100
  18.     use_embedded_content  = True
  19.     no_stylesheets        = True
  20.     encoding              = 'utf-8'
  21.     language = 'en'
  22.  
  23.  
  24.     conversion_options = {
  25.                              'comments'    : description
  26.                             ,'tags'        : category
  27.                             ,'language'    : 'en'
  28.                          }
  29.  
  30.     feeds = [(u'Articles', u'http://www.theoldfoodie.com/feeds/posts/default?alt=rss')]
  31.