Monday, November 08, 2010 at 12:04 AM.
system.verbs.builtins.io.server.saveOutline
on saveOutline (username, opmltext) {
<<Changes
<<8/6/10; 2:47:26 PM by DW
<<Created.
local (adruser = io.server.initUser (username), now = clock.now ());
local (htmltext = "User \"" + username + "\" updated his or her instant outline.");
scratchpad.opmltext = opmltext;
realtime.server.pushUpdate (htmltext, "instantOutline", username, opmltext);
adruser^.opmltext = opmltext;
adruser^.stats.ctSaves++;
adruser^.stats.whenLastSave = now};
bundle { //test code
saveOutline ("davewiner", scratchpad.opmltext)}
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.