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


on getRefconHtml (outlineadr, s) {
	<<the main bbs outline has a refcon handle linked into each headline
		<<it contains the HTML text used to represent the headline
		<<this call into the UCMD builds an indented HTML outline of the refcon text of each head
		<<it replaces occurrences of %A5 in the refcon text with the 2nd param, a string
	local (data);
	pack (outlineadr^, @data);
	return (appleEvent (@html.ucmds.outlineops, 'ucmd', 'html', '----', data, 'mail', string (s)))}
	<<return (appleEvent ('OUTS', 'outs', 'html', '----', data, 'mail', string (mailaddress)))

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.