From 9e6cb08b887a833d278156f9f9ff04b20f794a7e Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 10 Jun 2008 10:44:20 -0400 Subject: [PATCH] add link for FOAF autodiscovery darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz --- actions/showstream.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions/showstream.php b/actions/showstream.php index b54aad8557..a2c2c37718 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' => -- 2.39.5