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


on set (adrSitePrefs, s, windowInfoTable) {
	<<Set the text of the news item template on the server.
		<<04/30/00; 11:30:16 PM by PBS
		<<9/6/01; 8:29:09 PM by JES
			<<Changed params from a list to a record of named parameters, for SOAP compatibility.
	with adrSitePrefs^ {
		local (params = {"username":username, "password":string (password), "siteName":sitename, "s":string (s), "windowInfoTable":windowInfoTable});
		return (manila.callHandler (host, port, "manila.newsItemTemplate.set", @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.