From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- api/export_csv.php | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 api/export_csv.php (limited to 'api/export_csv.php') diff --git a/api/export_csv.php b/api/export_csv.php deleted file mode 100644 index 2389642..0000000 --- a/api/export_csv.php +++ /dev/null @@ -1,47 +0,0 @@ -getBookmarks(0, NULL, $userservice->getCurrentUserId(), $tag, NULL, getSortOrder()); - -header("Content-Type: application/csv-tab-delimited-table;charset=UTF-8"); -header("Content-disposition: filename=exportBookmarks.csv"); - -//columns titles -echo 'url;title;tags;description'; -echo "\n"; - -foreach($bookmarks['bookmarks'] as $row) { - if (is_null($row['bDescription']) || (trim($row['bDescription']) == '')) - $description = ''; - else - $description = filter(str_replace(array("\r\n", "\n", "\r"),"", $row['bDescription']), 'xml'); - - $taglist = ''; - if (count($row['tags']) > 0) { - foreach($row['tags'] as $tag) - $taglist .= convertTag($tag) .','; - $taglist = substr($taglist, 0, -1); - } else { - $taglist = 'system:unfiled'; - } - - echo '"'.filter($row['bAddress'], 'xml') .'";"'. filter($row['bTitle'], 'xml') .'";"'. filter($taglist, 'xml') .'";"'. $description .'"'; - echo "\n"; -} - - -?> -- cgit v1.2.3