Re: unusual search problem

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20695
interpreted = N
texte = >>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%2BGTElooks like this on the web page itself:US West+GTEBut 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 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)
>>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%2BGTElooks like this on the web page itself:US West+GTEBut 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 Kenneth Grome

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:

emailer cc to figured out (1997) Stopping bad HTML propagation ? (1997) WC2f3 (1997) How do I handle extra spaces? (2002) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) WebDNA Book? (2003) Frames and WebCat (1997) WebCat editing, SiteGuard & SiteEdit (1997) New WebDNA Solutions ... (1997) A little syntax help (1997) RE: ANother SHOWIF problem (1997) [WebDNA] [convertchars] and ascii problem (2010) Email notification to one of multiple vendors ? (1997) searchable list archive (1997) WebCatalog occasionally stopping (2001) Multiple Search Fields (1998) WebCat2_Mac RETURNs in .db (1997) RE: NewCart+Search with one click ? (1997) WebCat name recognition (was MacFinder -- a new WebDNA web site) (1998) Pithy questions on webcommerce & siteedit (1997)