use some constants and do some extra output in webfinger output
This commit is contained in:
parent
bd74f05a66
commit
912814fb7f
@ -55,10 +55,16 @@ class WebfingerAction extends Action
|
||||
|
||||
$xrd->subject = $this->uri;
|
||||
$xrd->alias[] = common_profile_url($nick);
|
||||
$xrd->links[] = array('rel' => 'http://webfinger.net/rel/profile-page',
|
||||
$xrd->links[] = array('rel' => Webfinger::PROFILEPAGE,
|
||||
'type' => 'text/html',
|
||||
'href' => common_profile_url($nick));
|
||||
|
||||
$xrd->links[] = array('rel' => Webfinger::UPDATESFROM,
|
||||
'href' => common_local_url('ApiTimelineUser',
|
||||
array('id' => $this->user->id,
|
||||
'format' => 'atom')),
|
||||
'type' => 'application/atom+xml');
|
||||
|
||||
$salmon_url = common_local_url('salmon',
|
||||
array('id' => $this->user->id));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user