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 Software eCommerce / Web Developer Tools http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: unusual search problem (John Hill 1998)
  2. Re: unusual search problem (Martin Gertz Bech 1998)
  3. Re: unusual search problem (Kenneth Grome 1998)
  4. Re: unusual search problem (Kenneth Grome 1998)
  5. Re: unusual search problem (John Hill 1998)
  6. Re: unusual search problem (PCS Technical Support 1998)
  7. unusual search problem (Kenneth Grome 1998)
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 Software eCommerce / 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:

OT: Poll Please (2002) Running _every_ page through WebCat-error.html (1997) Mailing Labels (2005) syntax question, not in online refernce (1997) Re:no [search] with NT (1997) The BUG is BACK -- leading < character (1998) Spamming this list! (2000) Errata: WCS Newbie question (1997) Tea Room trouble (1997) PCS Emailer's role ? (1997) ARGH! (2003) [ConvertChars] problem (1997) Not reading code (1997) Frames and WebCat (1997) WebDNA still will not start on restart (2002) Multiple catalog databases and showcart (1997) [search] in formulas.db (1997) Hiding HTML and breaking the page (1997) Shorthand for command args (1998) grouping fields question (1998)