From 87f495d31b8f40375a6a1bf05a6d2bc9860029c3 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 20 Jan 2012 14:58:16 +0100 Subject: Part of bug #3463481: add guid to items --- www/rss.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/rss.php b/www/rss.php index 46c0ffd..3628a2e 100644 --- a/www/rss.php +++ b/www/rss.php @@ -137,6 +137,7 @@ $bookmarks_tmp = filter($bookmarks['bookmarks']); $bookmarks_tpl = array(); $latestdate = null; +$guidBaseUrl = addProtocolToUrl(ROOT) . '#'; foreach ($bookmarks_tmp as $key => $row) { $_link = $row['bAddress']; // Redirection option @@ -154,7 +155,8 @@ foreach ($bookmarks_tmp as $key => $row) { 'description' => $row['bDescription'], 'creator' => SemanticScuttle_Model_UserArray::getName($row), 'pubdate' => $_pubdate, - 'tags' => $row['tags'] + 'tags' => $row['tags'], + 'guid' => $guidBaseUrl . $row['bId'], ); } unset($bookmarks_tmp); -- cgit v1.2.3