Re: Content search & results

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69825
interpreted = N
texte = I have had a few requests for this code, here it is. http://dev.idfk.com.au/downloads/searchresults.zip It also includes my code for creating grouped "Show Next" navigation. The code is a few years old now (4-5) if anyone finds a better way, please let me know. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 19/02/2008, at 9:17 AM, Stuart Tremain wrote: > Gary > > Check out http://www.sydneyflyfishing.com.au > > Search for "Kingfish" in the search box > > If the results are what you are trying to achieve, please contact me > "off list". > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > On 19/02/2008, at 6:34 AM, Gary Krockover wrote: > >> Gang- >> >> I'm drawing a brain freeze at the moment, help needed. I have a >> database full of news articles. I have a simple search that >> searches the database for the keywords in a >> "woARTICLEdatarq=[url]getcontent[/url] manner. No problem. >> >> What I would like though in the results page is a list of the >> articles found with a small excerpt that contains the phrase >> searched for (not the entire article). Limiting the number of >> characters displayed is no problem of course, it's getting it to >> show the certain amount of characters beginning with the phrase >> searched for (a nice touch would be to highlight the search phrase >> as well). Any suggestions or is this too much to ask? >> >> Tanks! >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: Content search & results ( Stuart Tremain 2008)
  2. Re: Content search & results ( Stuart Tremain 2008)
  3. Re: Content search & results ( "Gary Krockover" 2008)
  4. Re: Content search & results ( Donovan Brooke 2008)
  5. Re: Content search & results ( "Gary Krockover" 2008)
  6. Re: Content search & results ( "Gary Krockover" 2008)
  7. Re: Content search & results ( Donovan Brooke 2008)
  8. Re: Content search & results ( Phil Herring 2008)
  9. Content search & results ( "Gary Krockover" 2008)
I have had a few requests for this code, here it is. http://dev.idfk.com.au/downloads/searchresults.zip It also includes my code for creating grouped "Show Next" navigation. The code is a few years old now (4-5) if anyone finds a better way, please let me know. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 19/02/2008, at 9:17 AM, Stuart Tremain wrote: > Gary > > Check out http://www.sydneyflyfishing.com.au > > Search for "Kingfish" in the search box > > If the results are what you are trying to achieve, please contact me > "off list". > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > On 19/02/2008, at 6:34 AM, Gary Krockover wrote: > >> Gang- >> >> I'm drawing a brain freeze at the moment, help needed. I have a >> database full of news articles. I have a simple search that >> searches the database for the keywords in a >> "woARTICLEdatarq=[url]getcontent[/url] manner. No problem. >> >> What I would like though in the results page is a list of the >> articles found with a small excerpt that contains the phrase >> searched for (not the entire article). Limiting the number of >> characters displayed is no problem of course, it's getting it to >> show the certain amount of characters beginning with the phrase >> searched for (a nice touch would be to highlight the search phrase >> as well). Any suggestions or is this too much to ask? >> >> Tanks! >> >> ------------------------------------------------------------- >> 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/ > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Stuart Tremain

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:

[searchString] (1997) Problems appending to database (1997) Repeating Fields (1997) Error: Missing c in orderfile???? (2005) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) formvariable funkyness (2000) PC Authorize & Webmerchant (1998) If Else Statement... (2004) Date math format (1998) Setting up shop (1997) Notepad problems - SOLVED! (1998) Questions (1998) Numbers and Numbers and Me (1999) Verifying SSL on Page (2002) WebCatb15 Mac CGI -- [purchase] (1997) Root Folder problems cont. (1998) Examples Link? (2000) Probably a very simple question? (1997) b18 problem on NT 4.0 (1997) Bug or syntax error on my part? (1997)