Generate .ics files

Author Message

Tony Stark

Thursday 21 February 2008 9:21:25 am

Does anyone know if a way/extenstion/method for generating .ICS (Calendar) files on the fly from appropriate content classes? Is it even possible within eZ?

Marco Zinn

Thursday 21 February 2008 11:48:29 am

Hi Tony,

i'm pretty sure, that you can do this with ez, as it is only a way of rendering data, that you store in the content object.

Some thoughts
- Of course, you need to know the specifications of the .ics format, from demo data (exported from your application)
- You will need to create a class with the data you need
- you will need a template (e.g. a view mode "ics") for your class
- you probably will need an "empty" pagelayout to get rid of all the HTML/Meta/Body-Tags (and i think, you must declare this pagelayout somewhere.... not sure)

Actually... i think, thats about it ;)

Marco
http://www.hyperroad-design.com

Ekkehard Dörre

Monday 07 April 2008 7:06:42 am

Hi Tony,

you can look into existing extensions and change them.

There are many:

http://projects.ez.no/index.php/extract
http://projects.ez.no/index.php/cie
http://ez.no/developer/contribs/import_export

and at wikipedia about the format:
http://en.wikipedia.org/wiki/ICalendar

and the [RFC 2048] Internet Calendaring and Scheduling Core Object Specification (iCalendar)

http://tools.ietf.org/html/rfc2445

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Guillaume Kulakowski

Saturday 06 September 2008 2:20:39 am

Hi Tony,

for a personal project, I develope an iCal extension. If you want, you can try it : http://trac.llaumgui.com/browser/ez_publish/ezical/trunk

At this time, I did not start to write the documentation and the importation module is not start.

But, the ICS's export work and is compatible with the webin's event class but

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Andrew White

Monday 08 September 2008 7:36:05 am

I'm not sure if this would satisfy your need, but a much simpler approach would be to embed hcalendar information. This is a microformat that relies on CSS classes to denote information. There are scripts and browser extensions available that can identify microformat content in page, and change them to other formats, such as iCal.

More information here: http://microformats.org/wiki/hcalendar

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.