- the author in RSS feed can be configured in config_default.inc.php

git-svn-id: http://piwigo.org/svn/trunk@2595 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-09-26 01:43:41 +00:00
parent c9efc7e0bf
commit da7b79b47b
2 changed files with 5 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ if (!$image_only)
$item->descriptionHtmlSyndicated = true;
$item->date = mysqldt_to_ts($dbnow);
$item->author = 'Piwigo notifier';
$item->author = $conf['rss_feed_author'];
$item->guid= sprintf('%s', $dbnow);;
$rss->addItem($item);
@@ -188,7 +188,7 @@ foreach($dates as $date_detail)
$item->descriptionHtmlSyndicated = true;
$item->date = mysqldt_to_ts($date);
$item->author = 'Piwigo notifier';
$item->author = $conf['rss_feed_author'];
$item->guid= sprintf('%s', 'pics-'.$date);;
$rss->addItem($item);

View File

@@ -613,6 +613,9 @@ $conf['recent_post_dates'] = array(
'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
);
// the author shown in the RSS feed <author> element
$conf['rss_feed_author'] = 'Piwigo notifier';
// +-----------------------------------------------------------------------+
// | Set admin layout |
// +-----------------------------------------------------------------------+