Merge pull request #134 from Strubbl/fix-googleplus-item-uri

add Google+ base URL in front of item entry URI
This commit is contained in:
Mitsu 2015-06-28 02:30:14 +02:00
commit d9b2f267c5
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class GooglePlusPostBridge extends BridgeAbstract
// $item->title = $item->fullname = $post->find('header.lea', 0)->plaintext;
$item->avatar = $post->find('div.ys img', 0)->src;
// var_dump((($post->find('a.o-U-s', 0)->getAllAttributes())));
$item->uri = $post->find('a.o-U-s', 0)->href;
$item->uri = self::GOOGLE_PLUS_BASE_URL . $post->find('a.o-U-s', 0)->href;
$item->timestamp = strtotime($post->find('a.o-U-s', 0)->plaintext);
$this->items[] = $item;