According to Reh, Oliver:
> I�m running htdig 3.1.6.
> 
> I added to htdig.conf:
> 
> template_map: Long long ${common_dir}/long.html \
> Short short ${common_dir}/short.html
> template_name: long
> 
> add_anchors_to_excerpt: true
> 
> 
> My long.html looks like:
> 
> <dl><dt><strong><a 
> href="$&(URL)$(ANCHOR)">$&(TITLE)</a></strong>$(STARSLEFT)
> </dt><dd>$(EXCERPT)<br>
> <em><a href="$&(URL)$(ANCHOR)">$&(URL)$(ANCHOR)</a></em>
> <font size="-1">$(MODIFIED), $(SIZE) bytes</font>
> </dd></dl>
> 
> 
> My anchors look like:
> 
> <a name="s04fck20010408-1963_23a.jpg"
> href="main.php4?keyw=s04fck20010408&image=1963_23a.jpg" target="main"><img
> SRC="imcreate.php4?keyw=s04fck20010408&image=1963_23a.jpg" BORDER=0
> width=149 height=100></a>
> 
> 
> I ran rundig.
> When I�m performing a search, anchors seem to be ignored...
> 
> Any idea?

I think there's a bit of a problem in htsearch in that the ANCHOR template
variable is not set if the search word isn't found in the excerpt.
I believe this to be incorrect behaviour on the part of htsearch's Display
class.  On the other hand, if anchor links are showing up in the excerpt,
but not in the links before and after the excerpt (in the long template),
that would be a different matter.

BTW, sorry for the delay in responding.  I'm just now working through
a backlog.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
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

_______________________________________________
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