AW: [htdig] Template_map: example

Subject: AW: [htdig] Template_map: example
From: Stein, Thomas (AGLW) (
Date: Fri Jan 14 2000 - 10:30:35 PST

Just a comment.
I had a problem as I used the .htm extension instead of the .html. I couln't
get it to accept those template files even I have changed them in the
htdig.conf correctly. I had to move those template files to .html again and
it worked perfectly (it applyed for footer.html, header.html and the other
files in the common directory). A bug ?
Thomas Stein

        -----Ursprüngliche Nachricht-----
        Von: Gilles Detillieux []
        Gesendet am: Freitag, 14. Januar 2000 19:12
        Betreff: Re: [htdig] Template_map: example

        According to AlexRe:
> now I want to personalize the html results page... I have found
> examples about configuring the header, the footer, the nomatch and
> errorsyntax pages, but I am quite lost with the template_map
> Does somebody knows a good example where I can see a template_map
> 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
        in template_map. The template variables you can use are documented

        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:
        Spinal Cord Research Centre WWW:
        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
        You will receive a message to confirm this.

To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.

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