Bernd Gehrmann <bernd@physik.hu-berlin.de>
Matt Koss <koss@post.sk>

To make the web search engine powerful, it is important
to have many search sites available. If you write a
definition for one, please send it to us for inclusion
in the distribution package.

Definitions for search sites are read from the
sites directory in libsearch configuration directories.

The definition files are very simple and similar
to those Apple's Sherlock. For a verbose description
see http://developer.apple.com/technotes/tn/tn1141.html.
Note that forms that are send with 'method=post' are
not supported currently. And note that I'm currently
doing very little error checking so programs that use 
libsearch may crash with a badly written site definition!

In [General]:
Name:        The name of the site.
Description: not yet used. Will be used for
             tooltips in the future
Action:      The url that is send to the server. You
             can either see this in the url line of
             the browser if you make a query "by hand"
             or look in the <form> tag in the html
             source.
Icon:        Icon shown in the result list (and in
             the future in the checklist box.

In [Input]:
NumberOfInputs: Number of name/value pairs in this section. 
                These pairs are numbered beginning with zero.
                You can find them out by looking in at the
                foo=bla elements in the url line of your
                browser.
InputName0:     Name of zeroth variable
InputValue0:    Its value.
InputUser0:     'true' of instead of a value the query string
                should be inserted

In [Interpret]:
resultListStart: String with which the result list begins in
                 the html page the server sends.
resultListEnd:   Same for the end.
resultItemStart: Inside the result list, string with which an
                 item starts.
resultItemEnd:   Same for the end.
relevanceStart:  If the server sends relevance information,
                 the first number after this string (if < 100)
                 is interpreted as relevance.
relevanceEnd:    Same for the end.
