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

  1.  
  2. __license__   = 'GPL v3'
  3. __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>'
  4. '''
  5. praguemonitor.com
  6. '''
  7.  
  8. from calibre.web.feeds.news import BasicNewsRecipe
  9.  
  10. class PragueDailyMonitor(BasicNewsRecipe):
  11.     title                 = u'Prague Daily Monitor'
  12.     __author__            = u'Darko Miletic'
  13.     description           = u'Czech news in English'
  14.     category              = 'news, politics, Czech republic'
  15.     publisher             = 'Prague Daily Monitor'
  16.     oldest_article        = 2
  17.     max_articles_per_feed = 100
  18.     language              = 'en'
  19.     no_stylesheets        = True
  20.     use_embedded_content  = False
  21.     encoding              = 'utf-8'
  22.  
  23.     conversion_options = {
  24.                              'comments'  : description
  25.                             ,'tags'      : category
  26.                             ,'language'  : language
  27.                             ,'publisher' : publisher
  28.                          }
  29.  
  30.     keep_only_tags = [dict(name='div' , attrs={'id':['content-header','content-area']})]
  31.  
  32.     feeds = [(u'All Articles', u'http://feeds.feedburner.com/PragueDailyMonitor?format=xml')]
  33.