summaryrefslogtreecommitdiff
path: root/www/api/posts_all.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/posts_all.php')
-rw-r--r--www/api/posts_all.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/api/posts_all.php b/www/api/posts_all.php
index 7204b60..c70d14c 100644
--- a/www/api/posts_all.php
+++ b/www/api/posts_all.php
@@ -4,6 +4,9 @@
// del.icio.us behavior:
// - doesn't include the filtered tag as an attribute on the root element (we do)
+// Scuttle behavior:
+// - returns privacy status of each bookmark.
+
// Force HTTP authentication first!
$httpContentType = 'text/xml';
require_once 'httpauth.inc.php';
@@ -40,8 +43,8 @@ foreach($bookmarks['bookmarks'] as $row) {
$taglist = 'system:unfiled';
}
- echo "\t<post href=\"". filter($row['bAddress'], 'xml') .'" description="'. filter($row['bTitle'], 'xml') .'" '. $description .'hash="'. md5($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="'. md5($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
+?>