From aa8675d11398bc194255e9a3eb84d9d5282215d3 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 15 Mar 2013 07:37:25 -0400 Subject: [PATCH] feed: Drop Google Reader rel-via manipulation Google Reader will be retired on 2013-07-01, so we should be able to drop the special rel-via handling it got starting with eb04d97 (Bump to version 2.67, 2010-09-21). [1]: http://googlereader.blogspot.com/2013/03/powering-down-google-reader.html Signed-off-by: W. Trevor King --- rss2email/feed.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rss2email/feed.py b/rss2email/feed.py index 776d115..68a79f4 100644 --- a/rss2email/feed.py +++ b/rss2email/feed.py @@ -710,9 +710,6 @@ class Feed (object): for elink in getattr(entry, 'links', []): if elink.get('rel', None) == 'via': url = elink['href'] - url = url.replace( - 'http://www.google.com/reader/public/atom/', - 'http://www.google.com/reader/view/') title = url if elink.get('title', None): title = elink['title'] @@ -742,9 +739,6 @@ class Feed (object): for elink in getattr(entry, 'links', []): if elink.get('rel', None) == 'via': url = elink['href'] - url = url.replace( - 'http://www.google.com/reader/public/atom/', - 'http://www.google.com/reader/view/') title = url if elink.get('title', None): title = elink['title'] -- 2.26.2