Hi, What i need to do is when a link is added to my site i need next to it to say the page rank and alexa rank. How would i go about doing this? Cheers, Adam
Pass the URL to the site below and capture the image with <img src= ... http://www.prchecker.info/ http://alexa.com/site/site_stats/signup Give me a green rep if you like my post.
Do you want it to appear as text or as image? I mainly work with PHP to do this. Here comes some info. For pagerank, you must make a call to google's servers; how it works with alexa is not sure, but thats quite easy to find too probably. A pagerank script and sample code for getting alexa Cheers, hans
Thanks for the replies that is great, i will try out both your methods tonight and give green rep to the one i find most useful.
Hi, Right i have used the page rank file which now at point of adding to the DB query's the pagerank file and adds the PR of the website. This works fine but my only problem is with the Alexa rank which does not seem to play ball i would like to set this up in the same manner so that i can add the alexa rank at the same time. Any ideas? Cheers, Adam
Try using the widget for alexa, the javascript is included in this link http://www.everythingkitchens.com/increase_alexa_rankings.html
When collecting Pagerank data, make sure to hit multiple datacenters (not all datacenters are correct)
Hey be careful using above stated scripts. Some people says that making any query to get page rank from google is illegal and google may ban your site and IP.
Yup, Trust me, do NOT just sit there and Troll their datacenters for PR They will catch on and block your IP... only temporarily at first...
Well i plan on using this when someone adds there website to my site it stores there PR and Alexa rank into the database. Then when the user logs in to their control panel it will check at the point if it has changed and update. Will this cause a problem or not? Shall i but a check so that it only checks once a week to update their pr and alexa?
Many severs ips get blocked from searching the pagerank datacenters ther is away to get around this is useing curl. There are some scripts out there that use curl aswell that are free and some of them evon saying the pagerank is clalled from google.co.uk so they cant realy block there own ips.