mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- 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:
4
feed.php
4
feed.php
@@ -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);
|
||||
|
||||
@@ -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 |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user