Monday, April 04, 2011 at 1:06 AM.


on buildJavascript (adruser, maxitems=50) {
		<<2/24/11; 10:47:36 AM by DW
				<<Replacement for
	local (htmltext = radio2Suite.viewCounts (adruser, "linkListNumber", "linkListTitle", "linkListLink"));
	local (jstext = html.buildJavascriptInclude (htmltext), now = ());
	adruser^.stats.urlTopLinksJs = radio2Suite.writeStaticFile (adruser, "topLinks.js", jstext);
	adruser^.stats.whenLastJavaScriptBuild = now};
bundle { //test code
	buildJavascript (@config.radio2.users.dave)}

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.