Add RSS 2.0 Namespaces for Atom and Simple Chapters
This commit is contained in:
parent
a732622f30
commit
ad22cd55ec
1 changed files with 3 additions and 0 deletions
|
@ -643,6 +643,9 @@ class serendipity_event_podcast extends serendipity_event{
|
||||||
case 'frontend_display:rss-2.0:namespace':
|
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: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', '<')) {
|
if (version_compare(preg_replace('@[^0-9\.]@', '', $serendipity['version']), '1.6', '<')) {
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue