A testdrive with W3C’s Unicorn

It’s been about two weeks since the World Wide Web Consortium released Unicorn, it’s new all-in-one validator. The new service combines W3C’s markup validator, CSS validator, mobileOk checker, and feed validator. I’ve been using those services for a long time and use them on a daily basis. I’ve even incorporated the markup validator and the CSS validator in my semi-automated SEO scan. Continue reading “A testdrive with W3C’s Unicorn”

Use PHP to get the number of items for a domain on Digg.com

Whilst working on my semi-automated SEO scan I wanted to get the number of listings for a given domain on some social bookmarking websites. Of course Digg.com is a very well-known and widely-used bookmarking website but sadly they don’t offer a nice XML or JSON API to check the number of listings. That’s why I wrote the following code to retrieve this number. Continue reading “Use PHP to get the number of items for a domain on Digg.com”

Prevent your CSS and Javascript files from being cached

Sometimes you just don’t want your CSS or Javascript files to be cached. For instance, I don’t feeling like having to explain to a customer how to disable their cache during the development of their new website whenever they have early access or want to take a peek and don’t see the desired changes I already implemented, just because they have some greedy cache setting. Continue reading “Prevent your CSS and Javascript files from being cached”