X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=export.sh;h=29ddf6e52ec03007b17aeab8f75b46477274fc07;hp=aa8570add38135a9ce104a1dd0ea83aae1e3821c;hb=4aaa2c65a2591f3526e5ac3960c4d38a15be041d;hpb=7f927856071799039923e9e1f00652819792987a diff --git a/export.sh b/export.sh index aa8570a..29ddf6e 100755 --- a/export.sh +++ b/export.sh @@ -6,4 +6,9 @@ case "$_GET[\"export\"]" in card="$_GET[\"card\"]" cat "$_DATA/vcard/$card" ;; + ical) + echo -n "Content-Type: text/calendar;charset=utf-8\n\n" + course="$_GET[\"course\"]" + cat "$_DATA/ical/$course" + ;; esac