WebAIM - Web Accessibility In Mind

E-mail List Archives

CSS spiders

for

From: Cliff Tyllick
Date: Jul 9, 2013 6:24PM


Is there a tool—or perhaps a way to use a common tool like Google Analytics or Webtrends—to spider a site, identify what stylesheets are in use, and label them according to directory containing pages that call them?

For example:

Stylesheets called by all pages in or below /top-level-directory-1:
relative-path/css-1.txt
/top-level-directory-2/path/css-2.txt

Stylesheets called by all pages in or below /top-level-directory-2:
relative-path/css-2.txt
relative-path/css-2b.txt
/top-level-directory-1/path/css-1.txt
/top-level-directory-3/path/css-3.txt

And so on.
Seems to me the solution might be trivial. Even so, if it already exists, using what exists would be easier than trying to re-create it.

Thanks!

Cliff Tyllick
@clifftyll