Skip to content
Snippets Groups Projects
Commit b1a1915c authored by andi's avatar andi
Browse files

summary added to feed titles instead inside description

darcs-hash:20050311120807-9977f-951fcb79ffc5ce6681c227e3b25d94a1cdca4b75.gz
parent ea67f144
No related branches found
No related tags found
No related merge requests found
......@@ -79,11 +79,11 @@ function rssRecentChanges(&$rss,$num){
$recents = getRecents($num);
foreach(array_keys($recents) as $id){
$desc = cleanDesc(parsedWiki($id));
if(!empty($recents[$id]['sum'])){
$desc = '['.strip_tags($recents[$id]['sum']).'] '.$desc;
}
$item = new FeedItem();
$item->title = $id;
if(!empty($recents[$id]['sum'])){
$item->title .= ': '.strip_tags($recents[$id]['sum']);
}
$item->link = wl($id,'rev='.$recents[$id]['date'],true);
$item->description = $desc;
$item->date = date('r',$recents[$id]['date']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment