According to Kevin Quinn:
> I have a dynamic site published from a database that is indexed by htdig.
> For each object the keyword meta tag is inserted with the contents of every
> section and document type the object belongs to.  Like so:
[snip]
> I have two problems with this:
> 
> 1) I cannot have two form inputs with the same name (the second gets lost)
> 2) I would like to have both selects as multiple selects
> 
> I know multiple select is possible with exclude and restrict, but is not
> available for keywords.
[snip]
> Does anyone have ideas as to how the above might be accomplished?  I might
> even be coerced into throwing some money at the problem.

How much money is this worth to you?  :)

--- htdig-3.1.2.bak/htsearch/htsearch.cc        Thu Apr  8 07:41:03 1999
+++ htdig-3.1.2/htsearch/htsearch.cc    Wed Aug 18 10:14:45 1999
@@ -174,7 +174,7 @@ main(int ac, char **av)
     if (input.exists("exclude"))
        config.Add("exclude", input["exclude"]);
     if (input.exists("keywords"))
-       requiredWords.Create(input["keywords"], " \t\r\n");
+       requiredWords.Create(input["keywords"], " \t\r\n\001");
     if (input.exists("sort"))
        config.Add("sort", input["sort"]);
 

This should allow multiple keywords parameters in search forms.  Planned
for 3.2 is some more consistent handling of all input parameters, which
I may or may not have time to implement before I leave on holidays in a
few weeks.

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