Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.webBrowser.openFromGlossary
on openFromGlossary (name) { <<Loads a URL, using the glossary
html.data.adrpagetable = @websites.["#data"];
local (s = html.refGlossary (name));
s = string.nthField (s, '"', 2); <<pick out first double-quoted string
return (webBrowser.openUrl (s))}
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.