mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
Use the full size image in feed instead of the small sized version
This commit is contained in:
parent
4a63fed224
commit
45f147ec24
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class PinterestBridge extends BridgeAbstract{
|
|||
|
||||
$item = new \Item();
|
||||
$item->uri = $this->getURI().$a->getAttribute('href');
|
||||
$item->content = '<img src="' . htmlentities($img->getAttribute('src')) . '" alt="" />';
|
||||
$item->content = '<img src="' . htmlentities(str_replace('/236x/', '/736x/', $img->getAttribute('src'))) . '" alt="" />';
|
||||
|
||||
|
||||
if (isset($this->query))
|
||||
|
@ -83,6 +83,6 @@ class PinterestBridge extends BridgeAbstract{
|
|||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 0;
|
||||
return 3600;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue