]> git.mxchange.org Git - friendica.git/commitdiff
poco discovery
authorFriendika <info@friendika.com>
Thu, 27 Oct 2011 21:52:35 +0000 (14:52 -0700)
committerFriendika <info@friendika.com>
Thu, 27 Oct 2011 21:52:35 +0000 (14:52 -0700)
boot.php
mod/xrd.php
view/xrd_person.tpl

index 0b03a20c8a1721126876317f7d46b1db7d908790..6902023fd2fe55846a566630591a192ab258044d 100644 (file)
--- 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      );
 
index a416a2cf3f3e99a3f9ca49be8db58b5cf277b32d..2fa6bcd99bf5099200b7319ff3acb29496500fba 100644 (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'],
index 2b5af3d0d2d8aa0c263d5f4322f776d482dd6286..a4b921fe10b25b22f80ad8a1d16a7b4f7fa49bbd 100644 (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" />