Re: Clean source code

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69184
interpreted = N
texte = Matthew, Yes, that's exactly what I'm talking about. I will give your solution a try. Thanks, -Dan On Mon, 23 Jul 2007 08:54:33 -0400 Matthew A Perosi wrote: > Dan, > > Are you talking about finding a good way to remove all the blank lines that are created in the >HTML by every line of WebDNA code? If so, then here's what I do: > > When I have a block of code that will create many blank lines (like a loop or founditems) I will >put "[text]garbage=" at the beginning of the block and then "end garbage[/text]" at the end of >the block. This will hide all blank spaces in my final HTML. However, it also hides output, so >I have to create a [finaloutput] variable inside the code block. I keep adding my results to >that [finaloutput] variable and then after the loop is completed I show that [finaloutput] >variable. This technique has sped up a lot of my heavily processed pages. > > ----------------- > Matthew A Perosi ------------------------------------------------------------- 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: Clean source code ( "Olin Lagon" 2007)
  2. Re: Clean source code ( "Dan Strong" 2007)
  3. Re: Clean source code ( Matthew A Perosi 2007)
  4. Clean source code ( "Dan Strong" 2007)
Matthew, Yes, that's exactly what I'm talking about. I will give your solution a try. Thanks, -Dan On Mon, 23 Jul 2007 08:54:33 -0400 Matthew A Perosi wrote: > Dan, > > Are you talking about finding a good way to remove all the blank lines that are created in the >HTML by every line of WebDNA code? If so, then here's what I do: > > When I have a block of code that will create many blank lines (like a loop or founditems) I will >put "[text]garbage=" at the beginning of the block and then "end garbage[/text]" at the end of >the block. This will hide all blank spaces in my final HTML. However, it also hides output, so >I have to create a [finaloutput] variable inside the code block. I keep adding my results to >that [finaloutput] variable and then after the loop is completed I show that [finaloutput] >variable. This technique has sped up a lot of my heavily processed pages. > > ----------------- > Matthew A Perosi ------------------------------------------------------------- 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/ "Dan Strong"

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:

Question about replacing words (1998) More than one db with the same namn (was: WC2f3) (1997) File upload woes (1998) Paypal merchant code tricks or pitfalls (2003) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) [WebDNA] Emerging from the Shell (was: unique words) (2009) Error 11 (1996) Cart problem (1999) Email Line Breaks (2003) [WebDNA] [announce] WebDNA 6.2.1x (2012) [BULK] [WebDNA] Problem with bcc email (2017) 4.02 release 10/1 (2001) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] Image Magick and Webdna (2009) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) tag request (1999) Conditional searching & displaying (1997) taxTotal (1997) emailer (1997)