support for joining and leaving date, default data fields for attendees
[confetti] / export.sh
index aa8570a..29ddf6e 100755 (executable)
--- 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