add link for FOAF autodiscovery
darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz
This commit is contained in:
parent
cb0dfba149
commit
9e6cb08b88
|
@ -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' =>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user