Monday, November 08, 2010 at 12:04 AM.
system.verbs.builtins.mainResponder.adminSite.callbacks.logRootUpdate
on logRootUpdate (adrpart, changenote) {
<<Changes
<<8/28/02; 11:11:26 PM by JES
<<Created.
if not config.mainResponder.prefs.flLogRootUpdates { //do nothing
return (true)};
local (partname = string.popFileFromAddress (adrpart) );
local (adritem = log.addToGuestDatabase ("rootUpdates", partname, true));
adritem^.adr = adrpart;
adritem^.changenote = changenote;
return (true)}
<<bundle //test code
<<logRootUpdate ("foo", "change notes")
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.