aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-09 18:24:35 -0800
committerFriendika <info@friendika.com>2010-11-09 18:24:35 -0800
commitf4fd67992812c5c356ff51e875077921a2222d90 (patch)
tree0ca3e25a5760c3d9d1598bca716f24767fe234fa /boot.php
parent70bcf000e3662266df8683d57269a0b75af60330 (diff)
downloadvolse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.tar.gz
volse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.tar.bz2
volse-hubzilla-f4fd67992812c5c356ff51e875077921a2222d90.zip
couple of issues w/ profile photo update propogation
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 4fc917bcc..2ac6ee791 100644
--- a/boot.php
+++ b/boot.php
@@ -954,6 +954,7 @@ function webfinger_dfrn($s) {
return $s;
}
$links = webfinger($s);
+ logger('webfinger_dfrn: ' . $s . ':' . print_r($links,true), LOGGER_DATA);
if(count($links)) {
foreach($links as $link)
if($link['@attributes']['rel'] === NAMESPACE_DFRN)
@@ -978,6 +979,7 @@ function webfinger($s) {
}
if(strlen($host)) {
$tpl = fetch_lrdd_template($host);
+ logger('webfinger: lrdd template: ' . $tpl);
if(strlen($tpl)) {
$pxrd = str_replace('{uri}', urlencode('acct:'.$s), $tpl);
$links = fetch_xrd_links($pxrd);
@@ -1066,9 +1068,12 @@ function fetch_lrdd_template($host) {
if(! function_exists('fetch_xrd_links')) {
function fetch_xrd_links($url) {
+
$xml = fetch_url($url);
if (! $xml)
return array();
+
+ logger('fetch_xrd_links: ' . $xml, LOGGER_DATA);
$h = simplexml_load_string($xml);
$arr = convert_xml_element_to_array($h);