Valid rss date format
This commit is contained in:
parent
d8a7f45b40
commit
728484084f
|
@ -5,6 +5,6 @@
|
||||||
"version": "3.4",
|
"version": "3.4",
|
||||||
"releaseDate": "2018-11-10",
|
"releaseDate": "2018-11-10",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"compatible": "3.4",
|
"compatible": "3.5",
|
||||||
"notes": ""
|
"notes": ""
|
||||||
}
|
}
|
|
@ -67,7 +67,7 @@ class pluginRSS extends Plugin {
|
||||||
$xml .= '<title>'.$page->title().'</title>';
|
$xml .= '<title>'.$page->title().'</title>';
|
||||||
$xml .= '<link>'.$page->permalink().'</link>';
|
$xml .= '<link>'.$page->permalink().'</link>';
|
||||||
$xml .= '<description>'.Sanitize::html($page->contentBreak()).'</description>';
|
$xml .= '<description>'.Sanitize::html($page->contentBreak()).'</description>';
|
||||||
$xml .= '<pubDate>'.$page->dateRaw('r').'</pubDate>';
|
$xml .= '<pubDate>'.$page->date(DATE_RSS).'</pubDate>';
|
||||||
$xml .= '<guid isPermaLink="false">'.$page->uuid().'</guid>';
|
$xml .= '<guid isPermaLink="false">'.$page->uuid().'</guid>';
|
||||||
$xml .= '</item>';
|
$xml .= '</item>';
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue