According to Charlie Romero:
> I've got a hard coded link in a results template that uses $(WORDS) to do
> other kinds of searches in other databases.
> 
> This is a sample hard coded link in a default long template:
> 
> "../othersearch/search.tpl?q=$(WORDS)"
> 
> The above example works fine if the search term is a single word. If the
> search query is a string of words, where (words) are "shoe boat hat"
> htseach accurately replaces the spaces w/ plus signs in the URL but in my
> example above I only get spaces when the variable is expanded w/in the
> header of the results template.
> 
> So the results page source looks like:
> 
> "../othersearch/search.tpl?q=shoe boat hat"
> 
> How do I convert the spaces to plus signs in this example?

Right now, I don't think there's a way.  This is on the to-do list for 3.2.

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