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

on setTodaysNews (username, password, sitename, newstext) {
	local (adrsite = (sitename));
	local (adrsiteinfo = @adrsite^.["#newsSite"]);
	if string.lower (username) != adrsiteinfo^.sysopMail {
		scriptError (mainResponder.getString ("news.cantSetNewsNotSysop"))}; // 1/16/00 JES: localized
	local (groupname = adrsiteinfo^.sysopMemberOfGroup);
	mainresponder.members.getMemberTableWithPassword (groupname, username, password); //scriptErrors if password is incorrect
	local (adrmsg = (sitename));
	mainResponder.discuss.setMessageText (adrmsg, newstext);
	fileMenu.saveMyRoot (adrmsg);
	return (true)}

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.