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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class Escrevinhador(BasicNewsRecipe):
  4.     title                  = 'Blog Escrevinhador'
  5.     __author__             = 'Diniz Bortolotto'
  6.     description            = 'Posts do Blog Escrevinhador'
  7.     publisher              = 'Rodrigo Viana'
  8.     oldest_article         = 5
  9.     max_articles_per_feed  = 20
  10.     category               = 'news, politics, Brazil'
  11.     language               = 'pt_BR'
  12.     publication_type       = 'news and politics portal'
  13.     use_embedded_content   = False
  14.     no_stylesheets         = True
  15.     remove_javascript      = True
  16.  
  17.     feeds                  = [(u'Blog Escrevinhador', u'http://www.rodrigovianna.com.br/feed')]
  18.  
  19.     reverse_article_order  = True
  20.  
  21.     remove_tags_after      = [dict(name='div', attrs={'class':'text'})]
  22.  
  23.     remove_tags            = [
  24.                               dict(id='header'),
  25.                               dict(name='p', attrs={'class':'tags'}),
  26.                               dict(name='div', attrs={'class':'sociable'})
  27.                              ]
  28.  
  29.