Fix format for pinterest board page, fix a warning

This commit is contained in:
pauder 2015-01-05 12:16:50 +01:00
parent 368b73f5d7
commit 284e103326
1 changed files with 1 additions and 5 deletions

View File

@ -68,13 +68,9 @@ class PinterestBridge extends BridgeAbstract{
$item->content .= '<br /><img align="left" style="margin: 2px 4px;" src="'.htmlentities($item->avatar).'" /> <strong>'.$item->username.'</strong>'; $item->content .= '<br /><img align="left" style="margin: 2px 4px;" src="'.htmlentities($item->avatar).'" /> <strong>'.$item->username.'</strong>';
$item->content .= '<br />'.$item->fullname; $item->content .= '<br />'.$item->fullname;
} else {
$credit = $div->find('a.creditItem',0);
$item->content .= '<br />'.$credit->innertext;
} }
$item->title = basename($img->getAttribute('alt')); $item->title = $img->getAttribute('alt');
//$item->timestamp = $media->created_time; //$item->timestamp = $media->created_time;
$this->items[] = $item; $this->items[] = $item;