use new hcard method for webfinger
This commit is contained in:
parent
36f02f459b
commit
cc0670791e
|
@ -66,7 +66,7 @@ class WebfingerAction extends Action
|
|||
'type' => 'application/atom+xml');
|
||||
|
||||
// hCard
|
||||
$xrd->links[] = array('rel' => 'http://microformats.org/profile/hcard',
|
||||
$xrd->links[] = array('rel' => Webfinger::HCARD,
|
||||
'type' => 'text/html',
|
||||
'href' => common_local_url('hcard', array('nickname' => $nick)));
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ class Webfinger
|
|||
{
|
||||
const PROFILEPAGE = 'http://webfinger.net/rel/profile-page';
|
||||
const UPDATESFROM = 'http://schemas.google.com/g/2010#updates-from';
|
||||
const HCARD = 'http://microformats.org/profile/hcard';
|
||||
|
||||
/**
|
||||
* Perform a webfinger lookup given an account.
|
||||
|
|
Loading…
Reference in New Issue
Block a user