summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-10 10:44:20 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-10 10:44:20 -0400
commit9e6cb08b887a833d278156f9f9ff04b20f794a7e (patch)
tree7fc8b0b1caf411a7a07a7123b25848f66fa42ab1 /actions
parentcb0dfba149358f1adcf8ec283d2646e3f11495b4 (diff)
add link for FOAF autodiscovery
darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/showstream.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index b54aad855..a2c2c3771 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -73,6 +73,11 @@ class ShowstreamAction extends StreamAction {
$user->nickname)),
'type' => 'application/rss+xml',
'title' => _t('Notice feed for ') . $user->nickname));
+ common_element('link', array('rel' => 'meta',
+ 'href' => common_local_url('foaf', array('nickname' =>
+ $user->nickname)),
+ 'type' => 'application/rdr+xml',
+ 'title' => 'FOAF');
# for remote subscriptions etc.
common_element('meta', array('http-equiv' => 'X-XRDS-Location',
'content' => common_local_url('xrds', array('nickname' =>