Created
April 14, 2015 06:09
-
-
Save minthemiddle/9997999071fb836a9024 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; | |
| $urls = array('http://www.google.com','http://www.kicker.de','http://www.spiegel.de', 'http://www.karriere-papier-verpackung.de'); | |
| $urls2 = ["Transfermarkt" => "http://www.transfermarkt.de", "Kicker" => "http://www.kicker.de"]; | |
| foreach($urls2 as $title => $url){ | |
| echo "Pagerank " . $title . ": " . \SEOstats\Services\Google::getPageRank($url) . "\n"; | |
| echo "Sistrix " . $title . ": " . \SEOstats\Services\Sistrix::getVisibilityIndex($url) . "\n"; | |
| // echo "Pagespeed " . $title . ": " . \SEOstats\Services\Google::getPagespeedScore($url) . "\n"; | |
| } | |
| //foreach($urls as $url){ | |
| // echo "Pagerank " . $url . ": " . \SEOstats\Services\Google::getPageRank($url) . "\n "; | |
| //} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When installed via
composer