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 CFM code as well.

There are other programs like this out there, but I haven't tried them. One 
that I've heard a lot about is HTTPZip. FYI, it costs $349.

http://www.port80software.com/products/httpzip/?vid=2925856

Hope this helps.

Dave Gruska
Web/Windows Application Developer
Perot Systems
http://www.perot.com/

>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 100k of line breaks and tabs.
>
>I found a post by Christian Cantrell who suggested installing a servlet
>filter into the Coldfusion root:
>http://weblogs.macromedia.com/cantrell/archives/2005/01/eliminate_coldf.cfm
>
>Has anyone implemented this method? Our company hosts nearly 200 Coldfusion
>websites in our cluster. If I implement this method, does anyone know if it
>will adversely affect anyone else? Does it just get rid of whitespace for
>ALL returned code?
>
>Need some help please. Thanks.
>
><!----------------//------
>andy matthews
>web developer
>certified advanced coldfusion programmer
>ICGLink, Inc.
>[EMAIL PROTECTED]
>615.370.1530 x737
>--------------//--------->

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242568
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to