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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1313555075(BasicNewsRecipe):
  4.     news                  = True
  5.     title          = u'The Clinic'
  6.     __author__            = 'Alex Mitrani'
  7.     description           = u'Online version of Chilean satirical weekly'
  8.     publisher             = u'The Clinic'
  9.     category              = 'news, politics, Chile, rss'
  10.     oldest_article = 7
  11.     max_articles_per_feed = 100
  12.     summary_length        = 1000
  13.     language              = 'es_CL'
  14.  
  15.     remove_javascript     = True
  16.     no_stylesheets        = True
  17.     use_embedded_content  = False
  18.     remove_empty_feeds    = True
  19.     masthead_url          = 'http://www.theclinic.cl/wp-content/themes/tc12m/css/ui/mainLogoTC-top.png'
  20.     remove_tags_before = dict(name='article', attrs={'class':'scope bordered'})
  21.     remove_tags_after  = dict(name='div', attrs={'id':'commentsSection'})
  22.     remove_tags = [dict(name='span', attrs={'class':'relTags'})
  23.         ,dict(name='div', attrs={'class':'articleActivity hdcol'})
  24.         ,dict(name='div', attrs={'id':'commentsSection'})
  25.     ]
  26.  
  27.     feeds          = [(u'The Clinic Online', u'http://www.theclinic.cl/feed/')]
  28.