diff options
author | redmatrix <redmatrix@redmatrix.me> | 2016-01-01 16:12:43 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2016-01-01 16:12:43 -0800 |
commit | c38edfcb32747c7c25f1df5968288b9eef43fddc (patch) | |
tree | e79c6f0bd59229f2c798b174d937b3138ccd6e68 /mod | |
parent | 9ee7d60afe1ea02bb1e2c7bf3d3780a94067d057 (diff) | |
download | volse-hubzilla-c38edfcb32747c7c25f1df5968288b9eef43fddc.tar.gz volse-hubzilla-c38edfcb32747c7c25f1df5968288b9eef43fddc.tar.bz2 volse-hubzilla-c38edfcb32747c7c25f1df5968288b9eef43fddc.zip |
issue #241 (redmatrix issue 405)
Diffstat (limited to 'mod')
-rw-r--r-- | mod/wfinger.php | 5 | ||||
-rw-r--r-- | mod/xrd.php | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mod/wfinger.php b/mod/wfinger.php index 8b9abe4af..5270c8f31 100644 --- a/mod/wfinger.php +++ b/mod/wfinger.php @@ -101,6 +101,11 @@ function wfinger_init(&$a) { ), array( + 'rel' => 'http://ostatus.org/schema/1.0/subscribe', + 'template' => z_root() . '/follow/url={uri}', + ), + + array( 'rel' => 'http://purl.org/zot/protocol', 'href' => z_root() . '/.well-known/zot-info' . '?address=' . $r[0]['xchan_addr'], ) diff --git a/mod/xrd.php b/mod/xrd.php index a373f8bf5..34ed47149 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -50,6 +50,7 @@ function xrd_init(&$a) { // '$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['channel_address'], // '$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['channel_address'] . '/mention', '$modexp' => 'data:application/magic-public-key,' . $salmon_key, + '$subscribe' => $a->get_baseurl() . '/follow?url={uri}', // '$bigkey' => salmon_key($r[0]['pubkey']) )); |