]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add X-XRDS-Location header
authorEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:35:28 +0000 (14:35 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:35:28 +0000 (14:35 -0400)
darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz

actions/showstream.php

index a4c476534c9c2a0bd86fb3f2744f775b432dfdd4..86c3c76a430ea858e57045df0f529648c9fb9f9c 100644 (file)
@@ -45,7 +45,12 @@ class ShowstreamAction extends StreamAction {
                        return;
                }
 
-               # Looks like we're good; show the header
+               # Looks like we're good; start output
+               
+               # For YADIS discovery, we also have a <meta> tag
+
+               header('X-XRDS-Location: '. common_local_url('xrds', array('nickname' =>
+                                                                                                                                  $user->nickname)));
 
                common_show_header($profile->nickname, array($this, 'show_header'), $user);