Changeset 2595


Ignore:
Timestamp:
Sep 26, 2008, 3:43:41 AM (16 years ago)
Author:
rvelices
Message:
  • the author in RSS feed can be configured in config_default.inc.php
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/feed.php

    r2497 r2595  
    137137
    138138    $item->date = mysqldt_to_ts($dbnow);
    139     $item->author = 'Piwigo notifier';
     139    $item->author = $conf['rss_feed_author'];
    140140    $item->guid= sprintf('%s', $dbnow);;
    141141
     
    189189
    190190  $item->date = mysqldt_to_ts($date);
    191   $item->author = 'Piwigo notifier';
     191  $item->author = $conf['rss_feed_author'];
    192192  $item->guid= sprintf('%s', 'pics-'.$date);;
    193193
  • trunk/include/config_default.inc.php

    r2530 r2595  
    613613  'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
    614614  );
     615
     616// the author shown in the RSS feed <author> element
     617$conf['rss_feed_author'] = 'Piwigo notifier';
    615618
    616619// +-----------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.