View Single Post
Old 06-02-2012, 03:55 PM   #15
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Thanks.

Getting the list of used styles should be fairly straightforward if we're just looking for classes that are used. The internal XML parsers that are used can list them like this script. How to list them is another matter.

But parsing the CSS files to find the unused items is entirely different. There are a lot more ways to define items in the CSS than I've used.

An interesting challenge to look into for a later version.
meme is offline   Reply With Quote