Monday, November 08, 2010 at 12:07 AM.
system.verbs.builtins.xml.convertToDisplayName
on convertToDisplayName (name) {
<<Thursday, November 11, 1999 at 3:10:01 AM by AR
<<Implemented as a kernel script in Frontier 6.1.
<<Old code
<<on convertToDisplayName (name)
<<if sizeof (string (name)) > 5
<<if name [5] == tab
<<return (string.delete (name, 1, 5))
<<if sizeOf (name) > 9
<<if name [9] == tab
<<return (string.delete (name, 1, 9))
<<return (name)
kernel (xml.convertToDisplayName)}
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.