Re: removing programming logic white space
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51060
interpreted = N
texte = > On Tuesday, June 10, 2003, at 02:51 PM, Rob Marquardt wrote:>>> on 6/10/2003 4:07 pm, Glenn Busbin at GlennBusbin@alltel.net so>> noted...>>>>> I use PageSpinner for coding on a Mac and have no problems with>>> returns in>>> code, so I don't need the grep or WC comment tags.>>>> The problem is when loops with founditems,>>>>>> lineitems, etc cause linebreaks used to make>>>>>> WebDNA code more legible to be duplicated>> in the generated page, causing loads of needless>> carriage returns in the HTML page sent to>> the browser.>>>>> Rob MarquardtAnd carriage-returns for readability. And tabs to make code blocks more readable.To get rid of ALL these nasties and to reduce your overall served html size by about 30%, put these lines in your file, one at the top and the other two at the bottom.-file begin-[!][/!][LISTWORDS delimiters=%09%0A%0C%0D&words=[URL]blah blah lotsa cr's[/URL]][showif [url][word][/url]~[url]
.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:
> On Tuesday, June 10, 2003, at 02:51 PM, Rob Marquardt wrote:>>> on 6/10/2003 4:07 pm, Glenn Busbin at GlennBusbin@alltel.net so>> noted...>>>>> I use PageSpinner for coding on a Mac and have no problems with>>> returns in>>> code, so I don't need the grep or WC comment tags.>>>> The problem is when loops with founditems,>>>>>> lineitems, etc cause linebreaks used to make>>>>>> WebDNA code more legible to be duplicated>> in the generated page, causing loads of needless>> carriage returns in the HTML page sent to>> the browser.>>>>> Rob MarquardtAnd carriage-returns for readability. And tabs to make code blocks more readable.To get rid of ALL these nasties and to reduce your overall served html size by about 30%, put these lines in your file, one at the top and the other two at the bottom.-file begin-[!][/!][LISTWORDS delimiters=%09%0A%0C%0D&words=[url]blah blah lotsa cr's[/URL]][showif [url][word][/url]~[url]