From e25996e896d1a015e1e45f54c36868ab51212dd9 Mon Sep 17 00:00:00 2001 From: James Cridland Date: Tue, 25 Feb 2020 21:47:17 +1000 Subject: [PATCH 1/4] Update list_apart.recipe Corrected this publication, which is from the US, to be English (US). Corrected cover_url which was a 404 error. --- recipes/list_apart.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/list_apart.recipe b/recipes/list_apart.recipe index f78e87879e..8105b04b71 100644 --- a/recipes/list_apart.recipe +++ b/recipes/list_apart.recipe @@ -12,12 +12,12 @@ class AListApart (BasicNewsRecipe): __copyright__ = '2012, Marc Busqué ' title = u'A List Apart' description = u'A List Apart Magazine (ISSN: 1534-0295) explores the design, development, and meaning of web content, with a special focus on web standards and best practices. This recipe retrieve articles and columns.' # noqa - language = 'en' + language = 'en_US' tags = 'web development, software' oldest_article = 120 remove_empty_feeds = True encoding = 'utf8' - cover_url = u'http://alistapart.com/pix/alalogo.gif' + cover_url = u'https://alistapart.com/wp-content/uploads/2019/03/cropped-icon_navigation-laurel-512.jpg' def get_extra_css(self): if not self.extra_css: From b2a0b89685738a1b0d2693639d3cfcd58bc42847 Mon Sep 17 00:00:00 2001 From: James Cridland Date: Tue, 25 Feb 2020 21:50:45 +1000 Subject: [PATCH 2/4] Update queueacmorg.recipe Published in New York, this publication is in US English; amended. --- recipes/queueacmorg.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/queueacmorg.recipe b/recipes/queueacmorg.recipe index e326b2500e..2e0fcf82f7 100644 --- a/recipes/queueacmorg.recipe +++ b/recipes/queueacmorg.recipe @@ -23,7 +23,7 @@ class QueueAcmOrg(BasicNewsRecipe): oldest_article = 45 max_articles_per_feed = 10 auto_cleanup = True - language = 'en' + language = 'en_US' # Feed are found here: http://queue.acm.org/rssfeeds.cfm feeds = [ From c7a59fc92149146d11172ea33ad04f9daefbe9f5 Mon Sep 17 00:00:00 2001 From: James Cridland Date: Tue, 25 Feb 2020 21:55:42 +1000 Subject: [PATCH 3/4] Removed AdsoftheWorld This recipe only returns blank pages. Its RSS feed returns mainly video ads and collections, which are unparsable. --- recipes/ads_of_the_world.recipe | 26 -------------------------- recipes/icons/ads_of_the_world.png | Bin 1321 -> 0 bytes 2 files changed, 26 deletions(-) delete mode 100644 recipes/ads_of_the_world.recipe delete mode 100644 recipes/icons/ads_of_the_world.png diff --git a/recipes/ads_of_the_world.recipe b/recipes/ads_of_the_world.recipe deleted file mode 100644 index d62766da98..0000000000 --- a/recipes/ads_of_the_world.recipe +++ /dev/null @@ -1,26 +0,0 @@ -from calibre.web.feeds.news import BasicNewsRecipe - - -class AdvancedUserRecipe1336986047(BasicNewsRecipe): - title = u'Ads of the World' - oldest_article = 7 - max_articles_per_feed = 100 - auto_cleanup = False - description = 'The best international advertising campaigns' - language = 'en' - __author__ = 'faber1971' - - no_stylesheets = True - keep_only_tags = [ - dict(name='div', attrs={'id': 'primary'}) - ] - - remove_tags = [ - dict(name='ul', attrs={'class': 'links inline'}), dict(name='div', attrs={'class': 'form-item'}), dict( - name='div', attrs={'id': ['options', 'comments']}), dict(name='ul', attrs={'id': 'nodePager'}) - ] - - reverse_article_order = True - masthead_url = 'http://bigcatgroup.co.uk/files/2011/01/05-ads-of-the-world.png' - feeds = [ - (u'Ads of the world', u'http://feeds.feedburner.com/adsoftheworld-latest')] diff --git a/recipes/icons/ads_of_the_world.png b/recipes/icons/ads_of_the_world.png deleted file mode 100644 index d801e0e50b415bb5342017e9a9e57f572d3270b6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1321 zcmV+^1=jkBP)7%Q6vzK>X4kRTUu!$As|FGpQ8)cifvO5fB|s^t2#~l?apJ%M4iyIw9DqwDBrbpe zRh7yK0e21{DvFR=6{!~rh*FwHfYS6MCTZf@aqT$v?!3og{Smh=Qc<(o!_2&y`R&{H zX+?iH&LoOR6SN{top<%LSEO+BHmjdVDYBFh0EPer29%)n5McXz7WW9h7uK%w6$>H=T6gthNMHjZ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A new recipe for Spectator Australia. --- recipes/icons/spectator-au.png | Bin 0 -> 1058 bytes recipes/spectator-au.recipe | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 recipes/icons/spectator-au.png create mode 100644 recipes/spectator-au.recipe diff --git a/recipes/icons/spectator-au.png b/recipes/icons/spectator-au.png new file mode 100644 index 0000000000000000000000000000000000000000..c5508d9675e45b622cb0d84c50bca558fd1902ac GIT binary patch literal 1058 zcmV+-1l{|IP)!~|0@0{y9(>MVz1F!;c zGVls829yBZ{3-!s=4&ULXJ=5~?2LFl;6A_)XsDr?XYZ3|CoKf%0&W13Odd(|j;^UC zUkCUS(6NH9(=L{1hGR5*L7I^mty}@U*|a=u-nEWX@-2Wd%bV(T%AbEj@`k&JU3?v} z3$G<|#w7&yKNk0hL(Hy-hb-U{j!xv=z!z9RTK@J zFYZk`3c%#({y+J2X0li!cFFY&cdtVA$KSAnpgL5q@ArS$_S1+k>e1I*%E0Q?P?7>G>vYVxaKw^M^-jH(It~n`J8Yo%dq;} z5UD#JL;x)G^b zapn78aILZ#^^q~0Ap7KtMn3dU2>9xIbt_g4qskAzGTgN?x#wTQ35p+lhBT_trPrh3 z4XB5aY8+R7{1ve#a>|7`LGIaCkQ@jcbb{=NigB!5NK63>EQf2g&1r_Cs46COoTLuVm(U6%P!|+DGcv`>}&GsFB{)q$JHoq+H3=OQ}q@z`-XnwBYg#_pD0x z@#p`$Z0I^#Dr1!3Q;cu0Bgq@@wy1x_QmR_Z+qD{!(b4m+#Jk;oMjJkb_!T#kyyZUP zSKUhZ