Quick update: You can now check up to 10 domain pageranks at once (only on check pagerank page) by putting a comma (,) inbetween the domains.
For example:
forumpromotion.net,google.com,amazon.co.uk,youtube.com
There will probably be glitches as I didn't really do much to it, I just made sure it worked.
I'm also adding two more pages. 1 will return in plain text the pagerank of a domain. This could be used as a parser for your website, I will provide a script for using this at some point. The other page is where you can seperate URL's by commas (up to 50) and it'll return in plain text Domain:Rank.
Will update on this shortly.
Update: The parser is now ready. You can send POST, GET or REQUEST to this to retrieve a result. Just send url as the domain, nothing else is needed at this time. If there's a huge increase in spam I'll consider having an API key.
http://whatranking.com/parser.php?url=google.com <--
example
format:
parser.php?url=[DOMAIN]
Update: I've now made a quick little example parser which you can use for your website. You can test it at
http://whatranking.com/example.php
Code:
<form name="pagerank" method="post" action="" />
<input name="url" type="text" "size=20" />
<input type="submit" value="Get PR" />
</form>
<?php
if (htmlentities($_POST['url'])) {
$pr = file_get_contents("http://WhatRanking.com/parser.php?url=".htmlentities($_POST['url']));
echo "PR for ".htmlentities($_POST['url']).": ".$pr;
}
?>
If you don't want the form and just want it to display the PR you can use just the:
Code:
$url = "URL HERE";
$pr = file_get_contents("http://WhatRanking.com/parser.php?url=".htmlentities($url);
echo "PR for ".htmlentities($url).": ".$pr;
Update: multi-domain checking. This will return up to 25 of your domains pagerank in text format ready for copy/paste. Here's an example URL
http://whatranking.com/multi.php?url=google.com,facebook.com,amazon.co.uk,whatranking.com,ebay.co.uk - Seperate domains by commas.
Here's the output:
google.com - PR: 10
facebook.com - PR: 10
amazon.co.uk - PR: 8
whatranking.com - PR: 2
ebay.co.uk - PR: 6
You can also customise the output of the results if you would prefer it different by adding &format= to the end of the link. Below is a list of variables you can use:
- %pr% - PR result
- %url% - URL
- %today% - Todays date (13th)
- %month% - This month
- %year% - This year
- %hour% - Hour
- %minute% - Minutes
- %second% - Seconds
- %timedate% - Already made timestamp
An example of this could be:
&format=Pagerank result for %url% = %pr%. Checked: %timedate%
-- 13 Oct 2011, 20:54 --
Official update page:
http://whatranking.com/update.html