poco discovery

This commit is contained in:
Friendika 2011-10-27 14:52:35 -07:00
parent ea0ab6fbac
commit 056fe0a3aa
3 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDIKA_PLATFORM', 'Free Friendika');
define ( 'FRIENDIKA_VERSION', '2.3.1146' );
define ( 'FRIENDIKA_VERSION', '2.3.1147' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1099 );

View file

@ -47,6 +47,7 @@ function xrd_init(&$a) {
'$hcard_url' => $a->get_baseurl() . '/hcard/' . $r[0]['nickname'],
'$atom' => $a->get_baseurl() . '/dfrn_poll/' . $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',
'$dspr' => $dspr,
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],

View file

@ -27,6 +27,8 @@
<Link rel="http://microformats.org/profile/hcard"
type="text/html"
href="$hcard_url" />
<Link rel="http://portablecontacts.net/spec/1.0"
href="$poco_url" />
<Link rel="http://webfinger.net/rel/avatar"
type="image/jpeg"
href="$photo" />