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


on openWithUrl (username, password, url, rpcPath = "/RPC2") {
	<<11/14/00; 10:38:54 PM by JES
		<<9/6/01; 8:24:10 PM by JES
			<<Changed params from a list to a record of named parameters, for SOAP compatibility.
	local (urlParts = string.urlSplit (url));
	local (host = urlParts[2]);
	local (port = 80);
	if host contains ":" {
		port = string.nthField (host, ":", 2);
		host = string.nthField (host, ":", 1)};
	local (params = {"username":username, "password":string (password), "url":url});
	return (manila.callHandler (host, port, "manila.message.openWithUrl", @params, rpcPath:rpcPath))}

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.