returnError('404 Not Found', 'ERROR: could not request Flickr.'); $this->items = Array(); foreach($html->find('span.photo_container') as $element) { $item['uri'] = 'http://flickr.com'.$element->find('a',0)->href; $item['thumbnailUri'] = $element->find('img',0)->getAttribute('data-defer-src'); $item['content'] = ''; // FIXME: Filter javascript ? $item['title'] = $element->find('a',0)->title; $this->items[] = $item; } } } $bridge = new RssBridgeFlickrExplore(); $bridge->process(); ?>