Mobile version of this page
Previous:
PostgreSQL, MySQL or SQLite
Next:
How to fold clothes
Practical CSS
The Seven-day Weekend
MOHO at Restaurant show photo
10 reasons for web standards
Fry-IT people picture
Why should I use XHTML?
Optimized stylesheets
slim, a new free web service for white space optimisation
Slimmer with --hardcore
Optimize Plone.org with slimmer.py
Smooth anchor scrolling Javascript
XHTML Transitional versus Strict
Company loyalty
Python optimization anecdote
CorpCalendar review on ZopeMag.com
Corp Calendar 0.0.5
www.issuetrackerproduct.com is out!
The problem with CSS
Good design examples for a non-blog
Private functions in Javascript?
PostgreSQL, MySQL or SQLite
Next:
How to fold clothes
Related blogs
No more university for mePractical CSS
The Seven-day Weekend
MOHO at Restaurant show photo
10 reasons for web standards
Fry-IT people picture
Why should I use XHTML?
Optimized stylesheets
slim, a new free web service for white space optimisation
Slimmer with --hardcore
Optimize Plone.org with slimmer.py
Smooth anchor scrolling Javascript
XHTML Transitional versus Strict
Company loyalty
Python optimization anecdote
CorpCalendar review on ZopeMag.com
Corp Calendar 0.0.5
www.issuetrackerproduct.com is out!
The problem with CSS
Good design examples for a non-blog
Private functions in Javascript?
Related by category
XHTML, HTML and CSS compressor
http://www.peterbe.com/plog/blogitem-040406-1/compressorcheckoutabletemplates, fry-it, compress, xhtml, css, slimmer
6th of April 2004
Last week Fry-IT released CheckoutableTemplates which is a templating module add-on for Zope. It includes a module called slimmer.py which can compress XHTML, HTML and CSS. The CSS had a flaw in it that I hadn't foreseen. This flaw arises when you use M$ Internet Explorer hacks like this for example:
#centercontent {
margin-left: 259px;
margin-right:249px;
voice-family: "\"}\"";
voice-family: inherit;
margin-left: 271px;
margin-right:251px;
}
margin-left: 259px;
margin-right:249px;
voice-family: "\"}\"";
voice-family: inherit;
margin-left: 271px;
margin-right:251px;
}
Now that bug has been fixed, so I give you: The XHTML, HTML and CSS compressor
It's a little application of slimmer.py so that the compressing can be tested and so that one can see the effect.
Comment
flump -
20th August 2004
[«« Reply to this]
hey, i've been working on something like this for a while now http://flumpcakes.co.uk/css/optimiser/
hey, i've been working on something like this for a while now http://flumpcakes.co.uk/css/optimiser/
Peter -
20th August 2004
[«« Reply to this]
I like it. It's much more clever than mine. We should combine our efforts since we obviously take two completely different approaches and that they would work together. What programming language do you use?
I like it. It's much more clever than mine. We should combine our efforts since we obviously take two completely different approaches and that they would work together. What programming language do you use?
Jake Lafcraft -
7th September 2006
[«« Reply to this]
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Qween Lorry -
13th September 2006
[«« Reply to this]
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Marrick Linn -
21st September 2006
[«« Reply to this]
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Congratulations on a great web site. I am a new computer user and finding you was like coming home. Continued success.
Linda Right -
26th September 2006
[«« Reply to this]
How do you think. If I quit using internet... No, CAN I quit?
How do you think. If I quit using internet... No, CAN I quit?







Save this page in del.icio.us
These guys have done it with JavaScript but not as good and they hope to sell each license for $7.
http://www.creativyst.com/Prod/3/