Merge pull request #953 from ltGuillaume/patch-1
Add lastBuildDate to RSS feed xml
This commit is contained in:
commit
e82b8c4e70
|
@ -57,6 +57,7 @@ class pluginRSS extends Plugin {
|
||||||
$xml .= '<title>'.$site->title().'</title>';
|
$xml .= '<title>'.$site->title().'</title>';
|
||||||
$xml .= '<link>'.$site->url().'</link>';
|
$xml .= '<link>'.$site->url().'</link>';
|
||||||
$xml .= '<description>'.$site->description().'</description>';
|
$xml .= '<description>'.$site->description().'</description>';
|
||||||
|
$xml .= '<lastBuildDate>'.date(DATE_RSS).'</lastBuildDate>';
|
||||||
|
|
||||||
// Get keys of pages
|
// Get keys of pages
|
||||||
foreach ($list as $pageKey) {
|
foreach ($list as $pageKey) {
|
||||||
|
|
Loading…
Reference in New Issue