]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "XRDS namespace fix"
authorEvan Prodromou <git@evanprodromou.name>
Wed, 7 Jan 2009 03:43:43 +0000 (22:43 -0500)
committerEvan Prodromou <git@evanprodromou.name>
Wed, 7 Jan 2009 03:43:43 +0000 (22:43 -0500)
This reverts commit 6d1d59a36bfa3659545027c7daf8b4abd0ac53a2.

It seems to interfere with the Yadis discovery.

actions/publicxrds.php
actions/xrds.php

index 30f215af2dd01af56630585632986de66d8f570d..951434c8783015f114079d75fd038cfd85e75522 100644 (file)
@@ -38,7 +38,7 @@ class PublicxrdsAction extends Action {
                common_start_xml();
                common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
 
-               common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
+               common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
                                                                                  'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
                                                                                  'version' => '2.0'));
 
index e82685a78cd5c01c14c980cd1b4aa86c90b58523..1d516aab72e78d6681e7b6d614f71810fc146eb5 100644 (file)
@@ -23,7 +23,7 @@ require_once(INSTALLDIR.'/lib/omb.php');
 
 class XrdsAction extends Action {
 
-       function is_readonly() {
+       function is_readonly() {                                
                return true;
        }
 
@@ -45,7 +45,7 @@ class XrdsAction extends Action {
                common_start_xml();
                common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
 
-               common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
+               common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
                                                  'xml:id' => 'oauth',
                                                                                  'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
                                                                                  'version' => '2.0'));
@@ -77,7 +77,7 @@ class XrdsAction extends Action {
 
                # XXX: decide whether to include user's ID/nickname in postNotice URL
 
-               common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
+               common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
                                                  'xml:id' => 'omb',
                                                                                  'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
                                                                                  'version' => '2.0'));
@@ -92,7 +92,7 @@ class XrdsAction extends Action {
 
                common_element_end('XRD');
 
-               common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)',
+               common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
                                                                                  'version' => '2.0'));
 
                common_element('Type', NULL, 'xri://$xrds*simple');