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

  1. from calibre.web.feeds.recipes import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1307834113(BasicNewsRecipe):
  4.  
  5.     title          = u'Down To Earth'
  6.     oldest_article = 300
  7.     __author__ = 'sexymax15'
  8.     max_articles_per_feed = 30
  9.     no_stylesheets = True
  10.     remove_javascript     = True
  11.     remove_attributes = ['width','height']
  12.     use_embedded_content  = False
  13.     language              = 'en_IN'
  14.     remove_empty_feeds    = True
  15.     remove_tags_before = dict(name='div', id='PageContent')
  16.     remove_tags_after = [dict(name='div'),{'class':'box'}]
  17.     remove_tags =[{'class':'box'}]
  18.     feeds          = [(u'editor', u'http://www.downtoearth.org.in/taxonomy/term/20348/0/feed'), (u'cover story', u'http://www.downtoearth.org.in/taxonomy/term/20345/0/feed'), (u'special report', u'http://www.downtoearth.org.in/taxonomy/term/20384/0/feed'), (u'features', u'http://www.downtoearth.org.in/taxonomy/term/20350/0/feed'), (u'news', u'http://www.downtoearth.org.in/taxonomy/term/20366/0/feed'), (u'debate', u'http://www.downtoearth.org.in/taxonomy/term/20347/0/feed'), (u'natural disasters', u'http://www.downtoearth.org.in/taxonomy/term/20822/0/feed')]
  19.