Revert "Improve facebook and feedburner workarounds"

This PARTIALLY reverts commit 8a5202efd5 (only the feedburner part).
master
pictuga 2013-11-15 16:54:41 +01:00
parent 3a784be93e
commit 6975772ef9
1 changed files with 3 additions and 3 deletions

View File

@ -307,9 +307,9 @@ def Fix(item, feedurl='/'):
# feedburner
feeds.NSMAP['feedburner'] = 'http://rssnamespace.org/feedburner/ext/1.0'
if item.id:
item.link = item.id
log(item.link)
match = item.xval('feedburner:origLink')
if match:
item.link = match
# feedsportal
match = re.search('/([0-9a-zA-Z]{20,})/story01.htm$', item.link)