1
0
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:
logmanoriginal
2016-08-09 15:50:25 +02:00
parent e329a4c1b6
commit 42b6c82753
53 changed files with 104 additions and 183 deletions

View File

@@ -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++;