Bug-fix version:
* Simplified SunOS fix
* Local feeds (/home/user/file.xml) should work
Downloaded from:
http://web.archive.org/web/
20080228225122/http://rss2email.infogami.com/rss2email.py
and filtered through dos2unix.
list
delete n
"""
-__version__ = "2.61"
+__version__ = "2.62"
__author__ = "Aaron Swartz (me@aaronsw.com)"
__copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2."
___contributors__ = ["Dean Jackson", "Brian Lalor", "Joey Hess",
unix = 0
try:
import fcntl
- if sys.version.find('sunos') == -1:
- unix = 1
+ unix = 1
except:
pass
"""Get the best name."""
feed = r.feed
- if r.url in OVERRIDE_FROM.keys():
+ if hasattr(r, "url") and r.url in OVERRIDE_FROM.keys():
return OVERRIDE_FROM[r.url]
name = feed.get('title', '')