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

feedhoseSuite.collectOldTitles

on collectOldTitles () {
	<<Changes
		<<9/27/10; 9:34:34 AM by DW
			<<It's okay for titles to repeat every four hours.
	local (adrdata = feedHoseSuite.init (), marktime = clock.now () - (60 * 60 * 4), i, adrtitle);
	for i = sizeof (adrdata^.server.titles) downto 1 {
		adrtitle = @adrdata^.server.titles [i];
		if adrtitle^ < marktime {
			delete (adrtitle);
			adrdata^.server.stats.ctTitlesCollected++}}};
bundle { //test code
	collectOldTitles ()}



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.