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


on getCloudElement () {
		<<8/11/09; 10:57:30 AM by DW
			<<Created. Before we start propogating cloud elements all over the place, centralize the code, so if we want to move clouds, it's easy to do.
	local (adrdata = xml.rss.defaultCloud.init (), s);
	with adrdata^.prefs {
		s ="<cloud domain=\"" + server + "\" port=\"" + port + "\" path=\"" + path + "\" registerProcedure=\"" + registerProcedure + "\" protocol=\"" + protocol + "\" />"};
	return (s)};
bundle { //test code
	dialog.alert (getCloudElement ())}

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.