From: Evan Prodromou Date: Tue, 10 Jun 2008 14:44:20 +0000 (-0400) Subject: add link for FOAF autodiscovery X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e6cb08b887a833d278156f9f9ff04b20f794a7e;p=quix0rs-gnu-social.git add link for FOAF autodiscovery darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz --- 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' =>