Ok. I’ve had some requests for my digg widget. So here it is.
Basically all it does it take the Javascript from the digg website to display your past 10 dugg stories and make it a widget. Maybe if I get some more time soon I will add more options so that you can have all the features that they allow.
Installation is easy:
- Upload digg.php to your ‘wordpress/wp-content/plugins’
- enable the plugin in your admin section
- add it to your sidebar via the “presentation” tab
- click the options box and put in your username
That’s it you’re done!
Happy coding!
Great idea. Is their any way of listing your top 10 dugg sites by number of diggs?
Hi joe. Thanks, right now it only works with the “Stories dugg by user %USER%”
I plan on adding the other features from the add-digg page soon.
When I click on Download.. it pulls up a Text file. Id love to give this plug in a shot, please fix the link
Hi, the link is correct. You need to right click and select “Save As…” and name it digg.php.
Thanks,
Cj B
OK then the problem is that I am on a MAC, normally it downloads per usual but its still giving a Text file. Ill try it on a PC, thanks1
Hi there. I am on a mac as well. All you need to do is RIGHT CLICK and select “Save Link As…” and name it digg.php.
Thanks.
Hi… I’m getting a strange error when I call the widget on my dynamic sidebar… it goes as follows:
Warning: Missing argument 1 for widget_digg() in /blog/wp-content/plugins/digg.php on line 40
Warning: extract() [function.extract]: First argument should be an array in /blog/wp-content/plugins/digg.php on line 41
You have any clue why this is? >
Hi, did you set the variables (title+username) in the widget control page?
I set a different theme so I could edit the username and title… then went back to my HemingwayEx theme, and kept giving the same errors. 🙁
I’ve trawled the code in the specified lines, but to no avail… so at the moment I’m using Digg’s own javascript. >
So it was working with one theme and not the other? Is the second theme not widget compatible?
I was able to tweak the plugin to display only 5 stories on my sidebar. Simply change the number “3” at the end of this line:
/3″
…to a “1”. And voila! 5 stories. YMMV.
How does you make the dugg links into a list? I can’t seem to do it for the life of me.
The widget will put them in a list on your side bar.
For some reason, the links in the item list are not being generated correctly.
For example, I’m getting:
http://saltwaterit.dyndns.org/arts_culture/Writer_Arthur_C_Clarke_dies_at_90
instead of:
http://digg.com/arts_culture/Writer_Arthur_C_Clarke_dies_at_90
I’m very new to wordpress, so its more than likely something I’ve done wrong – but any suggestions would be greatly appreciated! 🙂
Hi,
Thanks. There should be a new version out on the wordpress.org site which fixes this issue.
Hi again,
The one presently downloadable from the wordpress site is the one I’m using (I only downloaded it the other day, and the site says the last update was 27th September last year – is there a more recent one than this?
To add insult to injury, I’m not getting ANYTHING listed under my recent diggs now – and I haven’t changed a thing!
I’m sure my site is cursed… 🙂
Yeah. I’m not sure what I am doing wrong, but if you click on “Other Downloads” and download the 1.1 version…
http://wordpress.org/extend/plugins/digg-widget/download/
Thanks!
W00t! Thanks for that! All working now (although I dont think it likes my theme very much, but thats easily fixed)
One interesting thing to note however, is that it doesn’t work with Firefox 3beta4 (works in v2 ok) but more than likely thats a problem with firefox, not the plugin – just thought I’d let you know tho 🙂
Thanks again! 😉