diff --git a/data/templates/default/rss.tpl.php b/data/templates/default/rss.tpl.php index 6b489d5..fd5bdbf 100644 --- a/data/templates/default/rss.tpl.php +++ b/data/templates/default/rss.tpl.php @@ -17,6 +17,7 @@ echo '<' . '?xml version="1.0" encoding="utf-8" ?' . ">\n"; <?php echo htmlspecialchars($bookmark['title']); ?> + 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);