tags:

views:

7018

answers:

4

I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based on certain criterias. The generated files are accessible through a permanent URL (http://myserver/some/criterias.ics).

I am looking for a way to display the calendar data on the page to give the user a preview of the generated file. Ideally, I'd like a Google Calendar type interface embedded in the page. Unfortunately, Google Calendar only seems to allow embedding calendars that have previously been added to their system.

Is there any free service or library that will allow me to embed a calendar for an arbitrary ics file on my site?

+1  A: 

There's a program written in php that, IIRC, does this type of thing.

PHP iCalendar it is called.

Matthew Schinckel
Seems nice, however, it doesn't look like it can be embedded in another page, plus I'd need to setup php on my site just for this. I'd prefer a solution that works with what I already have.
David Thibault
+1  A: 

I've found InstantCal, which does what I want. The display it creates is not that great though. Also, it seems buggy in Chrome.

I'd like something similar, with a simpler, nicer interface.

David Thibault
InstantCal has been updated and now seems to work a lot better, so I'm accepting my own answer.
David Thibault
A: 

Hi David,

You can import .ics files to Google Calender and view it there. Last Evening I exported a Calender from MS Outlook in CSV format and Imported that into Google Calender and I was able to share the same with my Colleagues.

The Procedure though is not very visible on the interface. I had to look for the 'Other Calenders' section on the left panel and click on the Settings. I found an option that said Import on it which when clicked, I could upload the MS Outlook exported CSV format file and see the Calender online on Google.

Wish this helps you sometime.

Thank You.

Thank you. However, as stated in the question, I am automatically generating an ICS file and I want to show a preview of it on my web page to give the user an idea of the result. With Google Cal, I have to manually import the ics file in order to embed it, which will not work for my scenario.
David Thibault
A: 

I've recently discovered Calamander which, if I understand your question, should do what you're after.

Martin