summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cal-fetch.sh43
-rwxr-xr-xbin/cal-render.sh2
2 files changed, 29 insertions, 16 deletions
diff --git a/bin/cal-fetch.sh b/bin/cal-fetch.sh
index 0bfd7d3..12819c8 100755
--- a/bin/cal-fetch.sh
+++ b/bin/cal-fetch.sh
@@ -7,19 +7,32 @@ set -eu
rm -rf _CALENDARS
# https://study.ruc.dk/bach/humtekbach
-# (only 1st year events)
+# (only 2nd year events)
mkdir --parents _CALENDARS/study
-wget -O _CALENDARS/study/BP2.ics https://study.ruc.dk/ical/class/31211
-wget -O _CALENDARS/study/BK4.ics https://study.ruc.dk/ical/class/31213
-wget -O _CALENDARS/study/BK5.ics https://study.ruc.dk/ical/class/31214
-wget -O _CALENDARS/study/BK6-sustain.ics https://study.ruc.dk/ical/class/31217
-wget -O _CALENDARS/study/BK6-kunstig.ics https://study.ruc.dk/ical/class/31218
-wget -O _CALENDARS/study/BK6-datavis.ics https://study.ruc.dk/ical/class/31219
-wget -O _CALENDARS/study/BK6-sundhed.ics https://study.ruc.dk/ical/class/31221
-wget -O _CALENDARS/study/BK4-workshop-show.ics https://study.ruc.dk/ical/class/31248
-wget -O _CALENDARS/study/BK4-workshop-01_programming.ics https://study.ruc.dk/ical/class/31243
-wget -O _CALENDARS/study/BK4-workshop-02+03_fablab.ics https://study.ruc.dk/ical/class/31240
-wget -O _CALENDARS/study/BK4-workshop-04_unbuilt_city.ics https://study.ruc.dk/ical/class/33882
-wget -O _CALENDARS/study/BK4-workshop-05_sound.ics https://study.ruc.dk/ical/class/34162
-wget -O _CALENDARS/study/BK4-workshop-06_poetisk.ics https://study.ruc.dk/ical/class/33794
-wget -O _CALENDARS/study/BK4-workshop-extra.ics https://study.ruc.dk/ical/class/33803
+wget -O _CALENDARS/study/BP3.ics https://study.ruc.dk/ical/class/34297
+wget -O _CALENDARS/study/BK7.ics https://study.ruc.dk/ical/class/34303
+wget -O _CALENDARS/study/FK1-arbejdsliv.ics https://study.ruc.dk/ical/class/34727
+wget -O _CALENDARS/study/FK1-bioprocess.ics https://study.ruc.dk/ical/class/34331
+wget -O _CALENDARS/study/FK1-business.ics https://study.ruc.dk/ical/class/34436
+wget -O _CALENDARS/study/FK1-communikation.ics https://study.ruc.dk/ical/class/34753
+wget -O _CALENDARS/study/FK1-computer.ics https://study.ruc.dk/ical/class/34767
+wget -O _CALENDARS/study/FK1-cultural.ics https://study.ruc.dk/ical/class/35225
+wget -O _CALENDARS/study/FK1-datalogi.ics https://study.ruc.dk/ical/class/34766
+wget -O _CALENDARS/study/FK1-filosofi.ics https://study.ruc.dk/ical/class/34605
+wget -O _CALENDARS/study/FK1-geografi.ics https://study.ruc.dk/ical/class/34816
+wget -O _CALENDARS/study/FK1-historie.ics https://study.ruc.dk/ical/class/34657
+wget -O _CALENDARS/study/FK1-informatik.ics https://study.ruc.dk/ical/class/34809
+wget -O _CALENDARS/study/FK1-international.ics https://study.ruc.dk/ical/class/34443
+wget -O _CALENDARS/study/FK1-journalistik.ics https://study.ruc.dk/ical/class/34676
+wget -O _CALENDARS/study/FK1-kommunikation.ics https://study.ruc.dk/ical/class/34757
+wget -O _CALENDARS/study/FK1-kulturmøde.ics https://study.ruc.dk/ical/class/35222
+wget -O _CALENDARS/study/FK1-molecular.ics https://study.ruc.dk/ical/class/34327
+wget -O _CALENDARS/study/FK1-performance.ics https://study.ruc.dk/ical/class/34665
+wget -O _CALENDARS/study/FK1-plan.ics https://study.ruc.dk/ical/class/34826
+wget -O _CALENDARS/study/FK1-psykologi.ics https://study.ruc.dk/ical/class/34964
+wget -O _CALENDARS/study/FK1-pædagogik.ics https://study.ruc.dk/ical/class/34984
+wget -O _CALENDARS/study/FK1-social.ics https://study.ruc.dk/ical/class/34434
+wget -O _CALENDARS/study/FK1-sundhed.ics https://study.ruc.dk/ical/class/35006
+wget -O _CALENDARS/study/FK1-teksam-innovation.ics https://study.ruc.dk/ical/class/34836
+wget -O _CALENDARS/study/FK1-teksam-planlægning.ics https://study.ruc.dk/ical/class/34837
+wget -O _CALENDARS/study/FK1-virksomhed.ics https://study.ruc.dk/ical/class/34439
diff --git a/bin/cal-render.sh b/bin/cal-render.sh
index ff9c434..7b5effd 100755
--- a/bin/cal-render.sh
+++ b/bin/cal-render.sh
@@ -8,4 +8,4 @@ OUTDIR=events
mkdir --parents "$OUTDIR/study"
icalmerge _CALENDARS/study/*.ics "$OUTDIR"/study/study.ics
-ical2html --monday --title "RUC HumTek-23 Study" 20240201 P140D "$OUTDIR"/study/study.ics > "$OUTDIR"/study/index.html
+ical2html --monday --title "RUC HumTek-23 Study" 20240901 P140D "$OUTDIR"/study/study.ics > "$OUTDIR"/study/index.html