From: W. Trevor King Date: Fri, 15 Mar 2013 11:37:25 +0000 (-0400) Subject: feed: Drop Google Reader rel-via manipulation X-Git-Tag: v3.3~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa8675d11398bc194255e9a3eb84d9d5282215d3;p=rss2email.git 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 --- 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']