diff --git a/bridges/PinterestBridge.php b/bridges/PinterestBridge.php index 461b201..0f23bb6 100644 --- a/bridges/PinterestBridge.php +++ b/bridges/PinterestBridge.php @@ -53,7 +53,7 @@ class PinterestBridge extends BridgeAbstract{ $item = new \Item(); $item->uri = $this->getURI().$a->getAttribute('href'); - $item->content = ''; + $item->content = ''; if (isset($this->query)) @@ -68,13 +68,9 @@ class PinterestBridge extends BridgeAbstract{ $item->content .= '
'.$item->username.''; $item->content .= '
'.$item->fullname; - } else { - - $credit = $div->find('a.creditItem',0); - $item->content .= '
'.$credit->innertext; } - $item->title = basename($img->getAttribute('alt')); + $item->title = $img->getAttribute('alt'); //$item->timestamp = $media->created_time; $this->items[] = $item; @@ -97,6 +93,6 @@ class PinterestBridge extends BridgeAbstract{ } public function getCacheDuration(){ - return 0; + return 3600; } }