AW: [htdig] Template_map: example


Subject: AW: [htdig] Template_map: example
From: Stein, Thomas (AGLW) (Thomas.Stein@fao.org)
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 [SMTP:grdetil@scrc.umanitoba.ca]
        Gesendet am: Freitag, 14. Januar 2000 19:12
        An: are61253@alu.uah.es
        Cc: htdig@htdig.org
        Betreff: Re: [htdig] Template_map: example

        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.

------------------------------------
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:29:21 PST