diff --git a/resources/recipes/independent.recipe b/resources/recipes/independent.recipe new file mode 100644 index 0000000000..d964fe39d0 --- /dev/null +++ b/resources/recipes/independent.recipe @@ -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;}" diff --git a/src/calibre/manual/faq.rst b/src/calibre/manual/faq.rst index 8a9eb6b23f..33e144e0e5 100644 --- a/src/calibre/manual/faq.rst +++ b/src/calibre/manual/faq.rst @@ -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 `_. 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 `_. 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? diff --git a/src/calibre/web/feeds/input.py b/src/calibre/web/feeds/input.py index 5882dd8e7a..4f7fa64869 100644 --- a/src/calibre/web/feeds/input.py +++ b/src/calibre/web/feeds/input.py @@ -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.'), ])