According to Pete Prodoehl:
> I've modified the header, footer, and long templates so that I can 
> output XML in a search result, but I still get this bit in the excerpt:
> 
> <b><tt>... </tt></b> blah blah blah <strong>
> <a href="http://foo.com/foo.html";>blah</a>
> </strong> blah blah blah <b><tt> ...</tt></b>
> 
> Where would I look to control the <b>, <tt>, etc?
> 
> I'd like to either strip the html encode it as such:
> 
>    &lt;b&gt;&lt;tt&gt;
>    &lt;a href="..."&gt; etc...
> 
> 
> (I'd also probably change the <b> to <strong> but that's a separate issue ;)
> 
> I've looked through the templates and config variables, but still 
> haven't found how to control this... Can I?

See http://www.htdig.org/attrs.html#start_ellipses
    http://www.htdig.org/attrs.html#end_ellipses
    http://www.htdig.org/attrs.html#start_highlight
    http://www.htdig.org/attrs.html#end_highlight
and http://www.htdig.org/attrs.html#add_anchors_to_excerpt

E.g.:

add_anchors_to_excerpt: false
start_ellipses: ...
end_ellipses:   ...
start_highlight:
end_highlight:

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
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