--- Keith Christian <[EMAIL PROTECTED]> wrote:
> Greg, I'd like to know which templates you modified to print out the
> numerical
> values of $(PERCENT) and $(SCORE).
> 
> I was trying to get those to display a few months ago under 3.1.6 and
> never
> got anywere.
>

Keith,

I am using 3.2.0-b2 that ships with RH 7.3 (*really old* and somewhat
buggy from what Gilles has said).

In my htdig.conf:

  template_map: \
      Long long /home/apache/htdig/templates/long_result.html \
      Short short /home/apache/htdig/templates/short_result.html

  template_name: long

In long_result.html:

  <dl>
    <dt>
      <strong><a href="$&(URL)">$&(TITLE)</a></strong>$(STARSLEFT)
      <FONT SIZE="-2">$(SCORE), $(PERCENT)</FONT>
    </dt>
    <dd>
      $(EXCERPT)<br>
      <em><a href="$&(URL)">$&(URL)</a></em>
      <font size="-1">$(MODIFIED), $(SIZE) bytes</font>
    </dd>
  </dl>

(Hope these tags don't get all munged up...if you are using an
HTML-enabled reader, you might need to View Source this email).

Hope this helps,
greg_fenton.

=====
Greg Fenton
[EMAIL PROTECTED]

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to