diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 17:59:31 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-24 17:59:31 -0700 |
commit | d537fc854b89bc8af85f97ffcd637f8fb11bc601 (patch) | |
tree | 214fdd5b2bca5d981467a5f04314566a6bc51ea7 /mod/wfinger.php | |
parent | d9061fd09ecdb4fe94ac6b2b99e8f35f613ad653 (diff) | |
download | volse-hubzilla-d537fc854b89bc8af85f97ffcd637f8fb11bc601.tar.gz volse-hubzilla-d537fc854b89bc8af85f97ffcd637f8fb11bc601.tar.bz2 volse-hubzilla-d537fc854b89bc8af85f97ffcd637f8fb11bc601.zip |
typo and update to rfc7033 (webfinger) as well as webfinger diagnostic page
Diffstat (limited to 'mod/wfinger.php')
-rw-r--r-- | mod/wfinger.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/wfinger.php b/mod/wfinger.php index bdec92b54..eba17de51 100644 --- a/mod/wfinger.php +++ b/mod/wfinger.php @@ -65,7 +65,7 @@ function wfinger_init(&$a) { $result['aliases'] = array(); - $result['properties'] = array('http://webfinger.example/ns/name' => $r[0]['channel_name']); + $result['properties'] = array('http://webfinger.net/ns/name' => $r[0]['channel_name']); foreach($aliases as $alias) if($alias != $resource) @@ -75,18 +75,18 @@ function wfinger_init(&$a) { $result['links'] = array( array( - 'rel' => 'http://webfinger.example/rel/avatar', + 'rel' => 'http://webfinger.net/rel/avatar', 'type' => $r[0]['xchan_photo_mimetype'], 'href' => $r[0]['xchan_photo_l'] ), array( - 'rel' => 'http://webfinger.example/rel/profile-page', + 'rel' => 'http://webfinger.net/rel/profile-page', 'href' => z_root() . '/profile/' . $r[0]['channel_address'], ), array( - 'rel' => 'http://webfinger.example/rel/blog', + 'rel' => 'http://webfinger.net/rel/blog', 'href' => z_root() . '/channel/' . $r[0]['channel_address'], ), |