Revert "Improve facebook and feedburner workarounds"
This PARTIALLY reverts commit 8a5202efd5
(only the feedburner part).
master
parent
3a784be93e
commit
6975772ef9
6
morss.py
6
morss.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue