aboutsummaryrefslogtreecommitdiff
path: root/www/api/posts_public.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/posts_public.php')
-rw-r--r--www/api/posts_public.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/api/posts_public.php b/www/api/posts_public.php
index 0a09187..e4086b2 100644
--- a/www/api/posts_public.php
+++ b/www/api/posts_public.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!
//require_once('httpauth.inc.php');
$httpContentType = 'text/xml';
@@ -41,7 +44,7 @@ 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>';