Re: [SearchString] usage

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11637
interpreted = N
texte = Unlike the other WebDNA tags that are straight carry-overs from 1.6, [searchstring] has a similar meaning, but completely new format. Rather than outputting a human readable version of what people are searching for, [searchstring] outputs a form (method post or get) version of the entire search. This is used to build up the [shownext] links. The [searchstring] variable is only valid within a [shownext] context (see online docs for [shownext]). HOWEVER, you don't need the old-style [searchstring] anymore because all the search variables can be used individually to build up a much better version of the human readable search string.John. >I'm having trouble using [SearchString] in several situations using the >2.0f3 plug-in. > >First is in my logfile. The results pages uses this: > >[AppendFile access.log][date] [time] [SearchString] >[/AppendFile] > >But the logfile shows: > >05/27/1997 02:45:05 [SearchString] >05/27/1997 02:48:06 [SearchString] >05/27/1997 11:41:30 [SearchString] >etc. > >Why? Is [searchString] no longer supported? If so, how could I get the same >functionality for tracking user search criteria? > >The other place it doesn't work is on a results page, which outputs: > >Found 17 photos that match [searchString] and returned [numReturned] of >those items. > >Weird. It's figuring out [numFound] = 17, but not the other two WebDNA >variables. Why? > >------- >Richard Shapiro >rshapiro@infoasis.com John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 619-675-1106 Fax: 675-0372 ********************************* Associated Messages, from the most recent to the oldest:

    
  1. Re: [SearchString] usage (Grant Hulbert 1997)
  2. Re: [SearchString] usage (John Hill 1997)
  3. Re: [SearchString] usage (Richard Shapiro 1997)
  4. Re: [SearchString] usage (Grant Hulbert 1997)
  5. Re: [SearchString] usage (John Hill 1997)
  6. [SearchString] usage (Richard Shapiro 1997)
Unlike the other WebDNA tags that are straight carry-overs from 1.6, [searchstring] has a similar meaning, but completely new format. Rather than outputting a human readable version of what people are searching for, [searchstring] outputs a form (method post or get) version of the entire search. This is used to build up the [shownext] links. The [searchstring] variable is only valid within a [shownext] context (see online docs for [shownext]). HOWEVER, you don't need the old-style [searchstring] anymore because all the search variables can be used individually to build up a much better version of the human readable search string.John. >I'm having trouble using [SearchString] in several situations using the >2.0f3 plug-in. > >First is in my logfile. The results pages uses this: > >[AppendFile access.log][date] [time] [SearchString] >[/AppendFile] > >But the logfile shows: > >05/27/1997 02:45:05 [SearchString] >05/27/1997 02:48:06 [SearchString] >05/27/1997 11:41:30 [SearchString] >etc. > >Why? Is [searchString] no longer supported? If so, how could I get the same >functionality for tracking user search criteria? > >The other place it doesn't work is on a results page, which outputs: > >Found 17 photos that match [searchString] and returned [numReturned] of >those items. > >Weird. It's figuring out [numFound] = 17, but not the other two WebDNA >variables. Why? > >------- >Richard Shapiro >rshapiro@infoasis.com John A. Hill, V.P. Marketing ********************************* Pacific Coast Software * Home of the Web's best 11770 Bernardo Plaza Ct. #462 * Catalog and Merchant software San Diego, CA 92128 * http://www.smithmicro.com Phone: 619-675-1106 Fax: 675-0372 ********************************* 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:

One other big addition... (1997) can you reassign loop index? (1998) Search with Special Chars (1997) [ot] windowsXP - check this site... (2004) WebCat2b15MacPlugin - [protect] (1997) Sense/Disallow HTML tags during $Append (1997) RE: Emailer on NT! (1998) [WebDNA] Error: template... (2009) OS X permissions to write to Globals directory (2003) Error:Too many nested [xxx] contexts (1997) Sunday [search] puzzler (1999) my price won't move (1997) Country & Ship-to address & other fields ? (1997) Search Command ... A minute ago this worked...? (2000) Stopping NT WebCat service (1998) WebDNA creates DUPLICATE SHOPPING CART NUMBERS (2004) Sorting by date (1997) bug ? causes NT event log to fill (1997) Adding content advice needed (1998) possible, WebCat2.0 and checkboxes-restated (1997)