Sorry..i forgot about this thread Hrm...I never tried the script with IP instead of urls. Any chance of getting looking up url from IP, or is an IP only host?
Here's the download from my site if anyone is interested in a C# version: http://www.aaronreynolds.co.uk/blogs/20070615205249.html Enjoy!
Educ8it, I tried with two sites. One worked fine another didn't. http://www.thetannery.com has page rank 5 which was ok http://www.webcosmo.com has pagerank 3 which is showing 0. Any ideas?
try it with a final slash, to be honest I have only tested this with my own domains and with microsoft.com but it seemed OK. Let me know if this works then. Meanwhile I might update it to auto-check this.
Tried the webcosmo link and my prog gave me a PR3 with and without slashes. Either a typo or perhaps it DNS'd to an unfriendly datacentre - I will add multiple datacentres in next version.
looks like this cannot handle folders. for example http://directory.v7n.com/Top/Business_and_Services/Classifieds/ gives 0
it works in the same way as the toolbar PR checker. I haven't tested it on sub-folders because it doesn't interest my right now. Sometimes the Google toolbar guesses the PR if the PR is not returned on a sub-page. I will look into this problem. I'm also likely to post a full ZIP with my classes in C# later this week so you can see how the request is built.
I've tried out the WebCosmo link (http://www.webcosmo.com/) and that works fine - gets a PR3. I tried the sub-link above and the code gave me a 403 forbidden from Google. I know Google have updated the Toolbar over the last week so we may need to modify the hashing algorithm accordingly - or I may have missed something when I first converted the code from PHP. Anyway, the full code and a demo version is available from my site on: PageRank Tool in C# Demo and dull code Get back to me with any comments 'cos it'd be nice to get this fully working. AR
Thanks educ8it. its working great. i am using it on my site. working nice. you guys may check it from here http://www.webcosmo.com/Tools/Tools.aspx?countryId=1
I've put a little fix in place on the PageRank checker. Same download location or via demo page: Google PR Checker in C#
I will check it. Currently it doesn't calculate rank inner folders. Would have been nicer if we had that. I will give it a try.