On Mon, Oct 11, 1999 at 09:14:46AM -0500, Geoff Hutchison wrote:
> 
> >in one page, it only displays the first one. Is there any way to
> >configure htsearch so it displays all hits in one page? Some other
> 
> I'm not quite sure what you mean. For one, the max_head_length 
> attribute changes how much of the document is stored. By default, 
> longer documents will not have the entire page stored.

I realise this. Let us assume that I have most of the documents stored.
 
> Beyond that, I *think* you mean you'd like to have the page come up 
> with the hits highlighted. This is not something ht://Dig does, 
> though some people have talked about using ht://Dig to pass the 
> search words to PHP or Perl scripts to do the highlighting. It's not 
> an easy task.
> 
Here I am not quite sure what you mean. Say I search for the word
"orbital". It gives me 36 hits displayed 9 per page (I set the 9).
Each hit consists of the page title as a highlighted URL followed by
the 4 lines of context around the first time it finds the word "orbital".
The word "orbital" is highlighted as bold.

Now say in one page it finds the word orbital three times in widely
spaced lines of the page - say lines 2, 8, and 20. I want it to give 4
lines output for each of these hits - 12 lines in all, say lines 1-4,
7-10 and 19-22, say separated by a blank line. 

Is this possible? With either swish-e or glimpse (I forget which) I got
n lines for n hits in one page. If it found the word once, it gave 1
line. If it found it 9 times it gave 9 lines. I want something like this
in htdig.

Cheers, Brian.
-- 
        Associate Professor Brian Salter-Duke (Brian Duke)
Chemistry, Faculty of Science, IT and Education, Northern Territory University,
  Darwin, NT 0909, Australia.  Phone 08-89466702. Fax 08-89466847
[EMAIL PROTECTED]  http://www.smps.ntu.edu.au/school/compchem.html

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.

Reply via email to