CodeIgniter Forums
Insert data to personal Calendar (iCal) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Insert data to personal Calendar (iCal) (/showthread.php?tid=63964)



Insert data to personal Calendar (iCal) - ardavan - 12-28-2015

Hi friends,

I need to insert some data to user's personal calendar (iCal) which is for Apple devices.

I wanna know how i can do this via CI3.

Any idea?

Thanks


RE: Insert data to personal Calendar (iCal) - solidcodes - 12-28-2015

The question is do you know Objective-C or swift?


RE: Insert data to personal Calendar (iCal) - JayAdra - 12-28-2015

Just export an .ics file (or webcal:// link) from your server and send to the user's browser (if they're on the device you want to add it to). Their phone will natively handle it and ask them if they want to add the events to the calendar (or subscribe them to the feed if it's a feed URL).

Look up and learn the .ics file format and it should be fairly straightforward.


RE: Insert data to personal Calendar (iCal) - ardavan - 01-13-2016

(12-28-2015, 10:41 PM)solidcodes Wrote: The question is do you know Objective-C or swift?

Im new in Swift.
so i can say i don't know swift Smile


RE: Insert data to personal Calendar (iCal) - ardavan - 01-13-2016

(12-28-2015, 10:56 PM)JayAdra Wrote: Just export an .ics file (or webcal:// link) from your server and send to the user's browser (if they're on the device you want to add it to). Their phone will natively handle it and ask them if they want to add the events to the calendar (or subscribe them to the feed if it's a feed URL).

Look up and learn the .ics file format and it should be fairly straightforward.

i want a general ical which is add to phone's calendar and mac OS X calendar. is it the same?


RE: Insert data to personal Calendar (iCal) - ardavan - 01-13-2016

After searching for 20min, finally i found this worthy information about the iCalendar.
i wanna share here to anybody read this post find a good reference Smile

https://en.wikipedia.org/wiki/ICalendar