WSN Knowledge Base
Pageranks are all 1
Pageranks are all 1
By Paul

Using automated queries from a script to calculate a google pagerank breaks google's terms of service, thus they're known to ban servers for it. You can test that this is what's happening to you:

1) Open classes/pagerank.php and change
$result[0]=$contents;
to
$result[0]=$contents;
echo "<p>Google reports: ". $result[0] ."</p>";


2) Create this little test file (name it test.php if you like) in your main WSN directory and visit it in your web browser:
<?php require 'classes/pagerank.php';
$pr = new GooglePR();
$url = 'http://www.yahoo.com';
$rank = $pr->GetPR($url);
echo "the pagerank is ". $rank; ?>


You'll probably see a message from google:


You can appeal to google if you wish. If you've regenerated pageranks before, be sure not to do that again (let the system update them more slowly to avoid angering google).

Rating:


0/5 based on 0 votes. The median rating is 0.

Submitted: 02/07/07 (Edited 02/07/07)

Description: When you have pagerank switched on, yet it doesn't work.

Views: 465 views. Averaging 0 views per day.
In the most recent 30 day period, there've been 1 views.

Previous Article | Next Article

Features Showcase Purchase Services Resources Support