add link for FOAF autodiscovery

darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz
This commit is contained in:
Evan Prodromou 2008-06-10 10:44:20 -04:00
parent cb0dfba149
commit 9e6cb08b88

View File

@ -73,6 +73,11 @@ class ShowstreamAction extends StreamAction {
$user->nickname)), $user->nickname)),
'type' => 'application/rss+xml', 'type' => 'application/rss+xml',
'title' => _t('Notice feed for ') . $user->nickname)); '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. # for remote subscriptions etc.
common_element('meta', array('http-equiv' => 'X-XRDS-Location', common_element('meta', array('http-equiv' => 'X-XRDS-Location',
'content' => common_local_url('xrds', array('nickname' => 'content' => common_local_url('xrds', array('nickname' =>