According to eli wendkos:
> 
> 
> I am curious if there is any way I can use htsearch/htdig to resolve a 
> problem I've got.  
> Can anyone think of a way I can send a string via an html link, i.e.
> 
> <A HREF="blah/cgi-bin/htsearch?January">January</A>?
> 
> I want to be able to set up predefined searches and access them from a 
> link, rather than a form.

Use something like <A HREF="blah/cgi-bin/htsearch?words=January">January</A>.

For a more complex example:

http://www.scrc.umanitoba.ca/cgi-bin/htsearch?config=scrc&words=intrathecal+baclofen+spasticity+control

Any input variables in the search form can be passed as part of a URL as
above.

> Additionally, I'm having a problem getting some numbers indexed.  I added 
> allow_numbers: true to my config file, but for some reason, it looks like 
> only numbers that are combined with letters (i.e. 1980's, 12week, etc) 
> are indexed.  I can't get just "1999" to appear in the word list.  Any 
> ideas?

By default, there must be at least one letter in a word for it to be
treated as a valid word.  Setting allow_numbers to true changes that, but
this test is done by htdig, not htsearch.  Did you rebuild your index from
scratch after setting allow_numbers?

-- 
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
------------------------------------
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