issue #241 (redmatrix issue 405)

This commit is contained in:
redmatrix
2016-01-01 16:12:43 -08:00
parent 9ee7d60afe
commit c38edfcb32
6 changed files with 112 additions and 100 deletions

View File

@@ -100,6 +100,11 @@ function wfinger_init(&$a) {
'href' => z_root() . '/channel/' . $r[0]['channel_address'],
),
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'],

View File

@@ -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'])
));