This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Works for me
FS#2312 link_to option in feed.php does not work correctly
other
2011-08-19devmarco
I want to try to add a rss feed to my wiki.
For example:
{{rss>http://myownwiki/feed.php?mode=list&link_to=current&ns=intranet}}
I found out that the option 'link_to' does not work. Always the default value from the switch/case function is used and the feeds link to the differences-pages (http://myownwiki/doku.php?id=intranet:start&rev=1313398731&do=diff) instead of, for example, the current page (http://myownwiki/doku.php?id=intranet:start)
This is the code section from feed.php
// add item link
switch ($opt['link_to']){
case 'page':
$item->link = wl($id,'rev='.$date,true,'&');
break;
case 'rev':
$item->link = wl($id,'do=revisions&rev='.$date,true,'&');
break;
case 'current':
$item->link = wl($id, '', true,'&');
break;
case 'diff':
default:
$item->link = wl($id,'rev='.$date.'&do=diff',true,'&');
}