News for hackers. Stuff that matters.
Re:Tell HN: It's 2023 and you still can't import .ics files ... by hahamaster on Monday May 29, 2023 @03:01PM (#36116831)
> You can't open an .ics file on your browser and add to the Calendar

You need to choose the right Content-Type on the web server for the ics file delivered to iPhone, “text/calendar”. Safari doesn’t care what file extension the file has if the Content-Type is right.

Re:Tell HN: It's 2023 and you still can't import .ics files ... by airstrike on Monday May 29, 2023 @04:26PM (#36117706)
Sadly I don't have root access to the servers of every site I browse so I can't use this workaround
Re:Tell HN: It's 2023 and you still can't import .ics files ... by thexa4 on Monday May 29, 2023 @05:56PM (#36118588)
If that works you can probably encode the ics as a data url and link that: https://en.wikipedia.org/wiki/Data_URI_scheme