Monday, November 08, 2010 at 12:00 AM.

scripting2Suite.editor.io.refreshBuddies

on refreshBuddies () {
	<<Changes
		<<7/17/10; 2:13:03 PM by DW
			<<Created. 
	local (texttable = scripting2Suite.editor.io.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^;
		scripting2Suite.editor.io.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.