Re: grep twice or a better way....
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69479
interpreted = N
texte = Olin Lagon wrote:> You could remove the html ONLY from cases that include the youtube code.> Something like> > [if "[url][blogtext][/url]"^"[url]
[then]> [getchars start=1&end=150]> [removeHTML][blogtext][/removeHTML]> [/getchars]> [/then]> [else]> [getchars start=1&end=150][grep ...][blogtext][/grep][/getchars]> [/else]> [/if] > > -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of> Lester> Sent: Sunday, November 11, 2007 3:36 PM> To: WebDNA Talk> Subject: Re: grep twice or a better way....> > hmmmmm.> I'll see if that works in a bit...> so simple it just might LOL> > Except in some cases people use some additional formating, which hasn't been> a problem in the summaries, but the images/videos always would be... so> removing everything may be too much. But it's a way I never thought of....> > lesterHi Lester,For blogs and forums, I suppose this is why you see custom formatting code much of the time.(VBcode).I build my own custom formatting sometimes... for example, using a custom database:--customformat.db--FROMTO |B|TO |/B|TO --the file--|B| This is bold |/B|[convertwords db=customformat.db][convertchars][thebloggerstext][/convertchars][/convertwords]Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Olin Lagon wrote:> You could remove the html ONLY from cases that include the youtube code.> Something like> > [if "[url] [blogtext][/url]"^"[url] [then]> [getchars start=1&end=150]> [removehtml] [blogtext][/removeHTML]> [/getchars]> [/then]> [else]> [getchars start=1&end=150][grep ...][blogtext][/grep][/getchars]> [/else]> [/if] > > -----Original Message-----> From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of> Lester> Sent: Sunday, November 11, 2007 3:36 PM> To: WebDNA Talk> Subject: Re: grep twice or a better way....> > hmmmmm.> I'll see if that works in a bit...> so simple it just might LOL> > Except in some cases people use some additional formating, which hasn't been> a problem in the summaries, but the images/videos always would be... so> removing everything may be too much. But it's a way I never thought of....> > lesterHi Lester,For blogs and forums, I suppose this is why you see custom formatting code much of the time.(VBcode).I build my own custom formatting sometimes... for example, using a custom database:--customformat.db--FROMTO |B|TO |/B|TO --the file--|B| This is bold |/B|[convertwords db=customformat.db][convertchars] [thebloggerstext][/convertchars][/convertwords]Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:>(608) 770-3822 TALK:>http://artglass-forum.com WEB:> http://www.euca.us & http://www.egg.bz =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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:
More on the email templates (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
Accessing Storebuilder (2000)
Reversed words (1997)
Https not showing products (2004)
autosensing lanague selection (1997)
[shownext] and sort (1998)
multiple front end servers (2004)
Mixing and/or in searches (1998)
loops (2000)
Configuring E-mail (1997)
FW: WebDNA-Talk searchable? (1997)
Selected Item in Pop-down (2003)
IE Cache Problems... (1999)
PCS Frames (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
NT b19 sends extra MIME headers (1997)
Intermitent problem using [referrer] (1997)
[format] problem (2001)
Internet Explorer 6 Form problems (2005)