Toggle isPermaLing when changing item url

master
pictuga 2013-11-16 19:08:08 +01:00
parent 91251ec306
commit 35fba5ffad
1 changed files with 3 additions and 0 deletions

View File

@ -503,6 +503,9 @@ class FeedItemRSS(FeedItem):
return self.xval('rssfake:link|link')
def setLink(self, value):
if self.isPermaLink and self.id == self.link != value:
self.isPermaLink = False
table = { 'rdf:rdf': 'rssfake:link',
'channel': 'link'}
element = self.xgetCreate(table)