diff options
author | Friendika <info@friendika.com> | 2010-11-09 18:24:35 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-09 18:24:35 -0800 |
commit | f4fd67992812c5c356ff51e875077921a2222d90 (patch) | |
tree | 0ca3e25a5760c3d9d1598bca716f24767fe234fa /boot.php | |
parent | 70bcf000e3662266df8683d57269a0b75af60330 (diff) | |
download | volse-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.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |