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.... > > lester Hi 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:

    
  1. Re: grep twice or a better way.... ( Donovan Brooke 2007)
  2. Re: grep twice or a better way.... ( Lester 2007)
  3. Re: grep twice or a better way.... ( "Olin Lagon" 2007)
  4. Re: grep twice or a better way.... ( Lester 2007)
  5. Re: grep twice or a better way.... ( "Dan Strong" 2007)
  6. grep twice or a better way.... ( Lester 2007)
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.... > > lester Hi 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:

RE: Questions To Answer (1997) Suggestion: appendfounditems (2002) japanese characters (1997) Triggers (2003) Privacy Issue (Built in sniffer) (2003) Shopping carts and reloading pages (1997) runtime (2000) Here we go again... was: DDEConnect not working (2006) [bug] Technical Support Log Crashes Server (2004) downloadable txt file (2001) I'm tired of all this! (2000) Can I invoke an ssi plugin from within a webcat page (1997) [WebDNA] Still having problems (2008) Help Encrypt/Decrypt eMail (2003) More on the email templates (1997) CommandSecurity? (1997) html delivery (1997) re:check boxes (1997) [WebDNA] HTML Symbol Entities (2009) can WC render sites out? (1997)