1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 13:20:12 +02:00

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

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;