Skip to content

Read a sharepoint calendar and write an appropriate ics file

License

Notifications You must be signed in to change notification settings

aeszter/sharepoint2ics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharepoint2ics

Read a sharepoint calendar and write an appropriate ics file

Sharepoint can export ics files via owssvr.dll, but this has two disadvantages:

  • individual entries are exported, but there is no support for whole calendars -- you have to loop over possible IDs until the export fails
  • 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

This project tries to remedy the situation by using Sharepoint's SOAP API to fetch events and building the ics file itself.

Shortcomings

Ada's web library (AWS) does not support NTLM, the authentication mechanism employed by sharepoint. Therefore, sharepoint2ics uses a hand-crafted XML file and curl to perform the SOAP call. The input file is supplied as part of the project, and the seminar binary will convert the received XML file to ics.

About

Read a sharepoint calendar and write an appropriate ics file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages