[theme-reviewers] CSS parser

Otto otto at ottodestruct.com
Wed Sep 29 17:15:17 UTC 2010


Neat, but is there any particular reason you didn't want to use CSSTidy?

http://csstidy.sourceforge.net/

-Otto



On Wed, Sep 29, 2010 at 7:41 AM, Ryan Hellyer <ryan at pixopoint.com> wrote:
> Hi everyone,
> Not sure if it's of any use to you guys, but I needed to write a CSS
> parser to convert user inputted CSS into a WordPress friendly format.
> Since I'd already written the parser, I dumped it onto a page on my
> site so that anyone can make use of it.
>
> http://pixopoint.com/products/wordpress-css-parser/
>
> I just wanted to post it here in case it's of use for cleaning up CSS
> in themes which aren't initially coded to comply with the WordPress
> CSS standards.
>
> If you would like a copy of the PHP which parses the CSS, just flick
> me an email and I'll send it through. It's not pretty, but it's
> functional :P
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>


More information about the theme-reviewers mailing list