mirror of
https://github.com/friendica/friendica
synced 2024-11-14 03:42:53 +00:00
poco discovery
This commit is contained in:
parent
ea0ab6fbac
commit
056fe0a3aa
3 changed files with 4 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
|
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
|
||||||
define ( 'FRIENDIKA_VERSION', '2.3.1146' );
|
define ( 'FRIENDIKA_VERSION', '2.3.1147' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1099 );
|
define ( 'DB_UPDATE_VERSION', 1099 );
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ function xrd_init(&$a) {
|
||||||
'$hcard_url' => $a->get_baseurl() . '/hcard/' . $r[0]['nickname'],
|
'$hcard_url' => $a->get_baseurl() . '/hcard/' . $r[0]['nickname'],
|
||||||
'$atom' => $a->get_baseurl() . '/dfrn_poll/' . $r[0]['nickname'],
|
'$atom' => $a->get_baseurl() . '/dfrn_poll/' . $r[0]['nickname'],
|
||||||
'$zot_post' => $a->get_baseurl() . '/post/' . $r[0]['nickname'],
|
'$zot_post' => $a->get_baseurl() . '/post/' . $r[0]['nickname'],
|
||||||
|
'$poco_url' => $a->get_baseurl() . '/poco/' . $r[0]['nickname'],
|
||||||
'$photo' => $a->get_baseurl() . '/photo/profile/' . $r[0]['uid'] . '.jpg',
|
'$photo' => $a->get_baseurl() . '/photo/profile/' . $r[0]['uid'] . '.jpg',
|
||||||
'$dspr' => $dspr,
|
'$dspr' => $dspr,
|
||||||
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],
|
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
<Link rel="http://microformats.org/profile/hcard"
|
<Link rel="http://microformats.org/profile/hcard"
|
||||||
type="text/html"
|
type="text/html"
|
||||||
href="$hcard_url" />
|
href="$hcard_url" />
|
||||||
|
<Link rel="http://portablecontacts.net/spec/1.0"
|
||||||
|
href="$poco_url" />
|
||||||
<Link rel="http://webfinger.net/rel/avatar"
|
<Link rel="http://webfinger.net/rel/avatar"
|
||||||
type="image/jpeg"
|
type="image/jpeg"
|
||||||
href="$photo" />
|
href="$photo" />
|
||||||
|
|
Loading…
Reference in a new issue