Using hook_requirements(), the underlying structure is there to show the pagerank of the current site on the status report page at admin/logs/status.

/**
 * Implementation of hook_requirements().
 *
 * Show the pagerank of the current site in the status report.
 */
function google_pr_requirements($phase) {
  $requirements = array();
  $t = get_t();
  if ($phase == 'runtime') {
    $pr = google_pr_get(url('<front>', NULL, NULL, TRUE));
    $requirements['google_pr_rank'] = array(
      'title' => $t('Google Pagerank'),
      'value' => $pr,
      'severity' => REQUIREMENT_INFO
    );
  }
  return $requirements;
}

Comments

deekayen’s picture

Status: Needs review » Fixed

added in CVS revision 1.1.4.3

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.