Parsing Javascript in PHP?

Tom B

New member
I am trying to make some type of website optimizer, which right now is going pretty good. I can get plenty of info such as file size, validation of html and css, an array full of all css files, etc.

The point is I know search engines choke on JS, so they ignore it. But is there some way to parse it with PHP, so for example I could get the file size of any and all images/ files js attached?

Thanks,

- Tom
 
Back
Top