New recipe for The Independent by Jimmy Patrick

This commit is contained in:
Kovid Goyal 2009-12-29 08:22:14 -07:00
parent 0ebc0cc78f
commit 369fbc48db
3 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,26 @@
from calibre.web.feeds.news import BasicNewsRecipe
class Independent(BasicNewsRecipe):
title = u'The Independent'
oldest_article = 1
language = 'en_UK'
__author__ = 'Jimmy Patrick'
max_articles_per_feed = 100
feeds = [(u'UK', u'http://www.independent.co.uk/news/uk/rss'),
(u'World', u'http://www.independent.co.uk/news/world/rss'),
(u'Sport', u'http://www.independent.co.uk/sport/rss'),
(u'Arts & Entertainment', u'http://www.independent.co.uk/arts-entertainment/rss'),
(u'Life & Style',u'http://www.independent.co.uk/life-style/fashion/news/rss'),
(u'Business',u'http://www.independent.co.uk/news/business/rss'),
(u'Science',u'http://www.independent.co.uk/news/science/rss'),
(u'Media',u'http://www.independent.co.uk/news/media/rss')
]
keep_only_tags = [dict(id=['article'])]
remove_tags = [dict(name='div', attrs={'class':'share-links'}),
dict(name='ul', attrs={'class':'article-tools'}),
dict(name='div', attrs={'class':'related-articles'})
]
extra_css = "body{color:black;}"

View File

@ -301,7 +301,7 @@ Your antivirus program is wrong. |app| is a completely open source product. You
How do I use purchased EPUB books with |app|?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Most purchased EPUB books have `DRM <http://wiki.mobileread.com/wiki/DRM>`_. This prevents |app| from opening them. You can still use |app| to store and transfer them to your SONY Reader. First, you must authorize your reader on a windows machine with Adobe Digital Editions. Once this is done, EPUB books transferred with |app| will work fine on your reader. Sometimes, the EPUB file itself is corrupted, in which case you should notify the e-book vendor.
Most purchased EPUB books have `DRM <http://wiki.mobileread.com/wiki/DRM>`_. This prevents |app| from opening them. You can still use |app| to store and transfer them to your SONY Reader. First, you must authorize your reader on a windows machine with Adobe Digital Editions. Once this is done, EPUB books transferred with |app| will work fine on your reader. When you purchase an epub book from a website, you will get an ".acsm" file. This file should be opened with Adobe Digital Editions, which will then download the actual ".epub" e-book. The e-book file will be stored in the folder "My Digital Editions", from where you can add it to |app|.
I want some feature added to |app|. What can I do?

View File

@ -40,7 +40,7 @@ class RecipeInput(InputFormatPlugin):
'content.')),
OptionRecommendation(name='dont_download_recipe',
recommended_value=False,
help=_('Download latest version of builtin recipes')),
help=_('Do not download latest version of builtin recipes from the calibre server')),
OptionRecommendation(name='lrf', recommended_value=False,
help='Optimize fetching for subsequent conversion to LRF.'),
])