1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 13:50:23 +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 KonachanBridge extends BridgeAbstract{
$this->name = "Konachan";
$this->uri = "http://konachan.com/";
$this->description = "Returns images from given page";
$this->update = "2014-05-25";
$this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -44,9 +44,8 @@ class KonachanBridge extends BridgeAbstract{
$item->postid = $json['id'];
$item->timestamp = $json['created_at'];
$item->imageUri = $json['file_url'];
$item->thumbnailUri = $json['preview_url'];
$item->title = 'Konachan | '.$json['id'];
$item->content = '<a href="' . $item->imageUri . '"><img src="' . $item->thumbnailUri . '" /></a><br>Tags: '.$json['tags'];
$item->content = '<a href="' . $item->imageUri . '"><img src="' . $json['preview_url'] . '" /></a><br>Tags: '.$json['tags'];
$this->items[] = $item;
}
}