aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2017-10-24 10:41:37 +0200
committerMario <mario@mariovavti.com>2017-10-24 10:41:37 +0200
commita23f8b62318ce1bf5c253dba83f82cc11a0b8ecf (patch)
treeb824ffa1ab630f200355dd74ccc8584fbac24db0 /Zotlabs
parentccc8ff107e61de0fb86961f406bebd67348119b6 (diff)
downloadvolse-hubzilla-a23f8b62318ce1bf5c253dba83f82cc11a0b8ecf.tar.gz
volse-hubzilla-a23f8b62318ce1bf5c253dba83f82cc11a0b8ecf.tar.bz2
volse-hubzilla-a23f8b62318ce1bf5c253dba83f82cc11a0b8ecf.zip
add hcard to webfinger
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Wfinger.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index d0c4d73d2..2e9307196 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -123,7 +123,13 @@ class Wfinger extends \Zotlabs\Web\Controller {
'type' => $r[0]['xchan_photo_mimetype'],
'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',
'href' => z_root() . '/profile/' . $r[0]['channel_address'],