Re: unusual search problem
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20709
interpreted = N
texte = Oh, I see what you're trying to do. WO sees both space and plus as a word separator. If you want a different list of word separators (just plus) use the word separator parameter to specify them.John. >>>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes:>>>>>>&wofieldNamedatarq=US%20West%20GTE%20>>>>>>... but what I *wanted* for this parameter is:>>>>>>US%20WEST+GTE+>>>The work around is to wrap a [url] context around the plus character (or just specify it as its %xx equivalent) in [search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the [url] context converts + characters, even though they're legal in a URL, for this reason).>>I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that:>>&wofieldNamedatarq=US%20West%2BGTE>>looks like this on the web page itself:>>US West+GTE>>But in the search context it still acts like it did before.>In other words, the problem still remains ... :(>>Any other ideas for making this work properly?>>I already tried this:>>group1Field=brand>eqgroup1data=US%20WEST>group2Field=brand>eqgroup2data=GTE>>... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :(>>Sincerely,>Ken Grome>808-737-6499>WebDNA Solutions>mailto:ken@webdna.net>http://www.webdna.net John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Oh, I see what you're trying to do. WO sees both space and plus as a word separator. If you want a different list of word separators (just plus) use the word separator parameter to specify them.John. >>>The actual search string created by this code makes the plus signs into %20, and that screws up my searches. Here is the parameter created by this code when I check two of the checkboxes:>>>>>>&wofieldNamedatarq=US%20West%20GTE%20>>>>>>... but what I *wanted* for this parameter is:>>>>>>US%20WEST+GTE+>>>The work around is to wrap a
[url] context around the plus character (or just specify it as its %xx equivalent) in
[search] text. Then WebCat will convert it back to a plus before processing. (you will notice that the
[url] context converts + characters, even though they're legal in a URL, for this reason).>>I tried specifying it as %2B as suggested (also) by PCS Tech Support, but it doesn't work, webcat still sees the + sign as a space in terms of word separations in the search parameters, so the end result is that:>>&wofieldNamedatarq=US%20West%2BGTE>>looks like this on the web page itself:>>US West+GTE>>But in the search context it still acts like it did before.>In other words, the problem still remains ... :(>>Any other ideas for making this work properly?>>I already tried this:>>group1Field=brand>eqgroup1data=US%20WEST>group2Field=brand>eqgroup2data=GTE>>... not only using eq but also ws and wo, and nothing works properly, so there may be a problem using the webcat field grouping features too. I think I should have been able to do it that way but I still haven't found a way ... :(>>Sincerely,>Ken Grome>808-737-6499>WebDNA Solutions>mailto:ken@webdna.net>http://www.webdna.net John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Shownext from POST (2000)
[OT] Gateway and Merchant Fees! (2006)
Getting total number of items ordered (1997)
Problems appending to database (1997)
Part Html part WebDNA (1997)
FlushDatabase Suggestion (1998)
Passing info in [Addlineitem] (1997)
Sorry for the simple Question.. (1999)
A question on sub-categories (1997)
[FoundItems] solved - thanks (1997)
Unauthorized User trouble (1998)
My slower response (1997)
Word Breaks (1998)
Serial Number Question (1997)
[WebDNA] TLS 1.2 and [tcpconnect] (2018)
pc (1997)
WebDNA Solutions ... sorry! (1997)
HTML encoding in URLs (1997)
question: webmerchant connection (1997)
Thanks Grant (1997)