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


on getSiteName (siteUrl) {
		<<9/6/01; 8:01:35 PM by JES
			<<Changed params from a list to a record of named parameters, for SOAP compatibility.
	local (host, port, urlParts = string.urlSplit (siteUrl));
	host = urlParts[2];
	if host contains ":" {
		port = string.nthField (host, ':', 2);
		host = string.nthField (host, ':', 1)};
	local (params = {"siteUrl":siteUrl});
	return (manila.callHandler (host, port, "manila.getSiteName", @params, rpcPath:"/RPC2"))}

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.