Digg Widget 2.0
Blogging, Programming April 30th, 2007 - 3,179 views
A couple of weeks ago I wrote a post on the Vino2Vino development blog about a digg widget that displayed your friends’ digg activity on your blog. I wrote the widget in response to a request by another digg user. If you didn’t read the original post, the widget displays a list of articles recently dugg by your friends. As I said in the original post, the code was a simple proof of concept, but it drew a lot of attention and a lot of criticism.
The complaints were all pretty accurate (no built-in caching, scraping data instead of using RSS, poor styling, etc.), and I promised to address them in a future release of the widget. So here it is — DiggFriends 0.02 Beta. You can see a working example of the new version in the sidebar here on my blog.
Features
Installation
Installing the WordPress plugin is pretty simple. Download the plugin and unzip it in your wp-content/plugins directory. Go to the “Plugins” tab in the Wordpress administration menu and activate the “DiggFriends” plugin (make sure you deactivate version 0.01 if you still have it installed). After activating the plugin you should see a “DiggFriends” sub-menu item under the Wordpress “Options” tab where you’ll be presented with a number of configuration options including the user to track, the number of stories to display, and cache duration, among other things.
The last step differs depending on whether or not you are using the Wordpress Widget plugin. If you aren’t using the plugin, you must place a call to the diggfriends() function in your theme file where you want the widget displayed (probably in wp-content/themes/<your theme>/sidebar.php). If you’re using the Widget plugin you can add DiggFriends to your sidebar through the drag-and-drop widget administration panel under the “Presentation” tab.
I’d like to thank all of the people who left comments on my previous post, however critical. They provided valuable guidance while implementing this new version.

June 16th, 2007 at 2:28 pm
Tried to get this working, but continually ran into an API error: Invalid key
I only tried to use the PHP command in my own sidebar widget. I use a K2 theme variant, so I’m very hesitant to use pre-built widgets not specifically tested with K2 modules.
I hope you continue work on this. I’ve seen nothing that looks on a par with your design.
WookieCookie Says:January 6th, 2008 at 2:10 pm
This download link is broken!! I’ve been trying to get a digg plugin that works but still no luck. I apprecate your hard work but no good if nobody can download it.