Add lastBuildDate to RSS feed xml
This commit is contained in:
parent
721099aa4f
commit
b9e5161177
@ -57,6 +57,7 @@ class pluginRSS extends Plugin {
|
||||
$xml .= '<title>'.$site->title().'</title>';
|
||||
$xml .= '<link>'.$site->url().'</link>';
|
||||
$xml .= '<description>'.$site->description().'</description>';
|
||||
$xml .= '<lastBuildDate>'.date(DATE_RSS).'</lastBuildDate>';
|
||||
|
||||
// Get keys of pages
|
||||
foreach ($list as $pageKey) {
|
||||
@ -136,4 +137,4 @@ class pluginRSS extends Plugin {
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user