Tuesday, August 18, 2009 at 7:54 PM.
howtoSuite.server.pathToUrl
on pathToUrl (path, username) { <<Changes <<7/31/08; 12:38:22 PM by DW <<Created. if not (path beginswith "/") { path = "/" + path}; return (user.howto.prefs.server.baseurl + username + path)}; bundle { //test code dialog.alert (pathToUrl ("/test/fun.opml", "dave"))}
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.