summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-30 14:35:28 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-30 14:35:28 -0400
commit2e707f5a2c49ec854fdaa99004b3edf9b7ced5c9 (patch)
treefd3abb586499b0ded7bf0338577507b6c803e0f4 /actions/showstream.php
parenta73a63758f2ab9b4d951bb428b774f072b28817a (diff)
add X-XRDS-Location header
darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index a4c476534..86c3c76a4 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 <meta> tag
+
+ header('X-XRDS-Location: '. common_local_url('xrds', array('nickname' =>
+ $user->nickname)));
common_show_header($profile->nickname, array($this, 'show_header'), $user);