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;
}
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.