see http://htmlmuncher.com
How it Works
- You pass in a list of CSS, HTML, and JavaScript files to be rewritten
- The CSS and JavaScript files are scanned to find any class and id references
- The classes and ids are mapped to new classes and ids with 1 or 2 letter names (a, b, c ... aa, ab, ac ...)
- The files are rewritten with the new class and id names and saved to a new location on disk
easy_install http://htmlmuncher.com/htmlmuncher.egg
OR
cd html-muncher
python setup.py install
Questions & Comments