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) {
|
||||||
|
@ -136,4 +137,4 @@ class pluginRSS extends Plugin {
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue