Re: [htdig] Template_map: example


Subject: Re: [htdig] Template_map: example
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri Jan 14 2000 - 10:12:22 PST


According to AlexRe:
> now I want to personalize the html results page... I have found some
> examples about configuring the header, the footer, the nomatch and the
> errorsyntax pages, but I am quite lost with the template_map options...
> Does somebody knows a good example where I can see a template_map file
> source code??

The sample htdig.conf contains a few commented-out lines that give
an example of a template_map setting (as does the htdoc/attrs.html
file). The acutal sample template files are common/long.html and
common/short.html which do the same thing as their corresponding
builtin templates. You may edit these directly to do as you want,
or copy them into other template files if you use different file names
in template_map. The template variables you can use are documented in
htdoc/hts_templates.html.

If your ht://Dig distribution doesn't have these examples, you've
installed an older version, and should upgrade to 3.1.4.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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 htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Jan 14 2000 - 10:13:00 PST