On Sat, 28 Apr 2001, Tom Freeman wrote:

> Can anyone tell me how easy it is to change the format of the search
> results.

It's easy. See the FAQ: <http://www.htdig.org/FAQ.html#q4.2>

> Can I use the content of the first <h2><li> </li></h2> tag in a document
> as the link, rather than the pages header?
> 
> Also is it possible to change the text below the title in the search
> results, so that it displays the text below the <h2></li> tag instead?

It would be a fair amount of work to do that--the code currently doesn't
keep track of that sort of text. You could certainly change the HTML.cc
parser to replace the title with the text inside those tags, but I don't
know if that would be easier than changing the HTML files themselves to
put the text in a proper <title></title> section.

As for the excerpt, you might try excerpt_show_top assuming that tag is
towards the top of the document.

<http://www.htdig.org/attrs.html#excerpt_show_top>

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/


_______________________________________________
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