Add RSS 2.0 Namespaces for Atom and Simple Chapters

This commit is contained in:
Ingo Ebel 2012-07-02 12:08:27 +03:00
parent a732622f30
commit ad22cd55ec

View file

@ -643,6 +643,9 @@ class serendipity_event_podcast extends serendipity_event{
case 'frontend_display:rss-2.0:namespace':
$eventData['display_dat'] .= " xmlns:itunes=\"http://www.itunes.com/dtds/podcast-1.0.dtd\"\n";
$eventData['display_dat'] .= " xmlns:atom=\"http://www.w3.org/2005/Atom\"\n";
$eventData['display_dat'] .= " xmlns:sc=\"http://podlove.org/simple-chapters\"\n";
if (version_compare(preg_replace('@[^0-9\.]@', '', $serendipity['version']), '1.6', '<')) {
} else {