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

on storyArrivedCallback (adrservice, adrItem) {
		<<10/10/02; 11:23:17 AM by DW
	if {
		local (adrtable =[nameof (adrservice^)]);
		if defined (adrtable^) {
		else {
			new (tabletype, adrtable);
			adrtable^.ctnewstories = 1;
			new (tabletype, @adrtable^.items);
			adrtable^.title = radio.string.decodeEntities (adrservice^.compilation.channeltitle, false, false)};
		adrtable^.items.[string.padwithzeros (sizeof (adrtable^.items) + 1, 5)] = adritem^};
	return (true)};
bundle { //test code
	storyArrivedCallback ([""],[""].compilation.items.["00006"])}

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.