diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-03-19 13:19:16 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-03-19 13:20:58 +0100 |
commit | 5558109b0bfe1be61b51adb7acf59f084eca66c1 (patch) | |
tree | 642a9d0e9948913bcc40967f6db7af740228ae11 /bin | |
parent | 434e63d14999f50552d4be2d5e629c47dc4fb3dd (diff) |
drop moodle calendar (contains no events since 1st semester)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cal-fetch.sh | 6 | ||||
-rwxr-xr-x | bin/cal-render.sh | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/bin/cal-fetch.sh b/bin/cal-fetch.sh index 6ec6561..0bfd7d3 100755 --- a/bin/cal-fetch.sh +++ b/bin/cal-fetch.sh @@ -5,10 +5,10 @@ set -eu rm -rf _CALENDARS -mkdir --parents _CALENDARS/study _CALENDARS/moodle # https://study.ruc.dk/bach/humtekbach # (only 1st 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 @@ -23,7 +23,3 @@ wget -O _CALENDARS/study/BK4-workshop-04_unbuilt_city.ics https://study.ruc.dk/i 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 - -# https://moodle.ruc.dk/calendar/managesubscriptions.php -# (Eksporter -> Alle+Tilpasset) -wget -O _CALENDARS/moodle/moodle.ics 'https://moodle.ruc.dk/calendar/export_execute.php?userid=45018&authtoken=cdf9146673052bbdab778036c2ed50e4715e76c2&preset_what=all&preset_time=custom' diff --git a/bin/cal-render.sh b/bin/cal-render.sh index 9203f7e..ff9c434 100755 --- a/bin/cal-render.sh +++ b/bin/cal-render.sh @@ -6,10 +6,6 @@ set -eu OUTDIR=events -mkdir --parents "$OUTDIR/study" "$OUTDIR/moodle" - +mkdir --parents "$OUTDIR/study" icalmerge _CALENDARS/study/*.ics "$OUTDIR"/study/study.ics -icalmerge _CALENDARS/moodle/*.ics "$OUTDIR"/moodle/moodle.ics - ical2html --monday --title "RUC HumTek-23 Study" 20240201 P140D "$OUTDIR"/study/study.ics > "$OUTDIR"/study/index.html -ical2html --monday --title "RUC HumTek-23 Moodle" 20240201 P140D "$OUTDIR"/moodle/moodle.ics > "$OUTDIR"/moodle/index.html |