mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 06:10:22 +02:00
bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
This commit is contained in:
@@ -7,7 +7,7 @@ class UnsplashBridge extends BridgeAbstract {
|
||||
$this->name = "Unsplash Bridge";
|
||||
$this->uri = "http://unsplash.com/";
|
||||
$this->description = "Returns the latests photos from Unsplash";
|
||||
$this->update = "2015-03-02";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -61,8 +61,7 @@ class UnsplashBridge extends BridgeAbstract {
|
||||
$thumbnail->src).'.jpg'; // '.jpg' only for format hint
|
||||
$item->timestamp = time();
|
||||
$item->title = $thumbnail->alt;
|
||||
$item->thumbnailUri = $thumbnail->src;
|
||||
$item->content = $item->title.'<br><a href="'.$item->uri.'"><img src="'.$item->thumbnailUri.'" /></a>';
|
||||
$item->content = $item->title.'<br><a href="'.$item->uri.'"><img src="'.$thumbnail->src.'" /></a>';
|
||||
$this->items[] = $item;
|
||||
|
||||
$num++;
|
||||
|
Reference in New Issue
Block a user