Re[3]: searches with dash, period etc. (back form politenes
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 25955
interpreted = N
texte = I hate to pick on you, but your problem was not caused by anything that PCS/SMdid; WebCat worked completely as designed. This support list acts as a filterfor PCS/SM tech support; they cannot respond to every question, nor should weexpect them to. If you expect that kind of support, expect to pay for it. Yousimply did not recognize that you were having a problem with the spaces.When John Hill responded to Ken's e-mail, he was working with the knowledge thatWebCat _does work_ as designed and documented. He even provided an example pagewhich demonstrated it. As often as Ken responds to e-mail on this list, he isnot always right, but he is always opinionated. I think John was correct tochastise Ken for stating erroneously that wbrk did not work. Ken was wrong andJohn was correct in pointing it out. He could have done it more gently, though,to save Ken's feelings ;)Although there is more than one person at PCS/SM who could have caught yoursimple error, it was caught by several people on this list. It was a classiccase of PEBTAC (Problem Exists Between Terminal And Chair). It is not yourfault, everyone misses something obvious sometimes, even me. But it is notreasonable to expect PCS/SM to think for you, nor is it reasonable to expectthem to respond to every question for help. For that kind of support, you wouldbe talking about $2500/developer/yr service contracts, which are usual forprograms costing $25,000 per site.My 2 cents,John Peacock____________________Reply Separator____________________Subject: Re[2]: searches with dash, period etc. (back form politenesAuthor:
(WebCatalog Talk)Date: 1/6/00 4:10 PMYES it works! Thank you!!!John(s) you were both precisely correct about the space causing myproblems. I was so relieved to get this functioning that I let out a yellthat could be probably be heard at PCS's headquarters. This littleproblem has caused me a ridiculous amount of frustration and I havewasted days and days reworking our development to get around using thistechnique and its delayed our launch by several weeks.And I don't want to sound ungrateful, but my relief to have this working isof course tempered by the realization of how much time and energy couldhave been saved had PCS/SM responded to any of the multiple requests forsupport with this simple issue.Most appreciatively,Marty Schmid>Oh, is that what this is all about. You are not understanding wbrk>correctly.>Note carefully that there is a space after each comma in the namelist.>When you>overrode the default wbrk characters with comma, WebCat correctly determined>that Joe Jones is not the same as Joe Jones (from the database), and the>same for the other case.>>You need to clean up your name list to only contain the names and commas; you>cannot add space to the wbrk list since that will break on first name/last>name>as well. The characters in the wbrk list are all of the characters that are>used as delimiters, and only those characters are stripped from the test>string.>>This will work as advertised:>> [text]namelist=Joe Smith,Joe Jones,Joe Roberts[/text]>> [search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>>HTH>>John Peacock>____________________Reply Separator____________________>Subject: Re: searches with dash, period etc. (back form politeness)>Author: (WebCatalog Talk)>Date: 1/6/00 1:25 PM>>John, thanks for the response & acknowledgement.>Ok here's my example that was posted to the list as well as sent to tech>support:>>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe>Roberts[/text]>>and a db with:>Name ID>Joe Smith 1>Joe Jones 2>Joe Roberts 3>Joe Brown 4>>My search is:>[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>or>[search>db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]]>>Which uses the wholeword modifier and specifies what the word delimiter is>(,) so the effect should be that the term Joe Smith is treated in the>search as a whole word, followed by Joe Jones & Joe Roberts, so that>all records are returned except for Joe Brown's.>>This now only returns the first instance - Joe Smith. URLing the break>character has no affect.>>Marty Schmid>>>>>>>Yes, I was inconsiderate with my post and I apologize. I certainly>>appreciate Ken's help on this list. However, unless I'm not understanding>>something that's been written, it works like I said. I've set up a test>>page so you can see the difference the wbrk parameter makes. It does>>replace the word break list. If any of you have code where it doesn't look>>like this happens please post it. One thing that has made this appear not>>to work is not URLizing the word brak characters (especially the space>>character). Hit this page to see what I mean:>>>>http://search.smithmicro.com/wbrk.tpl>>>>John.>>>>--------------------------------->> John A. Hill>> Smith Micro Software>> Internet Solutions Division>>eCommerce / Consulting / Hosting>> http://www.smithmicro.com>>(formerly Pacific Coast Software)>>-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
|
- Re[3]: searches with dash, period etc. (back form politenes (jpeacock@univpress.com 2000)
|
I hate to pick on you, but your problem was not caused by anything that PCS/SMdid; WebCat worked completely as designed. This support list acts as a filterfor PCS/SM tech support; they cannot respond to every question, nor should weexpect them to. If you expect that kind of support, expect to pay for it. Yousimply did not recognize that you were having a problem with the spaces.When John Hill responded to Ken's e-mail, he was working with the knowledge thatWebCat _does work_ as designed and documented. He even provided an example pagewhich demonstrated it. As often as Ken responds to e-mail on this list, he isnot always right, but he is always opinionated. I think John was correct tochastise Ken for stating erroneously that wbrk did not work. Ken was wrong andJohn was correct in pointing it out. He could have done it more gently, though,to save Ken's feelings ;)Although there is more than one person at PCS/SM who could have caught yoursimple error, it was caught by several people on this list. It was a classiccase of PEBTAC (Problem Exists Between Terminal And Chair). It is not yourfault, everyone misses something obvious sometimes, even me. But it is notreasonable to expect PCS/SM to think for you, nor is it reasonable to expectthem to respond to every question for help. For that kind of support, you wouldbe talking about $2500/developer/yr service contracts, which are usual forprograms costing $25,000 per site.My 2 cents,John Peacock____________________Reply Separator____________________Subject: Re[2]: searches with dash, period etc. (back form politenesAuthor: (WebCatalog Talk)Date: 1/6/00 4:10 PMYES it works! Thank you!!!John(s) you were both precisely correct about the space causing myproblems. I was so relieved to get this functioning that I let out a yellthat could be probably be heard at PCS's headquarters. This littleproblem has caused me a ridiculous amount of frustration and I havewasted days and days reworking our development to get around using thistechnique and its delayed our launch by several weeks.And I don't want to sound ungrateful, but my relief to have this working isof course tempered by the realization of how much time and energy couldhave been saved had PCS/SM responded to any of the multiple requests forsupport with this simple issue.Most appreciatively,Marty Schmid>Oh, is that what this is all about. You are not understanding wbrk>correctly.>Note carefully that there is a space after each comma in the namelist.>When you>overrode the default wbrk characters with comma, WebCat correctly determined>that Joe Jones is not the same as Joe Jones (from the database), and the>same for the other case.>>You need to clean up your name list to only contain the names and commas; you>cannot add space to the wbrk list since that will break on first name/last>name>as well. The characters in the wbrk list are all of the characters that are>used as delimiters, and only those characters are stripped from the test>string.>>This will work as advertised:>> [text]namelist=Joe Smith,Joe Jones,Joe Roberts[/text]>> [search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>>HTH>>John Peacock>____________________Reply Separator____________________>Subject: Re: searches with dash, period etc. (back form politeness)>Author: (WebCatalog Talk)>Date: 1/6/00 1:25 PM>>John, thanks for the response & acknowledgement.>Ok here's my example that was posted to the list as well as sent to tech>support:>>I have a value list such as: [text]namelist=Joe Smith, Joe Jones, Joe>Roberts[/text]>>and a db with:>Name ID>Joe Smith 1>Joe Jones 2>Joe Roberts 3>Joe Brown 4>>My search is:>[search db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=,]>or>[search>db=nametest.db&wonamedatarq=[namelist]&nameword=ww&namewbrk=[url],[/url]]>>Which uses the wholeword modifier and specifies what the word delimiter is>(,) so the effect should be that the term Joe Smith is treated in the>search as a whole word, followed by Joe Jones & Joe Roberts, so that>all records are returned except for Joe Brown's.>>This now only returns the first instance - Joe Smith. URLing the break>character has no affect.>>Marty Schmid>>>>>>>Yes, I was inconsiderate with my post and I apologize. I certainly>>appreciate Ken's help on this list. However, unless I'm not understanding>>something that's been written, it works like I said. I've set up a test>>page so you can see the difference the wbrk parameter makes. It does>>replace the word break list. If any of you have code where it doesn't look>>like this happens please post it. One thing that has made this appear not>>to work is not URLizing the word brak characters (especially the space>>character). Hit this page to see what I mean:>>>>http://search.smithmicro.com/wbrk.tpl>>>>John.>>>>--------------------------------->> John A. Hill>> Smith Micro Software>> Internet Solutions Division>>eCommerce / Consulting / Hosting>> http://www.smithmicro.com>>(formerly Pacific Coast Software)>>-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
jpeacock@univpress.com
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 help....! (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Multiple fields on 1 input (1997)
RE: [WebDNA] Basic Search (2008)
Credit Card Checking?? (1998)
WebDNA Solutions ... sorry! (1997)
How is it done? (1998)
Help! WebCat2 bug (1997)
RE: Problems with dbcatalog.exe (1997)
Heads up, cookies *may* be outlawed in Europe (2001)
WebCat2 several catalogs? (1997)
Another bug to squash (WebCat2b13 Mac .acgi) (1997)
NetSplat and WebCat2 (1997)
PCS Frames (1997)
Secure server question (1997)
Search in 2 or more catalogs (1997)
WebCat2.0 [format thousands .0f] no go (1997)
ShowIf Question (1998)
Christmas countdown (1998)
Bad merge format error message. (2004)