/*
- Get Alexa Rank
- Gets the alexa rank for a website based on the URL
$url - The url to get the alexa rank for
*/
public function getAlexaRank($url)
{
$xml = simplexml_load_file("http://data.alexa.com/data?cli=10&url=" . $url);
if(isset($xml->SD)) return $xml->SD->REACH->attributes();
}
Comments