From: Evan Prodromou Date: Fri, 30 May 2008 18:35:28 +0000 (-0400) Subject: add X-XRDS-Location header X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e707f5a2c49ec854fdaa99004b3edf9b7ced5c9;p=quix0rs-gnu-social.git add X-XRDS-Location header darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index a4c476534c..86c3c76a43 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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 tag + + header('X-XRDS-Location: '. common_local_url('xrds', array('nickname' => + $user->nickname))); common_show_header($profile->nickname, array($this, 'show_header'), $user);