2002-08-16
Mark’s RSS locator
dive into mark: Ultra-liberal RSS locator
End of rant. Beginning of solution. rssfinder.py. GPL-licensed. It does all that.
Mark uses list comprehensions in his code, so he’s running Python 2 or
later. Also part of Python 2: the string object functions startswith() and
endswith(), so he could easily (and more understandably [is this correct adverb
usage?]) write if not type.startswith(self.RSSTYPE) instead of
if type[:len(self.RSSTYPE)] != self.RSSTYPE: (class LinkParser,
function getLocalLinks) :-)
Other than that, I had a long time to find out that the main index page generated by Movable Type is itself an RSS feed!
13:47 [/software/blog] Google Trackback