Fix Atom item's link discovery
parent
f756a4d834
commit
22d12a769c
2
feeds.py
2
feeds.py
|
@ -559,7 +559,7 @@ class FeedItemAtom(FeedItem):
|
||||||
|
|
||||||
|
|
||||||
def getLink(self):
|
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):
|
def setLink(self, value):
|
||||||
table = { 'atom:feed': 'atom:link',
|
table = { 'atom:feed': 'atom:link',
|
||||||
|
|
Loading…
Reference in New Issue