From b18990872e009555f88ee0c060b7d67dd234b3be Mon Sep 17 00:00:00 2001 From: Sven Fischer Date: Sat, 27 Jun 2015 23:58:06 +0200 Subject: [PATCH] add Google+ base URL in front of item entry URI this fixes the Atom feed entry URL from https://example.com/rss-bridge/+Perspn/posts/N6fgHam5e2ik to point to https://plus.google.com/+Perspn/posts/N6fgHam5e2ik. Otherwise the URL count not be found. --- bridges/GooglePlusPostBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GooglePlusPostBridge.php b/bridges/GooglePlusPostBridge.php index 05cffec8..ab77deea 100644 --- a/bridges/GooglePlusPostBridge.php +++ b/bridges/GooglePlusPostBridge.php @@ -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;