----- Original Message -----
Sent: Wednesday, June 27, 2001 8:30
PM
Subject: AW: [aseek-users] CGI-Options
& Templates
as far as i understood tmpl will search relatvie to the etc
directory in which asp is installed,
so tmpl=x.htm
would look in /path/to/aspseek/etc/x.htm
there also
was a post that the search cgi (xyz.cgi) will look for a template file called
xyz.htm in
etc-dir. so you could make symlinks on
different search cgis with different templates
i just have tested both versions, both worked
but i haven't found out either how to specify a different
option via o=
in the s.htm there was this example to
use with format: short, long, url
i couldn't find out
how to specify different layout-options/formats in one single s.htm
maybe someone else could help us...
You can just define more than 1 of each
templates. If "o" is set to N, then max(N + 1,
NUM_TEMPLATES)th definition of each template will be used, where
NUM_TEMPLATES is the total number of defined particular
templates.
Alexander
Markus Rietzler
* kommunikation &
online service
* RZF NRW
*
Tel: 0211.4572-130
-----Urspr�ngliche Nachricht-----
Von:
Claus Jul Larsen [mailto:[EMAIL PROTECTED]]
Gesendet am: Mittwoch, 27. Juni 2001 14:00
An: '[EMAIL PROTECTED]'
Betreff:
SV: [aseek-users] CGI-Options & Templates
And how do I specify more than one template in the s.htm?
(o=)
You can use the CGI-param 'tmpl' eg.
s.cgi?tmpl=/path/to/template/ :-)
But it's a security break in the param 'tmpl' because the
absoulte path is
showed.
Claus