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


	<<2/15/11; 3:56:35 AM by DW
		<<Example script to set up a new hose. For instructions, see the tutorial at: 
if dialog.ask ("Domain name for your hose server?", @user.prefs.hosename) {
	local (adrhose = feedhoseSuite.initHose ("nyTimes", true));
	adrhose^.prefs.enabled = true;[user.prefs.hosename] = @feedhosewebsite;
	local (adrdata = feedhoseSuite.init ());
	adrdata^.server.prefs.defaultHose = "nyTimes"}

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.