Monday, April 04, 2011 at 1:06 AM.

rssCloudSuite.menuCommands.installInRadio2

on installInRadio2 () {
	<<Changes
		<<3/15/11; 2:12:19 PM by DW
			<<Set it up so that Radio2 uses this cloud server.
	if dialog.confirm ("Should Radio2 blogs use this rssCloud server?") {
		local (flgood = false, adr);
		for adr in @config.mainresponder.domains {
			if adr == @radio2website {
				adrdata^.prefs.cloud.server = nameof (adr^);
				flgood = true}};
		if not flgood {
			dialog.alert ("Can't find the address of the Radio2 website in config.mainresponder.domains.")};
		adrdata^.prefs.cloud.port = user.inetd.config.http2.port;
		adrdata^.prefs.cloud.path = "/rsscloud/pleaseNotify";
		adrdata^.prefs.cloud.protocol = "http-post";
		adrdata^.prefs.cloud.registerProcedure = "";
		dialog.alert ("Next time each feed is built it will have the new <cloud> element.")}};
bundle { //test code
	installInRadio2 ()}



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.