Monday, November 08, 2010 at 12:03 AM.
system.verbs.builtins.html.utilities.testDavenet
local (folder = "Macintosh HD:Websites:DaveNet Website:Input Folder:", f); fileloop (f in folder) { local (s); s = "<html>\r<head><title>Testing</title></head>\r<body bgcolor=\"#CCCCFF\" text=\"#000000\" link=\"#FF0000\" vlink=\"#0000CC\">"; s = s + file.readwholefile (f) + "\r</body></html>"; msg (file.filefrompath (f) + "; " + string.memAvailString ()); Netscape.displaytext (html.macTextFilter (s)); clock.waitseconds (1)}
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.