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


on getServerString () {
	<<Thursday, November 11, 1999 at 3:06:13 AM by AR
		<<Implemented as a kernel script in Frontier 6.1.
		<<Old code
			<<on getServerString () //old code
				<<Common script to return the server name for an HTTP header.
					<<Thu, 14 May 1998 21:36:26 GMT by RAB
					<<Thu, Feb 25, 1999 at 10:46:27 PM by PBS
						<<Call Frontier.version to get Frontier's version.
						<<Collapse the script into one line.
				<<return ("UserLand Frontier/" + Frontier.version () + "-" + sys.os ()) // set the server
	kernel (webserver.getServerString)}

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.