2008-08-16
Toff
The page /feed.php is indexed by Google and it contains links to diff of all recently modified pages.
In my opinion, there is not much interest in indexing those pages.
Adding "nofollow" in the link should fix the problem.
I've modified the following code :
inc/template.php / function tpl_metaheaders()
$head['link'][] = array( 'rel'=>'alternate nofollow', 'type'=>'application/rss+xml',
'title'=>'Recent Changes', 'href'=>DOKU_BASE.'feed.php');
$head['link'][] = array( 'rel'=>'alternate nofollow', 'type'=>'application/rss+xml',
'title'=>'Current Namespace',
'href'=>DOKU_BASE.'feed.php?mode=list&ns='.$INFO['namespace']);
if($ACT == 'search'){
$head['link'][] = array( 'rel'=>'alternate nofollow', 'type'=>'application/rss+xml',
'title'=>'Search Result',
'href'=>DOKU_BASE.'feed.php?mode=search&q='.$QUERY);
}