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

  1. #!/usr/bin/env  python
  2. # -*- coding: utf-8 -*-
  3.  
  4. __license__     = 'GPL v3'
  5. __copyright__   = u'Chema Cort\xe9s - 2011-01-05'
  6. __version__     = 'v0.01'
  7. __date__        = '2011-01-05'
  8. '''
  9. njp.org
  10. '''
  11.  
  12. from calibre.web.feeds.news import BasicNewsRecipe
  13.  
  14. class NewJournalOfPhysics(BasicNewsRecipe):
  15.     title          = u'New Journal of Physics'
  16.     __author__     = u'Chema Cort\xe9s'
  17.     description    = u'The open-access journal for physics'
  18.     publisher      = u'IOP (Institute of Physics)'
  19.     category       = 'physics, journal, science'
  20.     language       = 'en'
  21.  
  22.     oldest_article = 30
  23.     max_articles_per_feed = 100
  24.  
  25.     keep_only_tags = [dict(id=['fulltextContainer'])]
  26.     no_stylesheets=True
  27.     use_embedded_content=False
  28.  
  29.     feeds          = [(u'Latest Papers', u'http://iopscience.iop.org/1367-2630/?rss=1')]
  30.  
  31.     def print_version(self, url):
  32.         return url+"/fulltext"
  33.