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

feedhoseSuite.utilities.setupTimesHose

<<Changes
	<<2/15/11; 3:56:35 AM by DW
		<<Example script to set up a new hose. For instructions, see the tutorial at: 
			<<http://frontiernews.org/2011/02/15/setting-up-a-feedhose-server/
if dialog.ask ("Domain name for your hose server?", @user.prefs.hosename) {
	local (adrhose = feedhoseSuite.initHose ("nyTimes", true));
	adrhose^.prefs.enabled = true;
	config.mainresponder.domains.[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.