summaryrefslogtreecommitdiff
path: root/feed.php
diff options
context:
space:
mode:
authorMarc Mayfield <celf@intelf.com>2006-11-01 03:33:13 +0100
committerMarc Mayfield <celf@intelf.com>2006-11-01 03:33:13 +0100
commita1716312b3d267c93299958009452d9a20969f88 (patch)
tree87db05ac0db2e7357c536c6ac3cfbe7632bfc127 /feed.php
parent9e9fda70e9993a37278aa28723b777b6c68046b1 (diff)
downloadrpg-a1716312b3d267c93299958009452d9a20969f88.tar.gz
rpg-a1716312b3d267c93299958009452d9a20969f88.tar.bz2
rss_summary_config
Add a configuration option to control whether or not the edit/revision summary is displayed with the title of RSS feeds. The default is to show the summary, the same as DokuWiki did prior to this addition. darcs-hash:20061101023313-9039d-d067e9bcd7dc0c7cabd57674d1072c5b882ad4e7.gz
Diffstat (limited to 'feed.php')
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index b1d2b3b1d..b20e0aaa4 100644
--- a/feed.php
+++ b/feed.php
@@ -126,7 +126,7 @@ function rssRecentChanges(&$rss,$num,$ltype,$ns,$minor){
}else{
$item->title = $recent['id'];
}
- if(!empty($recent['sum'])){
+ if($conf['rss_show_summary'] && !empty($recent['sum'])){
$item->title .= ' - '.strip_tags($recent['sum']);
}