mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
33 lines
891 B
Python
33 lines
891 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
__license__ = 'GPL v3'
|
|
__copyright__ = u'Chema Cort\xe9s - 2011-01-05'
|
|
__version__ = 'v0.01'
|
|
__date__ = '2011-01-05'
|
|
'''
|
|
njp.org
|
|
'''
|
|
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
class NewJournalOfPhysics(BasicNewsRecipe):
|
|
title = u'New Journal of Physics'
|
|
__author__ = u'Chema Cort\xe9s'
|
|
description = u'The open-access journal for physics'
|
|
publisher = u'IOP (Institute of Physics)'
|
|
category = 'physics, journal, science'
|
|
language = 'en'
|
|
|
|
oldest_article = 30
|
|
max_articles_per_feed = 100
|
|
|
|
keep_only_tags = [dict(id=['fulltextContainer'])]
|
|
no_stylesheets=True
|
|
use_embedded_content=False
|
|
|
|
feeds = [(u'Latest Papers', u'http://iopscience.iop.org/1367-2630/?rss=1')]
|
|
|
|
def print_version(self, url):
|
|
return url+"/fulltext"
|