Re: Highlighting words found in a keyword search

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50478
interpreted = N
texte = Thanks all that replied, thanks Ken. Took just a little modification to get yours to work, for the archives:Search page:

Results page: [founditems] [ListWords Words=[notes]&delimiters=, ] [showif [Url][woGroup1data][/Url]^[Url][word][/Url]] [grep search=[notes]&replace=[word]][notes][/grep] [/showif] [hideif [url][woGroup1data][/url]^[url][word][/url]] [word] [/hideif] [/listwords] [/founditems]GK ----- Original Message ----- From: Kenneth Grome To: WebDNA Talk Sent: Monday, May 19, 2003 11:22 PM Subject: Re: Highlighting words found in a keyword search > Search page: > > > > > > Results page: > [search > db=notes.db&group1field=handle+pdate+ptime+notes&wogroup1datarq=[url][keywor ds][/url]&depdatesort=1&pdatetype=date&deptimesort=2] > [founditems] > [listwords delimiters= &words=[notes]] > [showif [url][keywords][/url]^[url][word][/url]] > [grep search=[word]&replace=[word][/grep] > [/showif] > [hideif [url][keywords][/url]^[url][word][/url]] > [word] > [/hideif] > [/listwords] > [/founditems] > [/search] > > > > >'Lo all- > > > >Subject should say it all, but I'm wanting to highlight all of the words > >found in the results of a user keyword search input. > > > >So far I have this, which will highlight if only 1 word is entered, but not > >highlight at all if multiple words are entered: > > > >Search page: > >
> >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > >Results page: > >[founditems] > >[ListWords Words=[notes]] > >[showif [word]^[woGroup1data]] >style=background-color:#ffff00;>[/showif][Convertchars][word][/Convertcha r > >s][showif [word]^[daword]][/showif] > >[/listwords] > >[/founditems] > > > >Ideas? > > > >Thanks, > >GK ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  2. Re: Highlighting words found in a keyword search (Brian Fries 2003)
  3. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  4. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Highlighting words found in a keyword search (Rob Marquardt 2003)
  6. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  7. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  8. Re: Highlighting words found in a keyword search (andy mowrey 2003)
  9. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  10. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  11. Re: Highlighting words found in a keyword search (Rob Marquardt 2003)
  12. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  13. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  14. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  15. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  16. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  17. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  18. Re: Highlighting words found in a keyword search (Kenneth Grome 2003)
  19. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  20. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  21. Re: Highlighting words found in a keyword search (Christer Olsson 2003)
  22. Re: Highlighting words found in a keyword search (Rajeev Kumar 2003)
  23. Re: Highlighting words found in a keyword search (Stuart Tremain 2003)
  24. Re: Highlighting words found in a keyword search (Rajeev Kumar 2003)
  25. Re: Highlighting words found in a keyword search (Tim Robinson 2003)
  26. Re: Highlighting words found in a keyword search (Kenneth Grome 2003)
  27. Highlighting words found in a keyword search (Gary Krockover 2003)
Thanks all that replied, thanks Ken. Took just a little modification to get yours to work, for the archives:Search page:

Results page: [founditems] [ListWords Words=[notes]&delimiters=, ] [showif [url][woGroup1data][/Url]^[url][word][/Url]] [grep search=[notes]&replace=[word]][notes][/grep] [/showif] [hideif [url][woGroup1data][/url]^[url][word][/url]] [word] [/hideif] [/listwords] [/founditems]GK ----- Original Message ----- From: Kenneth Grome To: WebDNA Talk Sent: Monday, May 19, 2003 11:22 PM Subject: Re: Highlighting words found in a keyword search > Search page: > > > > > > Results page: > [search > db=notes.db&group1field=handle+pdate+ptime+notes&wogroup1datarq=[url][keywor ds][/url]&depdatesort=1&pdatetype=date&deptimesort=2] > [founditems] > [listwords delimiters= &words=[notes]] > [showif [url][keywords][/url]^[url][word][/url]] > [grep search=[word]&replace=[word][/grep] > [/showif] > [hideif [url][keywords][/url]^[url][word][/url]] > [word] > [/hideif] > [/listwords] > [/founditems] > [/search] > > > > >'Lo all- > > > >Subject should say it all, but I'm wanting to highlight all of the words > >found in the results of a user keyword search input. > > > >So far I have this, which will highlight if only 1 word is entered, but not > >highlight at all if multiple words are entered: > > > >Search page: > >
> >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > >Results page: > >[founditems] > >[ListWords Words=[notes]] > >[showif [word]^[woGroup1data]] >style=background-color:#ffff00;>[/showif][convertchars][word][/Convertcha r > >s][showif [word]^[daword]][/showif] > >[/listwords] > >[/founditems] > > > >Ideas? > > > >Thanks, > >GK ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

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:

IP Address Ranges in a Database. (2003) founditems / writefile (2005) Searching using numbers (1998) CommandSecurity? (1997) Secure server question (1997) WebCatalog on G3 Macs? (1997) ShowCart (2001) File not found error message (1998) formula part 3 (2000) change the number format (1997) NT Woes (1997) WebCat2b12--[searchstring] bug (1997) Plain tex spacing for html? (2003) Country & Ship-to address & other fields ? (1997) Comments in db? (1997) Serving images from databases (1998) WebCat on 10.0.4 - iTools 6.0 (2001) Problems with [Search] param - Mac Plugin b15 (1997) what servers are supported for Typhoon? (1997) Sorting by date (1997)