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

on search () {
		<<8/18/02; 7:03:26 PM by JES
			<<If this server is not a search engine server, return the empty string.
		<<8/8/02; 3:13:31 AM by JES
			<<Created. Render a miniature search form.
	if not config.mainResponder.prefs.flSearchEngine {
		return ("")};
	local (htmltext = "");
	on add (s) {
		htmltext = htmltext + s};
	add ("<form method=\"get\" action=\"" + + "\"><nobr>");
	add ("<input type=\"text\" name=\"q\" size=\"13\" value=\"\"> ");
	add ("<input type=\"submit\" value=\"Search\">");
	add ("</nobr></form>");
	return (htmltext)}

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.