According to Oldfield, Megan D.:
> I would like to restrict htdig to only search certain departments at our
> university. I know the proper <INPUT> tag is:
>
> <input type=hidden name=restrict value=~username
>
> but I'd like to know if there is a way to customize/reconfigure the output
> results to match the department's web site look and feel, instead of having
> the main university's search look and feel?
>
> Is there an easy way to do this? Thanks!
It's fairly easy, if you have separate search forms and config files
for each department. The search form can select which *.conf file it
will use with a line like:
<input type=hidden name=config value=dept>
Each *.conf file can define a search_results_wrapper attribute (versions
3.1.1 & up) which selects the HTML file that defines the overall
format of the results page. You may also want to redefine separate
syntax_error_file and nothing_found_file attributes too. If you want
to redefine the format of search result entries on the results page,
you can define a different template, using the template_map attribute.
For descriptions of all attributes, see
http://www.htdig.org/attrs.html
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.