[dokuwiki] Re: RSS Feeds

  • From: Christopher Stoll <stollcri@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 24 May 2005 21:24:43 -0400

> I've been a long time wondering if any changes can be made to the current 
> RSS-feed. I'm not comfortable with the way it acts. Is it possible to make it 
> show things like a regular rss-feed would?

To make the feed look the way you want you can open feed.php and on
line 84 change "$item->title       = $id;" to "$item->title       =
preg_replace('/_/',' ',substr(strrchr($id,':'),1));" and then comment
out lines 85, 86, and 87.

84    $item->title       = preg_replace('/_/',' ',substr(strrchr($id,':'),1));
85    //if(!empty($recents[$id]['sum'])){
86      //$item->title .= ' - '.strip_tags($recents[$id]['sum']);
87    //}

Good luck,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: