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
Read a sharepoint calendar and write an appropriate ics file
3
+
4
+
Sharepoint can export ics files via owssvr.dll, but this has two disadvantages:
5
+
6
+
- individual entries are exported, but there is no support for whole calendars -- you have to loop over possible IDs until the export fails
7
+
- recurrence is not supported, an event that is supposed to run from 10 to 11 every day in June will end up starting at 10 o'clock on June 1st and last until 11 on June 30th
8
+
9
+
This project tries to remedy the situation by using Sharepoint's SOAP API to fetch events and building the ics file itself.
10
+
11
+
## Shortcomings
12
+
Ada's web library (AWS) does not support NTLM, the authentication mechanism employed by sharepoint.
13
+
Therefore, sharepoint2ics uses a hand-crafted XML file and wget to perform the SOAP call.
14
+
In the current, early versions, this has to be done externally (e.g. by a shell script).
15
+
The input file is supplied as part of the project, and the _seminar_ binary will convert the received XML file to ics.
16
+
17
+
In future versions, sharepoint2ics is expected to call wget on its own, and the user just has to supply a config file containing Sharepoint URL and credentials.
0 commit comments