summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <git@evanprodromou.name>2009-01-06 22:24:28 -0500
committerEvan Prodromou <git@evanprodromou.name>2009-01-06 22:24:28 -0500
commit6d1d59a36bfa3659545027c7daf8b4abd0ac53a2 (patch)
treeedf3984af1ddc3e33ed165c3aedef1a8a92535ad /actions
parentd3b1c1af1620764c9f6c2e1b692338e60ed8e706 (diff)
XRDS namespace fix
Diffstat (limited to 'actions')
-rw-r--r--actions/publicxrds.php2
-rw-r--r--actions/xrds.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/actions/publicxrds.php b/actions/publicxrds.php
index 951434c87..30f215af2 100644
--- a/actions/publicxrds.php
+++ b/actions/publicxrds.php
@@ -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'));
diff --git a/actions/xrds.php b/actions/xrds.php
index 1d516aab7..e82685a78 100644
--- a/actions/xrds.php
+++ b/actions/xrds.php
@@ -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');