From 22d12a769c5071a1b2ff7afa75c963f45b6429d4 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 3 Nov 2013 13:38:56 +0100 Subject: [PATCH] Fix Atom item's link discovery --- feeds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds.py b/feeds.py index 2ef2f5b..c311285 100644 --- a/feeds.py +++ b/feeds.py @@ -559,7 +559,7 @@ class FeedItemAtom(FeedItem): def getLink(self): - return self.xget('atom:link|atom03:link').get('href', '') + return self.xget('atom:link/@href|atom03:link/@href') def setLink(self, value): table = { 'atom:feed': 'atom:link',