Gilles Detillieux (email@example.com)
Fri, 30 Apr 1999 17:04:15 -0500 (CDT)
According to Geoff Hutchison:
> At 4:16 PM -0400 4/30/99, NetCent Pub wrote:
> >For an IE user, this wouldn't be a problem, IE would automatically convert the
> >space to a %20 and the engine works with that too. But if the user is running
> >Netscape, the space wouldn't be converted, and the results would be skewed.
> >Any idea on how to accomplish this?
> I think your best bet is to write a small Perl or PHP "wrapper" for the
> search results and change the spaces using the wrapper. For a Perl example,
> see the files in contrib/ewswrap
> For a PHP wrapper, I'll be uploading one contributed by Torsten Neuer this
> evening to the contrib section of the website.
Ultimately, I think it would be great to extend the variable substitution
mechanism for templates to allow substitutions of URL-encoded forms of any
variable. E.g. something like:
$(WORDS) - unencoded
$%(WORDS) - URL-encoded
$&(WORDS) - SGML-encoded
Thoughts? Is this worth implementing?
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> 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@example.com containing the single word "unsubscribe" in the SUBJECT of the message.
This archive was generated by hypermail 2.0b3 on Fri Apr 30 1999 - 15:18:53 PDT