From: Michael Vogel Date: Sat, 13 Jun 2015 17:51:45 +0000 (+0200) Subject: Remote subscribe from a GNU Social site is now possible X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66058c6cf41791eeca418d9003aa6daa1a036ce2;p=friendica.git Remote subscribe from a GNU Social site is now possible --- diff --git a/mod/xrd.php b/mod/xrd.php index 7cfb643df1..dfb188c138 100644 --- a/mod/xrd.php +++ b/mod/xrd.php @@ -54,6 +54,7 @@ function xrd_init(&$a) { '$dspr' => $dspr, '$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'], '$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'] . '/mention', + '$subscribe' => $a->get_baseurl() . '/follow?url={uri}', '$modexp' => 'data:application/magic-public-key,' . $salmon_key, '$bigkey' => salmon_key($r[0]['pubkey']) )); diff --git a/view/templates/xrd_person.tpl b/view/templates/xrd_person.tpl index c5c6f538c7..f3ac0332b8 100644 --- a/view/templates/xrd_person.tpl +++ b/view/templates/xrd_person.tpl @@ -29,6 +29,8 @@ href="{{$salmon}}" /> +