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


on initMembersRoot () {
		<<3/7/11; 10:22:14 AM by DW
			<<Set up the default group of members.root.
	local (adrdata = radio2suite.init (), adruser, username, password, adrmember);
	for adruser in @adrdata^.users {
		username = nameof (adruser^);
		password = adruser^;
		adrmember = opmlEditor.member.initMember (username, flcreate:true);
		adrmember^.prefs.password = password};
	local (adrgroup = opmlEditor.member.initGroup ());
	adrgroup^.cookieName = "opmlEditor";
	adrgroup^.cookieExpires = "Mon, 01 Apr 2030 07:00:00 GMT";
	adrgroup^.openToPublic = false};
bundle { //test code
	initMembersRoot ()}

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.