Saturday, April 02, 2011 at 9:18 PM.

feedhoseSuite.derefLink

on derefLink (url) {
	<<Changes
		<<9/27/10; 9:06:05 AM by DW
			<<Created. 
	local (stack, ct=1);
	new (tabletype, @stack);
	loop {
		stack.[url] = ct++;
		url = tcp.httpderef (url);
		if defined (stack.[url]) {
			return (url)}}};
bundle { //test code
	dialog.alert (derefLink ("http://feeds.nytimes.com/click.phdo?i=bbbedba99df7121852769b0d55388515"))}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.