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