diff --git a/Changelog.yaml b/Changelog.yaml index ec41b77d7b..a0c41bac4b 100644 --- a/Changelog.yaml +++ b/Changelog.yaml @@ -19,6 +19,97 @@ # new recipes: # - title: +- version: 0.8.21 + date: 2011-09-30 + + new features: + - title: "A Tips and Tricks blog at http://blog.calibre-ebook.com to introduce less well known calibre features in a simple way" + + - title: "News download: Add list of articles in the downloaded issue to the comments metadata of the generated ebook. Makes it possible to search for a particular article in the calibre library." + ticket: [851717] + + - title: "Toolbar buttons: You can now also right click the buttons to bring the popup of extra actions, in addition to clicking the small arrow next to the button." + + - title: "Amazon metadata download plugin: Add option to download metadata from amazon.es" + + - title: Driver for Vizio and iRobot A9 Android tablets + tickets: [854408,862175] + + - title: "When switching to/starting with a library with a corrupted database, offer the user the option of rebuilding the database instead of erroring out." + + - title: "Template language: Add list_equals function" + + - title: "Add a special output profile for the PocketBook 900 as it does not resize images correctly by itself" + + bug fixes: + - title: "Fix regression that cause PDF Output to generate very large files" + + - title: Fix Title Sort field not being displayed in Book details panel + + - title: Prevent renaming of languages in the Tag browser + tickets: [860943] + + - title: "Get books: Fix getting price from Foyles" + + - title: "Content server: When a search matches no queries, do not show an error message" + + - title: "ODT Input: Add workaround for ADE to fix centering of block level images when converting to EPUB" + tickets: [859343] + + - title: "Content server: When WSGI embedding fix handling of empty URL" + + - title: "RTF Input: Fix spurious spaces inserted after some unicode characters" + tickets: [851215] + + - title: "Fix regression that broke clicking on the first letter of author names in the Tag Browser when grouped" + tickets: [860615] + + - title: "Fix reading metadata from filenames when the author regexp does not match anything" + + - title: "Fix incorrect display of the month September in Finnish calibre" + tickets: [858737] + + - title: "Do not delete the file when the user tries to add a format to a book from a file already in the books directory" + tickets: [856158] + + - title: "Fix regression that broke customization of Kobo device plugin" + + - title: "Allow user defined templates to be used in save to disk" + + improved recipes: + - Read It Later + - American Spectator + - Sydney Morning Herald + - Chicago Tribune + - American Prospect + - DNA India + - Times of India + - Kurier + - xkcd + - Cnet + + new recipes: + - title: Various Colombian news sources + author: BIGO-CAVA + + - title: Gosc Niedzielny + author: Piotr Kontek + + - title: Leipzer Volkszeitung + author: a.peter + + - title: Folha de Sao Paulo (full edition) + author: fluzao + + - title: Den of Geek + author: Jaded + + - title: Republica + author: Manish Bhattarai + + - title: Sign on San Diego + author: Jay Kindle + - version: 0.8.20 date: 2011-09-23 diff --git a/recipes/amspec.recipe b/recipes/amspec.recipe index e5a76a4f86..684b28cf5c 100644 --- a/recipes/amspec.recipe +++ b/recipes/amspec.recipe @@ -18,25 +18,16 @@ class TheAmericanSpectator(BasicNewsRecipe): use_embedded_content = False language = 'en' INDEX = 'http://spectator.org' - - conversion_options = { + auto_cleanup = True + encoding = 'utf-8' + + conversion_options = { 'comments' : description ,'tags' : category ,'language' : language ,'publisher' : publisher } - keep_only_tags = [ - dict(name='div', attrs={'class':'post inner'}) - ,dict(name='div', attrs={'class':'author-bio'}) - ] - - remove_tags = [ - dict(name='object') - ,dict(name='div', attrs={'class':['col3','post-options','social']}) - ,dict(name='p' , attrs={'class':['letter-editor','meta']}) - ] - feeds = [ (u'Articles', u'http://feeds.feedburner.com/amspecarticles')] def get_cover_url(self): @@ -48,10 +39,10 @@ class TheAmericanSpectator(BasicNewsRecipe): link_item2 = soup2.find('div',attrs={'class':'post inner issues'}) cover_url = self.INDEX + link_item2.img['src'] return cover_url - + def print_version(self, url): return url + '/print' - + def get_article_url(self, article): return article.get('guid', None) - + diff --git a/recipes/aprospect.recipe b/recipes/aprospect.recipe index ce230c624a..1e07ce5f52 100644 --- a/recipes/aprospect.recipe +++ b/recipes/aprospect.recipe @@ -1,26 +1,18 @@ -import re from calibre.web.feeds.news import BasicNewsRecipe class AmericanProspect(BasicNewsRecipe): title = u'American Prospect' - __author__ = u'Michael Heinz' - oldest_article = 30 - language = 'en' - max_articles_per_feed = 100 - recursions = 0 - no_stylesheets = True - remove_javascript = True + __author__ = u'Michael Heinz, a.peter' + version = 2 - preprocess_regexps = [ - (re.compile(r'