mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-23 18:15:28 +03: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:
commit
d9b2f267c5
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class GooglePlusPostBridge extends BridgeAbstract
|
||||||
// $item->title = $item->fullname = $post->find('header.lea', 0)->plaintext;
|
// $item->title = $item->fullname = $post->find('header.lea', 0)->plaintext;
|
||||||
$item->avatar = $post->find('div.ys img', 0)->src;
|
$item->avatar = $post->find('div.ys img', 0)->src;
|
||||||
// var_dump((($post->find('a.o-U-s', 0)->getAllAttributes())));
|
// 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);
|
$item->timestamp = strtotime($post->find('a.o-U-s', 0)->plaintext);
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue