summaryrefslogtreecommitdiff
path: root/www/api/posts_get.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/posts_get.php')
-rw-r--r--www/api/posts_get.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/api/posts_get.php b/www/api/posts_get.php
index c20f904..e39058b 100644
--- a/www/api/posts_get.php
+++ b/www/api/posts_get.php
@@ -10,6 +10,7 @@
*
* Scuttle behavior:
* - Uses today, instead of the last bookmarked date, if no date is specified
+ * - returns privacy status of each bookmark.
*
* SemanticScuttle - your social bookmark manager.
*
@@ -75,8 +76,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'] .'" others="'. $bookmarkservice->countOthers($row['bAddress']) .'" 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'] .'" others="'. $bookmarkservice->countOthers($row['bAddress']) .'" 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
+?>