is_being_dugg() ?
June 27th, 2006 • General
Here’s a one-liner to help you figure out if you’re being dugg or not. You can use it in your WordPress to serve an altenative, less hefty version of a page. I hacked it in a couple of minutes, and Digg still don’t have an API so I couldn’t find another way. It’s very late, so please excuse me.
#!/usr/bin/php <?php function is_being_dugg() { } ?>