Phillip Pearson - web + electronics notes

tech notes and web hackery from a new zealander who was vaguely useful on the web back in 2002 (see: python community server, the blogging ecosystem, the new zealand coffee review, the internet topic exchange).

2003-12-22

All-RSS-within-one-click finder

I wrote a Python script that downloads a web page, then examines all linked pages to try to find their RSS feeds.

(Of course, it uses Mark Pilgrim's RSS finder to do the actual finding.)

This is good if you have an HTML-format blogroll and you want to know the RSS feeds for all the linked blogs. Sorta like what Dave Winer did with the weblog neighborhood tool, except that it looks for links in the HTML rather than in XML dumps from aggregator subscription lists, and consequently it finds feeds for things people link to rather than things they read.

To run, you need Python, Mark's rssfinder.py, and the script linked above. Rename *.py.txt to *.py after downloading. Then run like this:

python oneclick.py

- to find RSS for people I link to

python oneclick.py http://your.blog.url/

- to find RSS for people you link to

python oneclick.py http://scripting.com/ archive.scripting.com

- to find RSS for people Dave links to

Note that if your archive URLs aren't directly under your blog main URL, you need to specify your archive URL explicitly (as I did with archive.scripting.com above) as the second parameter to the script. If you don't, it'll still work, but it'll take ages because it'll waste time trying to find your own RSS feed over and over again.

... more like this: [] ... topic exchange: []