diff options
author | Friendika <info@friendika.com> | 2011-09-20 18:07:33 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-20 18:07:33 -0700 |
commit | 9115e9c90b749e1739d412df2d63ae96e0b89b3e (patch) | |
tree | 9012fe80ebcc7784f1712f8941f1fe5ecafc14ad /include | |
parent | 8294dde936349a58e2c1a974768f5662f2ca9c2e (diff) | |
download | volse-hubzilla-9115e9c90b749e1739d412df2d63ae96e0b89b3e.tar.gz volse-hubzilla-9115e9c90b749e1739d412df2d63ae96e0b89b3e.tar.bz2 volse-hubzilla-9115e9c90b749e1739d412df2d63ae96e0b89b3e.zip |
no need to scrape Twitter profile photo from page - it's no longer there.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scrape.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/Scrape.php b/include/Scrape.php index a55608c2d..2af02fff5 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -249,20 +249,6 @@ function scrape_feed($url) { return $ret; - $items = $dom->getElementsByTagName('img'); - - // get img elements (twitter) - - if($items) { - foreach($items as $item) { - $x = $item->getAttribute('id'); - if($x === 'profile-image') { - $ret['photo'] = $item->getAttribute('src'); - } - } - } - - $head = $dom->getElementsByTagName('base'); if($head) { foreach($head as $head0) { |