Reputation: 59173
Many calendaring programs (Outlook, iCal) support vCal for downloading event information and adding it to your calendar. Others can use the vCalendar microformat to extract data. Neither of these, however, seems to be supported on the iPhone.
Is there any functional equivalent that will allow me to list event information on a page and have a website visitor add the event to her calendar with a single click? Since Mobile Safari makes it super-easy to extract emails and phone numbers from web pages, it seems odd that there's no similar functionality for events.
Upvotes: 15
Views: 32634
Reputation: 1
On the iPhone, while there isn't built-in support for vCal, you can use an alternative like creating a calendar link that users can click to add events directly to their calendars.
A tool like Cal.et can generate these links for various calendar services, including Apple and Google and others.
It’s a practical approach if you need a straightforward method to integrate calendar functionality on your website. This tool simplifies creating these links, which can be particularly helpful if you manage calendar events regularly.
Upvotes: 0
Reputation: 566
You can create your own ics file and host it on a public url or use free/paid services such https://calex.link or others.
Upvotes: -1
Reputation: 16941
Update:
Note that this is a very old answer. Since iOS 5 you can use EKEventStore
to access calendar events and Mobile Safari will open .ics
files in Calendar.
Original Answer
It's not possible, there is no API for the calendar on the iPhone, sadly. You can build an app that registers for the ical URL scheme, but you still won't be able to save the calendar entries to the calendar backend since there is no API (like e.g. for the AddressBook).
Upvotes: 8
Reputation: 1198
As of iOS 5, if you create a http link to an .ics file, Mobile Safari will offer to open it up in Calendar.
Upvotes: 19
Reputation: 167
One resolution could be (from iPhone OS 3.0):
Alternatively use Google Calendar to post entries from your website, which can be easily synched to iPhone Calendar using CalDAV.
Another usefull link: http://blog.fosketts.net/2009/06/17/subscribe-internet-calendars-iphone-30/
Upvotes: 1