mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-03 17:44:48 +02:00
bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
This commit is contained in:
parent
e329a4c1b6
commit
42b6c82753
53 changed files with 104 additions and 183 deletions
|
@ -7,7 +7,7 @@ class FlickrTagBridge extends BridgeAbstract{
|
|||
$this->name = "Flickr TagUser";
|
||||
$this->uri = "http://www.flickr.com/";
|
||||
$this->description = "Returns the tagged or user images from Flickr";
|
||||
$this->update = "2014-05-26";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
$this->parameters["By keyword"] =
|
||||
'[
|
||||
|
@ -44,8 +44,8 @@ class FlickrTagBridge extends BridgeAbstract{
|
|||
foreach($html->find('span.photo_container') as $element) {
|
||||
$item = new \Item();
|
||||
$item->uri = 'http://flickr.com'.$element->find('a',0)->href;
|
||||
$item->thumbnailUri = $element->find('img',0)->getAttribute('data-defer-src');
|
||||
$item->content = '<a href="' . $item->uri . '"><img src="' . $item->thumbnailUri . '" /></a>'; // FIXME: Filter javascript ?
|
||||
$thumbnailUri = $element->find('img',0)->getAttribute('data-defer-src');
|
||||
$item->content = '<a href="' . $item->uri . '"><img src="' . $thumbnailUri . '" /></a>'; // FIXME: Filter javascript ?
|
||||
$item->title = $element->find('a',0)->title;
|
||||
$this->items[] = $item;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue