Hacker News new | ask | show | jobs
by pjerem 680 days ago
CalDAV is cool but will be hard to integrate. It basically needs its own server.

However, if you want to continue in the « toy » direction, supporting ics format is a good option.

.ics files are calendar files : they may contain one or multiple events (like the whole calendar) and they are easy to generate in most programming languages.

What becomes interesting is that from any calendar app you can import this ics file (which is pretty unpractical in your case) but you can also subscribe to a calendar. For this you just have to provide an url to an .ics file that your backend may generate when requested (it’s just a text file).

Of course with this solution, you get a one way sync only, for classical two way sync you need CalDAV.

1 comments

That's a good idea, thank you. I used to receive .ics files in email attachments all the time and the format seems easy to work with.