From c552248b7c4b215858050b11d4bcbb58aaeb31df Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 5 Jul 2011 20:32:43 -0700 Subject: item tags instead of feed --- include/Scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/Scrape.php') diff --git a/include/Scrape.php b/include/Scrape.php index c2663a874..fbfec176f 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -494,7 +494,7 @@ function probe_url($url) { $vcard['photo'] = unxmlify($rawmedia[0]['attribs']['']['url']); } if(! $vcard['photo']) { - $rawtags = $item->get_feed_tags( SIMPLEPIE_NAMESPACE_ATOM_10, 'author'); + $rawtags = $item->get_item_tags( SIMPLEPIE_NAMESPACE_ATOM_10, 'author'); if($rawtags) { $elems = $rawtags[0]['child'][SIMPLEPIE_NAMESPACE_ATOM_10]; if((x($elems,'link')) && ($elems['link'][0]['attribs']['']['rel'] === 'photo')) -- cgit v1.2.3