Use the full size image in feed instead of the small sized version

This commit is contained in:
pauder 2014-03-11 11:17:57 +01:00
parent 4a63fed224
commit 45f147ec24

View file

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