[htdig] RE: Multiple search indexes, Multiple template Pages

Albert Desimone jr (bdesimon@arches.uga.edu)
Wed, 16 Jun 1999 08:20:41 -0400 (EDT)

It was said:

> > I'd like to be able to use template pages (footer.html and
> > header.html)
> > for each of the sites, possibly keying off of the config files that
> > I use?
> It's all in the documentation. You set a config file in each form (or
> through a pop-up). Then you set in each config file:
> search_results_header
> search_results_footer
> (possible search_results_wrapper)
> template_map
> template_name
> ... etc.

And a thought. You could set 'common_dir' in each config file and
'include' the base, or default, configuration file. The whole
configuration file would look something like:

include: htdig.conf
common_dir: /usr/www/ss/htdig/common-u

The only problem here is the semi-static .db files will be in the
default 'common_dir' and will need to be periodically copied (or
symlinked) to the other 'common_dir's'.

The advantage is a set of directories including separate template files.


To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.

This archive was generated by hypermail 2.0b3 on Wed Jun 16 1999 - 04:35:51 PDT