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


on getOutline (url) {
		<<6/10/10; 11:59:02 AM by DW
	local (adrdata = scripting2suite.init (), opmltext);
	local (username = adrdata^.editor.prefs.username);
	local (password = string (adrdata^.editor.prefs.password));
	local (server = string (adrdata^.editor.prefs.server));
	opmltext = [server].scripting2.getOutline (username, password, url);
	adrdata^.editor.stats.flPasswordValid = true;
	return (opmltext)};
bundle { //test code
	url = "";
	url = "";
	url = "";
	url = "";
	opmltext = getoutline (url);
	op.xmltooutline (opmltext, @scratchpad.serveroutline);
	edit (@scratchpad.serveroutline)}

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.