]> git.mjollnir.org Git - s9y.git/commitdiff
just another uncritical backport
authornohn <nohn>
Sat, 7 May 2005 17:45:50 +0000 (17:45 +0000)
committernohn <nohn>
Sat, 7 May 2005 17:45:50 +0000 (17:45 +0000)
docs/NEWS
rss.php

index 8122598c79dae3d133b78ea03a7e87cfaddd63b8..b482f04973b4c6a7e275f31d92fd6c1d34351e64 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,8 @@
 Version 0.8.1 ()
 ------------------------------------------------------------------------
 
+    * Fix RSS 1.0 missing top-level namespace (garvinhicking)
+
     * Allow the serendipity_event_trackback additional trackbacks plugin
       to send trackbacks even if your entry did not contain at least one
       link. Also fix not sending trackbacks containing "#" fragments
diff --git a/rss.php b/rss.php
index 26301cab0bbe783729f0ad58e0bbbf63580e8e53..d20f909b49ff573d6a4a53d9a971c769f7d2ef3a 100644 (file)
--- a/rss.php
+++ b/rss.php
@@ -155,8 +155,9 @@ case '1.0':
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
-   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
-<channel rdf:about="{$serendipity['baseURL']}rss.php?version=1.0">
+   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
+   xmlns="http://my.netscape.com/rdf/simple/0.9/">
+<channel>
     <title>$title</title>
     <link>{$serendipity['baseURL']}</link>
     <description>$description</description>