Thursday, April 07, 2011 at 1:04 AM.
beautWebsite.counts
on counts () { <<Changes <<4/6/11; 2:44:50 AM by DW <<Converted to run in beaut.root. <<3/7/11; 10:06:47 AM by DW <<Update call to radio2Suite.securityChallenge to new conventions. <<3/3/11; 7:36:19 AM by DW <<Add an intro at the top and a caption to the bottom of the page explaining what's on the page. <<2/20/11; 12:31:59 PM by DW <<Pass the address of the user table to viewCounts. <<2/18/11; 2:22:18 PM by DW <<Created. local (pta = html.getpagetableaddress (), adrradiodata = radio2suite.init (), args); pta^.title = "Counts"; <<scratchpad.logparams = pta^ local (adruser = @adrradiodata^.users.[pta^.username]); local (intro = string (radio2Suite.data.strings.countsPageIntro)); local (caption = string (radio2Suite.data.strings.countsPageCaption)); return ("<center>" + intro + radio2Suite.viewCounts (adruser) + caption + "</center>")}
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.