Monday, November 08, 2010 at 12:07 AM.

system.verbs.builtins.xml.pubsub.deleteExpiredRecentNotify

on deleteExpiredRecentNotify (adrTable) {
	<<Delete old entries in the mostRecentNotify table.
		<<1/15/02; 6:18:56 PM by PBS
	xml.pubsub.initTable (adrTable);
	local (now = clock.now ());
	local (i, adr, marktime = now - (60 * 60));
	for i = sizeof (adrTable^.mostRecentNotify) downto 1 {
		adr = @adrTable^.mostRecentNotify [i];
		if adr^ < marktime {
			delete (adr)}}}



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.