diff options
author | Friendika <info@friendika.com> | 2011-10-31 20:39:04 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-31 20:39:04 -0700 |
commit | d4644d73392f335a3cc488fbd8935068a567edcf (patch) | |
tree | 1fe123926d95305a19c1999ab6f01232a9d43583 /include/Scrape.php | |
parent | d5ce13ee12f6d9fcebf905213b66938fb1ceb06c (diff) | |
download | volse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.tar.gz volse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.tar.bz2 volse-hubzilla-d4644d73392f335a3cc488fbd8935068a567edcf.zip |
name change continued, social graph tools and stuctures, fix for spanish province name
Diffstat (limited to 'include/Scrape.php')
-rw-r--r-- | include/Scrape.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; |