From ad22cd55ece32f1d8debb04c4cbd8bd425b8de8c Mon Sep 17 00:00:00 2001 From: Ingo Ebel Date: Mon, 2 Jul 2012 12:08:27 +0300 Subject: [PATCH] Add RSS 2.0 Namespaces for Atom and Simple Chapters --- serendipity_event_podcast/serendipity_event_podcast.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/serendipity_event_podcast/serendipity_event_podcast.php b/serendipity_event_podcast/serendipity_event_podcast.php index 4dc5bb37..495bdd5e 100644 --- a/serendipity_event_podcast/serendipity_event_podcast.php +++ b/serendipity_event_podcast/serendipity_event_podcast.php @@ -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 {