Wow, I just started using the darn thing and I’ve already started getting e-mails asking how I managed to get the new Digg integration tool to work in a WordPress post. Forgive me for the pause in funny financial talk as I explain how I did it in this post.
You’ll need two things:
- A Digg story URL like this one: http://digg.com/tech_deals/No_Fax_Machine_Send_ Faxes_Online_Cheap_or_Free!
- Your favorite WordPress editor open. For the love of all that is holy, turn off that fancy editor they have on by default.
Now, wherever you wish the button to appear in the post, include this check of code:
Note that this seems to only get the button to display in Firefox. Then again, I haven’t see the button working on any site in any other browser yet. Please correct me if I’m wrong.
Now you can stick Digg buttons on every blog post you ever make! Let the wave of blog spam be unleashed! (I’ll be surfing it to the front page.)
Note (July 21, 2006): Some of you may have noticed that I’ve since removed these Digg buttons. I did so partly because they were getting old and were still getting pushes, but also because the darn things don’t XHTML validate and there’s nothing about it I can do on my end. For shame, Digg!