Re: Content search & results

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 69820
interpreted = N
texte = That looks better than what I've come up with so far; I'll give it a go later this evening when I get home - thanks! G. On Mon, 18 Feb 2008 15:20:23 -0600 Donovan Brooke wrote: > Oooops, my question was only valid in the case that the >text > was in files... for text within a webdna table, yes, I'd >go > with Phils suggestion... > > do a 'ws' type search, > > then use listwords and middle to get at your text.. > > [text]thestring=[_phrase][/text] > [text]thewords=[url][fieldvalue][/url][/text] > [!] ** set size of your text block by number of words ** >[/!] > [text]numwords=50[/text] > > [text]textstart=[middle >startafter=[url][thestring][/url]][thewords][/middle][/text] > > [!] ** note, the delimiters here are and >[/!] > [text]phraseblock=[url].(textformating).>[/url][thestring][url][/url][listwords >words=[textstart]&delimiters=[url] > [/url]][hideif [index]>[numwords]] >[word][/hideif][/listwords][/text] > > [unurl][phraseblock][/unurl] > > > .. Untested.. so may need some tweeking! > :-) > > Donovan ------------------------------------------------------------- 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)
That looks better than what I've come up with so far; I'll give it a go later this evening when I get home - thanks! G. On Mon, 18 Feb 2008 15:20:23 -0600 Donovan Brooke wrote: > Oooops, my question was only valid in the case that the >text > was in files... for text within a webdna table, yes, I'd >go > with Phils suggestion... > > do a 'ws' type search, > > then use listwords and middle to get at your text.. > > [text]thestring=[_phrase][/text] > [text]thewords=[url][fieldvalue][/url][/text] > [!] ** set size of your text block by number of words ** >[/!] > [text]numwords=50[/text] > > [text]textstart=[middle >startafter=[url][thestring][/url]][thewords][/middle][/text] > > [!] ** note, the delimiters here are and >[/!] > [text]phraseblock=[url].(textformating).>[/url][thestring][url][/url][listwords >words=[textstart]&delimiters=[url] > [/url]][hideif [index]>[numwords]] >[word][/hideif][/listwords][/text] > > [unurl][phraseblock][/unurl] > > > .. Untested.. so may need some tweeking! > :-) > > Donovan ------------------------------------------------------------- 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:

OT : Site speed feedback (2002) Plugin or CGI or both (1997) MOOOOOO (2000) Remove Command not working (2000) NT lockup (1998) Dealer locator (1998) WebCat2 - storing unformatted date data? (1997) URL too Long? (1997) Bug? (1997) PCS search results page (1998) What is WebDNA (1997) greater than or equal to (1997) Normalizing Dates and Phone numbers (2000) [OT] Who's got a cool link (2002) Rhapsody? (1997) Searching for all records (1998) Practice runs ? (1997) Answer: WebDelivery downloads alias, not original ? (1997) WebCat cannot handle compatible search parameters? (1997) WriteFile and returns... (2000)