its projects like this i really like cause i learn the most from the fun ones dont give up so easy... take some mild sedatives and relax
I was successful in using curl and XML to send google API with my key (but it seems theres a 1000 limit per day to it, which is annoying and defeats purpose of an API >_>) but my host doesnt have curl installed >_<, so i can only use it in localhost. What i was really hoping for is extra params, like client or something (to get PR), but i couldn't figure it out. But i guess its good for making searches...
Hello. I was recently looking for google pagerank api for one of my personal projects. I found this site (http://www.temesoft.com/google-pagerank-api.jsp) where they give out java api for google pagerank functionality. They also have the php version. Thanks.
You can get PageRank information by querying the server through a specific URL. http://toolbarqueries.google.com/search?sourceid=navclient-ff&client=navclient-auto-ff&hl=en&ch=(CHECKSUM)&ie=UTF-8&oe=UTF-8&features=Rank&q=info:(URL) Code (markup): You'll have to look for the checksum code on your own. You can request the page via fsockopen. (Before you rush to play with your new-found knowledge, I urge you to read the paragraph below.) However, Google would block the IP address of the server, preventing the code to work (if the code is server-side). How you overcome this is up to you. The Google TOS does not permit automated retrieval of PageRank.
Actually, Google doesn't block the retrieval of pagerank via a server-side script. I have tested a php version on different servers and I've been using one for a long time without any blocking. The only problem is that some servers don't calculate the checksum value properly which was mentioned here where I got the script http://www.googlecommunity.com/scripts/google-pagerank.php and verified by my own tests on different servers.
Jeremy, that's funny coming from you, the person who created the lamest affiliate program of 2007 "Auction-Ads" and found a chump like Patrick Gavin to take it off your hands for a nice chunk of change in your pocket. Man, you and Dilsmack couldn't even parse eBay's RSS feed properly (and we're talking PHP, not C/C++) . Hey, Jer (Shoe) ask me sometime and I'll teach you how to parse an RSS feed properly and show you *my* eBay affiliate product that BLOWS your former project away. anyway, not dissing you all the way Jer, you're a good guy IMHO but you got that greed syndrome coursing through your veins. I guess it comes from being a systems administrator for a corporate entity (been there, done that). btw, what sedatives are you taking Jer? I'd bet you're on one or more of the following... Adderal, alapazolam, Diazepam... maybe Zoloft, Prozac ??? Hey, that just gave me a great idea for my next blog post after Thanksgiving. Guess what prescription medication Shoemoney, Problogger and John Chow are on... Peace out, and have a Happy Thanksgiving... we still love ya shoe even if you gave birth to the biggest affiliate abortion of 2007.
That was totally off-topic, obvious self-promotion and full of ad-hominem attacks not to mention insulting to the mental health community. Mods, if you see this, please delete that post and my post...thanks. (he probably won't even see this since his post is from like 2 years ago)
Do you know that fetching google page rank is violation of google guideline? only google toolbar should fetch the pagerank according to google and those millions of sites that are using scripts to fetch pr are violating google guideline. This is from google guideline page "Don't use unauthorized computer programs to submit pages, check rankings, etc. Such programs consume computing resources and violate our Terms of Service. Google does not recommend the use of products such as WebPosition Goldâ„¢ that send automatic or programmatic queries to Google". Funny part of all this is google is surviving using content of others and its making billions using those content, it doesn't have its own contents, every day it query's your site, overloading it and they talk about TOS? They give you meaning less rank, people run behind the rank and one day they penalize you and says you violated google TOS!
Does this still work? I'm getting forbidden errors from both PHP and PERL. Oh, and the browser too. Is it the checksum that I need to find? Just looking for someone that knows more than I do
It is my method. Find a PR checker site that does not require security code. and fetch the site programmatically in PHP. it is more secured.
I actually worked up a script to do it and built it into one of my sites: toolerific.com No captcha or anything. It's in a div id="value" - so you could preg_match it pretty easy. The code is on my blog too if you want to set up your own. Blog is: jtgraphic.net
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. .... ... ..