aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-27 14:52:35 -0700
committerFriendika <info@friendika.com>2011-10-27 14:52:35 -0700
commit056fe0a3aabecdc3a236ce9350e4e6f54ef52758 (patch)
treeeacecc5f0fe4b2ce256a1ed37d34e03ed9fbc10f
parentea0ab6fbac0dc317eb2e81abedbd3855c08a14c5 (diff)
downloadvolse-hubzilla-056fe0a3aabecdc3a236ce9350e4e6f54ef52758.tar.gz
volse-hubzilla-056fe0a3aabecdc3a236ce9350e4e6f54ef52758.tar.bz2
volse-hubzilla-056fe0a3aabecdc3a236ce9350e4e6f54ef52758.zip
poco discovery
-rw-r--r--boot.php2
-rw-r--r--mod/xrd.php1
-rw-r--r--view/xrd_person.tpl2
3 files changed, 4 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 0b03a20c8..6902023fd 100644
--- a/boot.php
+++ b/boot.php
@@ -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 );
diff --git a/mod/xrd.php b/mod/xrd.php
index a416a2cf3..2fa6bcd99 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -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'],
diff --git a/view/xrd_person.tpl b/view/xrd_person.tpl
index 2b5af3d0d..a4b921fe1 100644
--- a/view/xrd_person.tpl
+++ b/view/xrd_person.tpl
@@ -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" />