Well, I've got Google PageRank plugin installed and I've made a little modification on serendipity_plugin_pagerank.php, just turned this:
Code: Select all
function generate_content(&$title)
{
global $serendipity;
$title = $this->title;
print '<ul>';
// PR for the current page
if ($this->get_config('this_page') == 'yes') {
$page = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
print '<li>' . PLUGIN_PAGERANK_THIS_PAGE_CAPTION . ': ';
print '<span class="PageRank">' . $this->getrank($page) . '</span></li>';
}
// Warning: loop starts at 1
for ($i = 1, $n = $this->get_config('page_count'); $i <= $n; ++$i) {
$caption = $this->get_config('capt' . $i);
$page = $this->get_config('page' . $i);
print '<li>' . $caption . ': ';
print '<span class="PageRank">' . $this->getrank($page) . '</span></li>';
}
print '</ul>';
}
Code: Select all
function generate_content(&$title)
{
global $serendipity;
$title = $this->title;
print '';
// PR for the current page
if ($this->get_config('this_page') == 'yes') {
$page = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
print '' . PLUGIN_PAGERANK_THIS_PAGE_CAPTION . ': ';
print '<span class="PageRank">' . $this->getrank($page) . '</span>';
}
// Warning: loop starts at 1
for ($i = 1, $n = $this->get_config('page_count'); $i <= $n; ++$i) {
$caption = $this->get_config('capt' . $i);
$page = $this->get_config('page' . $i);
print '<br>' . $caption . ': ';
print '<span class="PageRank">' . $this->getrank($page) . '</span>';
}
print '';
}
Code: Select all
Google PageRank
De esta página: 1ex}div.nav A {font-size
De pajareo.com: 1ex}div.nav A {font-size
Any ideas?
Thanks in advance for your time