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,-DanOn 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:
Matthew,Yes, that's exactly what I'm talking about. I will give your solution a try.Thanks,-DanOn 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:
RE: Upload and WebCat (1998)
Problem 2 of 2 (was: Shipping Confusion) (2000)
FREE Web Server Monitor FREE (1997)
contextual shownext (1998)
Emailer (2002)
WebCatalog Hosting (1998)
[WebDNA] can webdna set the email header (w/[sendmail]) that controls where bounced email goes? (2012)
Tiny Store (1998)
Limitations on fields? Server is crashing (1997)
OT-JS why it does not run on Mac (2001)
select multiple 2 more cents (1997)
I want a 404 (2005)
[WebDNA] Apache 2 Error Log Entry (2009)
Sort Order on a page search (1997)
Protect usage (1999)
& Aftermath (1999)
Great product and great job ! (1997)
FoundItems and punctuation (2000)
Re:trouble (1997)
RE: protect tag not working (1998)