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 # feedburner
feeds.NSMAP['feedburner'] = 'http://rssnamespace.org/feedburner/ext/1.0' feeds.NSMAP['feedburner'] = 'http://rssnamespace.org/feedburner/ext/1.0'
if item.id: match = item.xval('feedburner:origLink')
item.link = item.id if match:
log(item.link) item.link = match
# feedsportal # feedsportal
match = re.search('/([0-9a-zA-Z]{20,})/story01.htm$', item.link) match = re.search('/([0-9a-zA-Z]{20,})/story01.htm$', item.link)