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

	<<12/9/01; 7:04:11 PM by JES
		<<Don't open the home page here. The user needs to swap in the new app first.
	<<12/9/01; 3:10:33 PM by JES
		<<Set instead of
	<<11/2/01; 1:55:13 PM by JES
		<<Only delete www/index.opml if www/index.txt also exists.
	<<10/9/01; 5:55:14 PM by JES
		<<Set to true, to cause the home folder text files to be installed.
	<<10/7/01; 8:43:10 PM by JES
		<<Fixed a bug where the myUserLand.root Tool, and myUserLandData.root Tool databases weren't properly uninstalled.
radio.init ();
bundle { //make sure the contents of the system folder is in synch with the odb
	radio.utilities.systemFolderTextFiles.install ()};
bundle { //make sure the contents of the home folder is in synch with the odb = true;
	radio.utilities.homeFolderTextFiles.install ()};
bundle { //make sure the stories folder exists
	local (folder = + "Stories" + file.getPathChar ());
	if not file.exists (folder) {
		file.newFolder (folder)}};
bundle { //delete index.opml if both index.txt and index.opml exist
	local (f = + "index.opml");
	if file.exists ( + "index.txt") {
		if file.exists (f) {
			file.delete (f)}}};
bundle { //rebuild the menubar
	system.menus.buildMenuBar ()};
bundle { //replace the default responder
	user.webserver.responders.default.methods.any =};
bundle { //make sure the installer thread-agent is run right away
	radio.thread.agents.installer ()};
bundle { //uninstall MyUserLand.root and MyUserLandData.root
	radio.init ();
	radio.weblog.init ();
	if defined ( { = false};
	if defined ( { = false}; ()}
<<bundle //open the home page
	<<local (portstring = "")
	<<if user.inetd.config.http.port != 80
		<<portstring = ":" + user.inetd.config.http.port
	<<radio.menuCommands.openPage ("" + portstring +

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.