Links in RSS feeds contain double-escaped ampersands like this (from
http://wiki.splitbrain.org/feed.php):
<item rdf:about="http://wiki.splitbrain.org/wiki:playground?do=diff&amp;1129870692">
<dc:format>text/html</dc:format>
<dc:date>2005-10-21T06:58:12+01:00</dc:date>
<dc:creator>anonymous@71.131.62.161</dc:creator>
<title>wiki:playground</title>
<link>http://wiki.splitbrain.org/wiki:playground?do=diff&amp;1129870692</link>
<description> Superfootnode 1) Level 2 Headline External Link to dpDRUMS [[http://www.dpdrums.com|External Link to dpDRUMS]] Level 1 Headline asdf test test asdfr abcd some indented texty stuff. this is some more usefull for text that has to be mo...</description>
</item>
This is due to bugs in the following code fragment (feed.php:121):
switch ($ltype){
case 'page':
$item->link = wl($recent['id'],'rev='.$recent['date'],true);
break;
case 'rev':
$item->link = wl($recent['id'],'do=revisions&rev='.$recent['date'],true);
break;
case 'current':
$item->link = wl($recent['id'], '', true);
break;
case 'diff':
default:
$item->link = wl($recent['id'],'do=diff&'.$recent['date'],true);
}
Both occurrences of & in that code should simply be &. The XML output code that receives these links performs the necessary character escaping.