summaryrefslogtreecommitdiff
path: root/www/api/posts_recent.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/posts_recent.php')
-rw-r--r--www/api/posts_recent.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/api/posts_recent.php b/www/api/posts_recent.php
index 6c71e22..5fca30d 100644
--- a/www/api/posts_recent.php
+++ b/www/api/posts_recent.php
@@ -4,6 +4,9 @@
* optionally filtered by tag and/or number of posts
* (default 15, max 100, just like del.icio.us).
*
+ * Scuttle behavior:
+ * - returns privacy status of each bookmark.
+ *
* SemanticScuttle - your social bookmark manager.
*
* PHP version 5.
@@ -75,8 +78,8 @@ foreach ($bookmarks['bookmarks'] as $row) {
$taglist = 'system:unfiled';
}
- echo "\t<post href=\"". filter($row['bAddress'], 'xml') .'" description="'. filter($row['bTitle'], 'xml') .'" '. $description .'hash="'. $row['bHash'] .'" tag="'. filter($taglist, 'xml') .'" time="'. gmdate('Y-m-d\TH:i:s\Z', strtotime($row['bDatetime'])) ."\" />\r\n";
+ echo "\t<post href=\"". filter($row['bAddress'], 'xml') .'" description="'. filter($row['bTitle'], 'xml') .'" '. $description .'hash="'. $row['bHash'] .'" tag="'. filter($taglist, 'xml') .'" time="'. gmdate('Y-m-d\TH:i:s\Z', strtotime($row['bDatetime'])) . '" status="'. filter($row['bStatus'], 'xml') ."\" />\r\n";
}
echo '</posts>';
-?> \ No newline at end of file
+?>