Tuesday, August 18, 2009 at 7:33 PM.

newsRiverSuite.responder.handler

on handler (pta) {
	local (args);
	new (tabletype, @args);
	webserver.parseargs (pta^.searchargs, @args);
	thread.callscript (@newsRiverSuite.responder.subscriber, {args.url});
	pta^.code = 302;
	pta^.responseBody = webserver.util.buildErrorPage ("302 FOUND", "Found the page.");
	pta^.responseHeaders.location = pta^.requestHeaders.Referer;
	pta^.responseHeaders.URI = pta^.requestHeaders.Referer;
	try {delete (@pta^.responseHeaders.["Content-Type"])};
	return (true)}



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.