Page 1 of 1

Add to calendar script

Posted: Thu Apr 06, 2006 10:11 am
by curseofthe8ball
I'm not quite sure if this is the right spot to post this, but I'll try anyhow.

We've got a calendar setup on a client's site that is controlled via a CMS with a MySQL database. We use PHP for the coding.

The client came across this "Add to calendar" function on another site and has asked us to add it to their calendar page. What this function does it simply adds the event to the users Outlook or similar mail program via a click of a link.

For example, take a look at this URL:
http://www.gustavus.edu/news/calenda...d=9294&which=e

Next to the times of the event you will see an icon that when clicked, sends the event details to your mail program's calendar.

This same type of functionality is being used on eBay's auction pages.
http://pages.ebay.com/help/buy/calendar.html

Anyone know how to do this?

Posted: Thu Apr 06, 2006 10:19 am
by Nathaniel
Your first link leads to a missing page.

That said, a quick google search brought up this Google Groups message.

Posted: Thu Apr 06, 2006 10:21 am
by curseofthe8ball
The link got condensed...

Click here for the link

As for the link you listed, the problem with their solution is that the events on our calendar are dynamic as they are pulled from a MySQL database so to have to create each event in Outlook and save it as a .vcs file wouldn't really be the most efficient way to handle this.