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

on read (url, adroutline) {
		<<3/27/02; 2:10:46 AM by JES
			<<Add the cloudInfo to the subscription table, if the cache has a cloud table.
		<<3/24/02; 12:35:06 AM by JES
			<<Call through to get the outline, instead of converting the outline using op.xmlToOutline here.
				<<Old code:
					<<local (xmltext = tcp.httpreadurl (url))
					<<op.xmltooutline (xmltext, adroutline)
	local (oldtarget = target.set (adroutline)); (url, adroutline:adroutline);
	local (adrdata = radio.outliner.init ());
	local (adrsub = @adrdata^.subscriptions.[url]);
	radio.outliner.initSubscription (adrsub);
	bundle { //get cloud info
		local (adrcloud);
		if radio.outliner.getCloudInfoFromCache (url, @adrcloud) {
			adrdata^.subscriptions.[url].cloudInfo = adrcloud^}};
	try {target.set (oldtarget)};
	return (true)};
bundle { //test code
	read ("", @workspace.o)}

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.