You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,18 @@ or use `node index.js` to run the app locally without docker. Don't forget to ru
15
15
16
16
## API
17
17
18
-
Visit https://lasvecka.nu/data for raw data.
18
+
Visit <https://lasvecka.nu/data> for raw data.
19
+
20
+
### Calendar
21
+
22
+
At <webcal://lasvecka.nu/cal.ics> there is a calendar containing the study weeks.
23
+
24
+
The events are full-day events on every Monday with the study week as the summary (see screenshot below).
25
+
26
+
The calendar covers a time period which defaults to 8 weeks before and after the current date. This period can be customized by using the `before` and `after` query parameters which can be between 0 and 20. The maximum value for before and after can be overriden by the environment variables `MAX_BEFORE` and `MAX_AFTER` respectively.
27
+
28
+

19
29
20
30
## Are the weeks not updating correctly?
21
31
22
-
It should update automatically, but it can of course break since it's web scraped from Chalmers' website. Check out `lasveckor_scraper.js` for the scraping logic.
32
+
It should update automatically, but it can of course break since it's web scraped from Chalmers' website. Check out `lasveckor_scraper.js` for the scraping logic.
0 commit comments