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

system.verbs.builtins.radio.aggregator.webBugSimulator.storyArrivedCallback

on storyArrivedCallback (adrservice, adrItem) {
	<<Changes
		<<3/7/02; 8:29:12 AM by DW
			<<ctnewstories was initialized to 0, it should have been 1.
		<<3/3/02; 1:44:47 PM by DW
			<<Entity-decode the name of the weblog.
	if user.radio.prefs.flWebBugSimulator {
		local (adrtable = @system.temp.radio.webBugSimulator.[nameof (adrservice^)]);
		if defined (adrtable^) {
			adrtable^.ctnewstories++}
		else {
			new (tabletype, adrtable);
			adrtable^.ctnewstories = 1;
			adrtable^.title = radio.string.decodeEntities (adrservice^.compilation.channeltitle, false, false)}};
	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.