Hello,
I didn't find a solution to my problem, maybe I don't use the right search terms.
I'm developing a small module (my first try) to plan the written exams in a department of a school.
Short description: Teachers just choose the class / learning group enter the date and time and this is stored in some tables so that pupil can watch the dates.
It work's so far, I have to do some testing.
My question is: How can I offer a possibility to include the data into an external calender eg google / android / iphone ?
Should I write a webservice? - Each user should get a different link which allows him to see the data. I want to differ between pupil and teachers, pupils should only see the calender of a class, teacher should see their own entries, and maybe administrators should see all entries.
I think I could write a small php script which serves an ical file, because I have direct access to the database, but then I have no authentication implemented. I think it would be nice to generate a unique link which could be used in a calendar program. I never handled with calenders so my question maybe is stupid: How the calender is actualized if a date changes: Does a typical calender application periodically poll the url with the calendar?
Any help or hints for further reading would be nice.
Karsten