X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=export.sh;fp=export.sh;h=aa8570add38135a9ce104a1dd0ea83aae1e3821c;hp=0000000000000000000000000000000000000000;hb=7f927856071799039923e9e1f00652819792987a;hpb=91b5294e622198de6d3efaa2bb1ad9c7c3cfe1a7 diff --git a/export.sh b/export.sh new file mode 100755 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