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

system.verbs.builtins.html.getSiteTable

on getSiteTable (adrDataTable = @websites.["#data"]) {
	<<makes it possible for the #ftpsite directive to be a table
		<<Did a search-replace, changing "ftpsite" to html.getSiteTable ()
		<<Sat, Jul 27, 1996 at 9:58:11 AM by DW
	<<Mon, Jan 20, 1997 at 3:03:50 PM by PH
		<<Added optional param for data location, 
		<<allows buildPageTable to work with locals
	case typeOf (adrDataTable^.ftpsite) {
		addresstype {
			return (adrDataTable^.ftpsite)};
		stringtype {
			return (@user.html.sites.[adrDataTable^.ftpsite])}};
	scriptError ("Invalid site spec.")};
bundle { <<test code
	dialog.alert (getSiteTable ())}



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.