Oct
11
Pagerank Checksum in Java
A quick java class to calculate a web pages Page Rank Checksum. It can be used to obtian the Google Page Rank for a given url.The code is reverse engineered from the javascript used to build the Firefox page rank plugin. It calculates a checksum using a encoding algorithm.
[java]
public class Pagerank
{
private String toHex8(int num)
{
if(num>>23|key>(8&255))+toHex8(key&255);
}
}[/java] Continue reading