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


on checkOut (adrSitePrefs, itemName) {
	<<Check out a template or advanced pref.
		<<11/21/00; 3:09:16 PM by PBS
		<<9/6/01; 7:49:09 PM by JES
			<<Changed params from a list to a record of named parameters, for SOAP compatibility.
	itemName = string.dropNonAlphas (itemName);
	with adrSitePrefs^ {
		local (params = {"username":username, "password":string (password), "siteName":siteName, "itemName":itemName});
		return (betty.rpc.client (host, port, "manila.advancedPref.checkOut", @params, rpcPath:rpcPath, flShowMessages:false))}}

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.