aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-05 20:32:43 -0700
committerFriendika <info@friendika.com>2011-07-05 20:32:43 -0700
commitc552248b7c4b215858050b11d4bcbb58aaeb31df (patch)
tree6169595c07272f66ae76888a27e29ef1dec5491b /include
parent8992c27fa69964bd81ccdc5021e02653e202b27b (diff)
downloadvolse-hubzilla-c552248b7c4b215858050b11d4bcbb58aaeb31df.tar.gz
volse-hubzilla-c552248b7c4b215858050b11d4bcbb58aaeb31df.tar.bz2
volse-hubzilla-c552248b7c4b215858050b11d4bcbb58aaeb31df.zip
item tags instead of feed
Diffstat (limited to 'include')
-rw-r--r--include/Scrape.php2
1 files changed, 1 insertions, 1 deletions
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'))