[Linux-disciples] CSS cleaner

Stephen R Laniel steve at laniels.org
Fri Jul 1 13:08:27 EDT 2005


Here's my first rudimentary go at writing a CSS parser. The
parser needs to do limited work (basically I just want to
get a number of stylesheets into a canonical form so that I
can strip out the redundant parts), so the parser isn't very
sophisticated. It doesn't do @import rules, for instance,
because the CSS sheets I'm dealing with are all quite basic.

http://laniels.org/scripts/cssclean.pl.txt

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050701/8ae878d0/attachment.pgp


More information about the Linux-disciples mailing list