Skip to content

Commit

Permalink
summary added to feed titles instead inside description
Browse files Browse the repository at this point in the history
darcs-hash:20050311120807-9977f-951fcb79ffc5ce6681c227e3b25d94a1cdca4b75.gz
  • Loading branch information
splitbrain committed Mar 11, 2005
1 parent ea67f14 commit b1a1915
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions feed.php
Expand Up @@ -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']);
Expand Down

0 comments on commit b1a1915

Please sign in to comment.