Browse Source

poco discovery

pull/1/head
Friendika 11 years ago
parent
commit
056fe0a3aa
  1. 2
      boot.php
  2. 1
      mod/xrd.php
  3. 2
      view/xrd_person.tpl

2
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 );

1
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'],

2
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" />

Loading…
Cancel
Save