From d4644d73392f335a3cc488fbd8935068a567edcf Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 31 Oct 2011 20:39:04 -0700 Subject: name change continued, social graph tools and stuctures, fix for spanish province name --- include/Scrape.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/Scrape.php') diff --git a/include/Scrape.php b/include/Scrape.php index f5b15c82f..e42d22afc 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -369,6 +369,8 @@ function probe_url($url, $mode = PROBE_NORMAL) { $hcard = unamp($link['@attributes']['href']); if($link['@attributes']['rel'] === 'http://webfinger.net/rel/profile-page') $profile = unamp($link['@attributes']['href']); + if($link['@attributes']['rel'] === 'http://portablecontacts.net/spec/1.0') + $poco = unamp($link['@attributes']['href']); if($link['@attributes']['rel'] === 'http://joindiaspora.com/seed_location') { $diaspora_base = unamp($link['@attributes']['href']); $diaspora = true; @@ -684,6 +686,7 @@ function probe_url($url, $mode = PROBE_NORMAL) { $result['poll'] = $poll; $result['request'] = $request; $result['confirm'] = $confirm; + $result['poco'] = $poco; $result['photo'] = $vcard['photo']; $result['priority'] = $priority; $result['network'] = $network; -- cgit v1.2.3