diff options
Diffstat (limited to 'bridges/Rule34Bridge.php')
-rw-r--r-- | bridges/Rule34Bridge.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/Rule34Bridge.php b/bridges/Rule34Bridge.php index b4c30dd9..d9ca0669 100644 --- a/bridges/Rule34Bridge.php +++ b/bridges/Rule34Bridge.php @@ -7,7 +7,7 @@ class Rule34Bridge extends BridgeAbstract{ $this->name = "Rule34"; $this->uri = "http://rule34.xxx/"; $this->description = "Returns images from given page"; - $this->update = "2014-05-25"; + $this->update = "2016-08-09"; $this->parameters[] = '[ @@ -41,10 +41,10 @@ class Rule34Bridge extends BridgeAbstract{ $item->uri = 'http://rule34.xxx/'.$element->find('a', 0)->href; $item->postid = (int)preg_replace("/[^0-9]/",'', $element->getAttribute('id')); $item->timestamp = time(); - $item->thumbnailUri = $element->find('img', 0)->src; + $thumbnailUri = $element->find('img', 0)->src; $item->tags = $element->find('img', 0)->getAttribute('alt'); $item->title = 'Rule34 | '.$item->postid; - $item->content = '<a href="' . $item->uri . '"><img src="' . $item->thumbnailUri . '" /></a><br>Tags: '.$item->tags; + $item->content = '<a href="' . $item->uri . '"><img src="' . $thumbnailUri . '" /></a><br>Tags: '.$item->tags; $this->items[] = $item; } } |