Saturday, April 02, 2011 at 9:17 PM.

beautSuite.menuCommands.setDomain

<<Changes
	<<3/7/11; 3:12:40 PM by DW
		<<Also set the domain in members.root.
	<<2/16/11; 11:41:44 AM by DW
		<<Created. 
local (adrdata = beautsuite.init ());
if dialog.ask ("Domain name for server:", @adrdata^.prefs.lastDomainName) {
	local (adrgroup = opmleditor.member.initGroup ());
	local (domain = adrdata^.prefs.lastDomainName);
	config.mainresponder.domains.[domain] = @beautwebsite;
	adrgroup^.cookieDomain = domain}



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.