Is it possible to write an app using Google API that will find the Page Rank of each of the top 10 ten listings? I'm guessing yes, can anyone point to further details? Many thanks.
I thought there was a formula for guessing page-rank. I don't know what it is, but I thought that is what was used by the keyword tracking tool and others like the pr googlebar. I've never seen the formula, but I've seen a lot of references to the idea around.
You can get at hotscripts "PHP Google PageRank Calculator". It can "find the Google Page Rank for any URL by calculating the checksum and requesting the PR from Google's servers." The url for this: http://hotscripts.com/Detailed/37856.html The hotscripts site is a great site to find some goodies .
Thanks guys, I appreciate it. Here's another site that has figured out how to get Page Rank data: http://prsearch.net I'm writing a keyword analyzer and want to programmatically obtain the PageRank of each of the top 10 listings for a list of keywords. So, I need the top 10 results, and the PageRank of each listing. And I need to do this over and over for a list of keywords. If you can't get PR via API, how is it done? I see a number of sites doing it, and they must be getting the Page Rank data from Google somehow, given that Google is the source of that data, right? Or no? I can grab this data from other sites, but I'd rather get it from Google under their TOS. Thanks for the discussion, I appreciate any suggestions.
You can e-mail the author of the hotscript script to find out from him. It says in their documentation that they calculate based on a checksum as well. The code is a bit of a mish mash. I changed the "eval" to an "echo" statement to get it to spit out the code, but it was pretty unreadable. They've taken pains to obfuscate it to the point where I would just send them an e-mail if I was really interested.
I can write this tool - it is a piece of cake. All you have to do is query google and get PR for all the websities.
I think what Google license does not allow use any script for extracting PR for sites and sites, using this script may be banned.
I've never seen an open script that does this, so the knowledge is held pretty tight within the group of guys who know how to do it. If one of you guys can do it, the community would appreciate a posting. It would probably lead to a lot of new free tools out there. I'm sure it's one of the reasons that places like digital point get frequented - because they provide easy access to the data.
yeah, unfortunately that one uses a bit of a proprietary interface so the code isn't easy to replicate. The author does state that they'll make the source available, but I haven't emailed them, and probably won't given that I use digital point to keep track of my PR rankings. I just mentioned what I did in my previous post because there are plenty of other people here who would consider the code valuable. To pass on the info - you can e-mail for the source code for the PR script. No details on licensing of the source code in the readme.
Ha... I'm a programmer by trade... not a php programmer, but I've done some complex stuff in my time. This seems cryptic to me. http://www.google.com/search?client=navclient-auto&ch=6$ch&ie=UTF-8&oe=UTF-8&features=Rank&q=info%3a(insert url here) seems to be the key, but that page shows up as forbidden when I go there directly from a browser. There is a hash returned as part of the forbidden page, so maybe that's what to look for. I really don't know. ---- Hmm... after looking at the forbidden page, it seems that the hash changes every page view. Maybe big G disabled the page because of this script... who knows. I haven't actually uploaded the script myself to test it, I just tried getting to the url from my browser.
You can call function getPR("http://www.mysite.com") from pagerank.php module and it result will be PR for site "http://www.mysite.com".
nevets.. the reason you are getting the forbidden page is because you didn't pass the url correctly .. the $ch variable is a checksum of the $url variable. Google changes the checksum periodically to prevent the automated scripts. Read more: http://www.mobileread.com/forums/showthread.php?t=1670&page=12&pp=15
The problem with the PHP code is that it's server-side so Google would know who is hitting them - hit them enough times and they may hit back. What you really need is client-side code (like Java) that way Google would have no idea - to them it would simply look like a toolbar was used...