htdig: Output templates, WORDS and boolean method pbs


heddy Boubaker (boubaker@cenatls.cena.dgac.fr)
06 May 1998 14:31:01 +0200


 hi happy diggers...
 
 I've a problem with an output template and $(METHOD) and $(WORDS).
 Lets say the output template is like that:
 
 ....
<form method="get" action="$(CGI)">
<input type=hidden name=config value="$(CONFIG)">
 Method: $(METHOD)
 Search: <input type="text" size="30" name="words" value="$(WORDS)">
<input type="submit" value="Go">
</form>
 ...

If the main search form had been called with `any' or `all' methods no
problemo user will see something he knows. But if the `boolean' method was
used all the boolean expression is lost in the text field, I know I could use
the $(LOGICAL_WORDS) variable instead but if I do that the problem will be the
opposite (pb w/ `all' or `any' methods). Even LOGICAL_WORDS is not really what
I need because it expand synonyms too; the best would be WORDS w/ boolean
syntax in it ...

Is there a way to achieve that ? That is having $WORDS in my text field when
`all' or `any' methods are used and having LOGICAL_WORDS when `boolean' method
is ?

 

-- 

- heddy - ---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to htdig-request@sdsu.edu containing the single word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:26:16 PST