Saturday, July 14, 2007

Using Google to Search Digg Part 2

In our last installment, we looked at using Google to search Digg.com - particularly one's own account history covering comments, submissions, and more. The only drawback to this is that it's a manual "command line" approach and requires some extra steps. (Opening tabs or windows, etc instead of being able to search in site)

As promised, I've got a little hack that a helpful coder whipped up! It's a great little greasmonkey script that allows you to use Google to search digg.com, right from the actual Digg.com search box.

Here's how it works:

(Preface: it's assu
med that you are using the Firefox browser, if you're not, you need to for this, and ought to be anyway. You can get it here. Next, Download and install the Greasmonkey add-on for Firefox. Greasemonkey is kind of like a little "environment" that runs inside Firefox and allows for custom modifications/mash-ups of web sites -- just for you and only you, inside of your browser. I am not going to get into all the details, but there are all kinds of cool scripts out there that allow you to do tons of neat things with sites that the owners never even intended. It's harmless because all the "hacking" is taking place on your machine alone. For the faint of heart, don't worry installing scripts is really a snap. Point, Click, Install, and Refresh the page and suddenly your favorite site just got a new feature)

So lets get to the meat and potatoes of the "Googlefied" Digg search:

If you're already on board
with Greasemonkey,
Download the Script here:
http://userscripts.org/scripts/show/7402

Restart the browesr to activate it, head back to Digg and the first thing you'll notice is that the digg search box field has now gone from white to yellow.



When you do a search, its now calling google & automatically adds the "site:digg.com" operator to the query for you and displays the results on a new page.


What I really like about this script is that is doesn't completely hijack digg's search box.

If you double click in the yellow field, it goes back to being white, and thus it's back to Digg's native search. Double click again and it's Google (yellow)

You can compare the results and see that, at least at present, Google's index yields much better results than Digg's. An exception may be brand new stories too. While Google's spiders crawl & index the web fast, they're not "real time" fast. So, if you can't find what you are looking for using your new Googlefied Digg search (and you know it's on there somewhere) you can always go back and find it in the digg search. The digg search also can tell you if a story was buried or not (more on that next time).

Enjoy and Digg on...


0 comments: