iCal reader sample

The goal of this sample is to read an iCal (ics) file, to convert it to an ActionScript model and to display it using the Calendar component available in ILOG Elixir 2.0 beta 1.

This sample has been demonstrated by Christophe Jolif during Adobe MAX US & Adobe MAX Europe.

This application does not support the complete specification but it reads the events of a calendar to be able to display them. Don’t come back to me saying that this or this feature is not supported ! ;)

Note that the time zones defined in the ics file are ignored so the dates should be defined in local or UTC time.

This sample takes form of an AIR application. You can drag an iCal file from your file explorer and drop it on this application or add a file using the “Add” button in the right panel.

To install and run the application, you will need the latest AIR runtime available at http://get.adobe.com/air/.

Download and Install Application

This sample is using the Darkroom skin (by Juan Sanchez), one of the great skins from scalenine.com (not included in the sources, to copy into src/resources/style).

Download Sources

Screenshots

Drag and drop file
Load a file by drag and drop

Add a calendar
Load a file using the “Add” button in the left panel

calendar imported
A calendar displayed

Multiple calendars
Several calendars can be displayed

Agenda
The day agenda displayed on the right panel

filter events
Search for an event using the search box, the non matching items are darker than the matching ones.

Bookmark: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Furl
  • Slashdot
  • StumbleUpon
  • Technorati

Tags: , , ,

4 Responses to “iCal reader sample”

  1. ILOG Elixir Blog » Blog Archive » Expand/Collapse on ILOG Elixir OrgChart Says:

    [...] I started with the sample showing how to display Microsoft Project in Flex, then Damien posted his Google Calendar Reader in AIR, and today I release the ILOG Elixir OrgChart expand/collapse [...]

  2. ILOG Elixir Blog » Blog Archive » Display Google calendars using ILOG Elixir Says:

    [...] a previous post I have shown how to read and display ics files. Using this sample, it is possible to read a Google [...]

  3. karthik Says:

    Hi this is a cool work

    I need to know one thing

    Can i get data from database(backend) instead from ics or other

  4. Damien Garbarino Says:

    Hi,

    The Calendar component is a regular Flex component. So you can populate it with data from a data base using LCDS / BlazeDS or a custom server side application (JAVA servlet, web service, etc…).

    For example, see this blog where I used Google API to populate the calendar: http://blogs.ilog.com/elixir/2009/03/16/display-google-calendars-using-ilog-elixir/

    Thanks,

    Damien

Leave a Reply