Digg Rating Extender


Install Script (Must have Greasemonkey installed on Firefox)



I created a greasemonkey script (FIREFOX ONLY, for now) to show the digg ups and digg downs on digg stories. Here’s a picture of what it looks like now:

screenshot-digg-greasemonkey-sample.png

For those who are interested, details are below. Those who aren’t can’t just go straight to downloading the script.

Some bugs that I am aware of:

  • If you digg a comment up or down, the up and down don’t get updated. (Simple fix, I believe)
  • Sometimes, the up and down don’t match the current rating. There is no fix to that. I’m retrieving the most up to date info from the API and sometimes either there is a delay with that or there is a delay with either the api (likely) or digg. This shouldn’t be a big problem, I’ve only noticed it once or twice while testing and it was only off by one.
  • Doesn’t work with Opera. Will be fixed soon, for both of you.
  • Under heavy load, the ups and downs may not get loaded. You can see if there was an API error in your javascript console, it will probably say error 500. Not sure what I can do about that. I could possibly make the API keep trying, but that’s just going to compound the problem on the server
  • There is a delay, especially when loading large pages. Don’t know what I can do about that, but I’ll look into it

Features I want to add:

  • Clicking on the number of digg downs or digg ups will down down or digg up the story.
  • Ability to choose the design for how to display the ups/downs. (See previous post)
  • Implementing any ideas you suggest.

Other random bits of information:

  • Overhead: There is of course some overhead when using this. Essentially, for every comment you see, the script needs to retrieve that comment again from the api server. This is done asynchronously thanks to AJAX, so the page won’t load any slower than before (Unless you’re running on something like a 56k modem, in which case, welcome to the 21st century).
  • Errors: Let me know if you run into any errors. They should be logged on the javascript console. (Firefox: Tools -> Error Console, should be under messages or errors depending on what the issue was).


This entry was posted on Sunday, August 19th, 2007 at 8:41 pm and is filed under comments, digg, greasemonkey, statistics. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

12 Responses to “Digg Rating Extender”

  1. petergriffin Says:

    Can’t wait for the opera version. Firefox locks up all the time when using digg with me as well as alot of other’s who’ve said the same thing on digg.

  2. Amy Says:

    Looks promising! I prefer an opera version too.

    Amy

  3. Bill Says:

    Can’t wait for an IE 3 version.

  4. Fishy Taste Says:

    Nifty. Digg should have done this already.

  5. Live tv Says:

    Cool, maybe add an icon next to each instead. It wouldn’t be difficult.

  6. David Levy Says:

    Excellent script! I was about to suggest the same thing that Live tv suggested. It would be nice if it could look something like this:

    http://lifeisunfair.org/DiggRatingExtender.png

  7. Adam Says:

    Great script and I agree…Digg should have already done this.

  8. Punbb Says:

    I’d restyle those so the numbers to be light green and pink instead of having dark red and green boxes. You might even put the numbers after the appropriate thumb.

    Nice work nonetheless :)

  9. phaed Says:

    Heres a redesign of the css elements in the script:

    http://photos.dcstealthy.com/phaedrus/diggratingextender.user.js.txt

    Heres a screenshot of what it looks like:

    http://photos.dcstealthy.com/phaedrus/extender.png

  10. Digg Rating Extender - Linkosphere [ Ectio.us ] Says:

    [...] From neaveru.com [...]

  11. Web 2.0 Announcer Says:

    Digg Rating Extender…

    [...]A handy new greasemonkey script that displays the digg ups and digg downs for each comment in a digg story.[...]…

  12. joe Says:

    Im looking for a way to see who has dugg up/down your comment. Does the digg api give out this information, if so have you thoguht about including it in your script?

    Cheers

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>