Monday, November 08, 2010 at 12:03 AM.
system.verbs.builtins.io.client.refreshBuddies
on refreshBuddies () {
<<Changes
<<8/8/10; 11:38:32 AM by DW
<<Call to getAllOutlines was wrong.
<<7/17/10; 2:13:03 PM by DW
<<Created.
local (texttable = io.client.getAllOutlines (), adropmltext);
if sizeof (texttable) == 0 {
dialog.notify ("Your buddies are already up to date. :-)");
return};
for adropmltext in @texttable {
local (update);
new (tabletype, @update);
update.username = nameof (adropmltext^);
update.data = adropmltext^;
io.client.updateUser (@update)}};
bundle { //test code
refreshBuddies ()}
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.