From a1786cbf61a3ea6ff15ebcc578e7ad9800814391 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 28 Sep 2011 04:35:44 -0700 Subject: [PATCH] fixes for statusnet/identi.ca empty vcard page - which appears to be deprecated. Scrape the feed for everything we used to get from the vcard. --- include/Scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Scrape.php b/include/Scrape.php index 2af02fff..642b8e62 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -533,7 +533,7 @@ function probe_url($url, $mode = PROBE_NORMAL) { if($twitter || ! $poll) $check_feed = true; - if((! isset($vcard)) || (! $profile)) + if((! isset($vcard)) || (! x($vcard,'fn')) || (! $profile)) $check_feed = true; if(($at_addr) && (! count($links))) $check_feed = false;