public
Description: Fun throwaway tool for finding top diggers in a topic
Homepage: http://www.semdevel.com
Clone URL: git://github.com/rbriski/top-digger-tool.git
Robert Briski Jr (author)
Sat Oct 04 20:16:42 -0700 2008
commit  6a93e9b359a3c85d15770999e9dc60e624403400
tree    83514d88b35dde5319bdf03a02c0cefac4d20c6a
parent  dbbe3b8f7a0c2961b3ba73277e6ba818c57a3ae1
name age message
file README Sat Oct 04 20:16:42 -0700 2008 Little more documentation [Robert Briski Jr]
file dig.rb Sat Oct 04 20:16:42 -0700 2008 Little more documentation [Robert Briski Jr]
README
== Digg Top User Tool

"The Google Cache" blog is on my RSS list and an interesting story came up recently:

http://www.thegooglecache.com/multichannel-marketing/the-tedious-but-effective-way-to-use-digg-recommended/

It details a way to make yourself known to other diggers that happen to be powerusers, thus opening
the door to get your stories dug.  It seemed pretty easy to code up and I've been playing with ruby
lately so I thought it'd be fun to solve the first half of the tedium; finding the top diggers.

This code is my very quick reply.  It uses John Wulff's digg-ruby library:

http://code.google.com/p/digg-ruby/

Finding this library was the best part of this little exercise.  It includes some incredible
meta-programming

== Use

  digg = Digg.new()

  # Give it a topic
  digg.topic = 'apple'

  # Set the number of top stories for grabbing diggers
  digg.num_of_stories = 20

  #Gets top ten diggers for these stories
  #Change parameter "10" to change number of diggers
  top_diggers = digg.get_top 10

== License

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2004 Sam Hocevar
 14 rue de Plaisance, 75014 Paris, France
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.