add hcard to webfinger

This commit is contained in:
Mario 2017-10-24 10:41:37 +02:00
parent ccc8ff107e
commit a23f8b6231

View File

@ -124,6 +124,12 @@ class Wfinger extends \Zotlabs\Web\Controller {
'href' => $r[0]['xchan_photo_l'] 'href' => $r[0]['xchan_photo_l']
], ],
[
'rel' => 'http://microformats.org/profile/hcard',
'type' => 'text/html',
'href' => z_root() . '/hcard/' . $r[0]['channel_address']
],
[ [
'rel' => 'http://webfinger.net/rel/profile-page', 'rel' => 'http://webfinger.net/rel/profile-page',
'href' => z_root() . '/profile/' . $r[0]['channel_address'], 'href' => z_root() . '/profile/' . $r[0]['channel_address'],