Thursday, January 22, 2009

google page rank gem

hi..
Ruby has this gem, to find google page rank of a site......,
just install the gem.

>>> sudo gem install googlepagerank

>>>
example program:
require "rubygems"
require "googlepagerank"

puts GooglePageRank.get("www.yahoo.com")
=> 9

u can check the above in the site, for further info.
http://googlepagerank.rubyforge.org/
thanks..