I haven't read it all yet but Lucas Sherwood is blogging about this at
http://www.thebitbucket.net/weblog/index.cfm/coldfusion.
Joelle
Andy Matthews wrote:
> I'm have a devil of a time getting rid of white space in my code here:
> http://www.commadelimited.com/travian
>
> In some cases I've got
You may want to try "HTML Compress". It's freeware that removes white space
characters such as carriage returns, line feeds, spaces and tabs.
http://www.freesoft.fsnet.co.uk/html01.htm
By default, it works on HTML, PHP, and ASP, but its possible to extend the
application yourself to work with
ubject: Re: Supressing white space
..but is all the effort worth it?? That's the question I'd be
askingpersonally I find that it is not (although every rule has it's
exceptionsand 100K of blank lines etc, may be one of them).
Cheers
Bryan Stevenson B.Comm.
VP
10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com
"Some people call me the space cowboy. Some people call me the gangster of
love."
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 6:02 PM
To: CF-Talk
Subject: Re: Supress
There are also methods of getting the pageContext in the onRequestEnd
and cleaning the whitespace out there.
With all these tho, there can be unexpected consequences. I'd do the
output=false and enablewhitespacemanagement stuff, if possible.
:D
On 6/5/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote
.but is all the effort worth it?? That's the question I'd be
askingpersonally I find that it is not (although every rule has it's
exceptionsand 100K of blank lines etc, may be one of them).
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems
onday, June 05, 2006 4:33 PM
To: CF-Talk
Subject: RE: Supressing white space
I find a good mix of CFSilent and changing my loop structure does the
trick White space does not "happen" inside a tag, so a loop like:
Creates no white space while maintaining a certain degree of "
You can also comment out white space in your code...
#outputThis#
It isn't super pretty (better with code coloring), but works.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242462
Archives: http://www.houseoffus
I seem to recall trying that at some point in the past and it didn't work.
I'm happy to give it another shot though. Thanks Rob.
-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 4:23 PM
To: CF-Talk
Subject: Re: Supressing white sp
Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 1:21 PM
To: CF-Talk
Subject: Supressing white space
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got 30 plus line
I've used this with a reasonable degree of success. Is there a reason
for not using the obvious? I glanced at the URL and it appears to be
a CFM page, but I certainly may have missed something.
... your code ...
On 6/5/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I'm have a devil of a
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got 30 plus lines between actual HTML elements. I
wondered if some of you could suggest methods of getting rid if that. In the
case of this particular page there's nearly
I'm have a devil of a time getting rid of white space in my code here:
http://www.commadelimited.com/travian
In some cases I've got 30 plus lines between actual HTML elements. I
wondered if some of you could suggest methods of getting rid if that. In the
case of this particular page there's nearly
13 matches
Mail list logo