News for hackers. Stuff that matters.
Re:Ask HN: Review my app, UnusedCSS.com by qeorge on Sunday March 28, 2010 @01:21PM (#1224884)
Works well, but I need it to consider the whole site.

For instance, I fed it the root URL, and most of the unused selectors it surfaced are in fact used on other parts of the website.

Re:Ask HN: Review my app, UnusedCSS.com by rlivsey on Sunday March 28, 2010 @01:30PM (#1224895)
Indeed, this works fine for pages which just contain CSS for that specific page but I'm not sure how often that actually occurs in the wild. And if you've got just a one page site then surely managing the CSS for that isn't a big issue?

For most of the sites I've worked on, I bundle up the CSS into a main stylesheet and then often one specific stylesheet per-section. If this could spider the whole site and generate a report on that then it would certainly be more useful.

Re:Ask HN: Review my app, UnusedCSS.com by mnemonik on Sunday March 28, 2010 @01:40PM (#1224908)
Thanks for the feedback!

I halfway implemented traversing whole sitemaps, but never finished because the waits were getting so long that I would need to move away from django and towards something like twisted where I could incrementally update the results and work asynchronously.

Would you rather give a sitemap or a representative list of URLs?

Re:Ask HN: Review my app, UnusedCSS.com by daleharvey on Sunday March 28, 2010 @02:08PM (#1224966)
I am the same

I would prefer it to work along the same lines as http://validator.w3.org/checklink where it just automatically spiders