]> git.plutz.net Git - confetti/blobdiff - export.sh
improved visual style
[confetti] / export.sh
diff --git a/export.sh b/export.sh
new file mode 100755 (executable)
index 0000000..aa8570a
--- /dev/null
+++ b/export.sh
@@ -0,0 +1,9 @@
+#!/bin/zsh
+
+case "$_GET[\"export\"]" in
+  vcard)
+    echo -n "Content-Type: text/vcard;charset=utf-8\n\n"
+    card="$_GET[\"card\"]"
+    cat "$_DATA/vcard/$card"
+  ;;
+esac