Login required
Download

iCalendar Builder Plugin

(3)
Author(s) Silvio Wangler
Current Release 0.3.2   (3 weeks ago)
Grails Version 1.1 > *
Tags builder  calendar  utility 
Dependency
compile ":ic-alendar:0.3.2"
Last updated by admin 2 years ago
grails install-plugin ic-alendar
Last updated by saw303 6 months ago

About the author

You can contact me using the following channels.

Email: silvio dot wangler at gmail dot com

Twitter: saw303

History

VersionDateRemarks
0.3.218th of July 2011Bugfix release. Please see roadmap for futher details
0.3.124rd of February 2011Bugfix release support for Grails 1.1 and greater
0.323rd of January 2011Bugfix release including upgrade to iCal4j 1.0 rc3 and support for Grails 1.3.6 and lower
0.2.113th of July 2009Bugfix onChange does not overwrite render method
0.23rd of June 2009Added iCal4J support
0.129th of May 2009Inital version

Introduction

The following listing is a short introduction how you can use the render method to export your event data in the iCalendar format.

class TestController {

def index = {

render(contentType: 'text/calendar') { calendar { events { event(start: Date.parse('dd.MM.yyyy HH:mm', '31.10.2009 14:00'), end: Date.parse('dd.MM.yyyy HH:mm', '31.10.2009 15:00'), description: 'Events description', summary: 'Short info1') { organizer(name: 'Silvio Wangler', email: 'a@b.com') } event(start: Date.parse('dd.MM.yyyy HH:mm', '01.11.2009 14:00'), end: Date.parse('dd.MM.yyyy HH:mm', '01.11.2009 15:00'), description: 'hell yes', summary: 'Short info2', location: '@home', classification: 'private'){ organizer(name: 'Silvio Wangler', email: 'b.c@d.com') } } } } } }

This plugin uses ical4j api (currently 1.0-RC3) and is therefore iCal RFC compliant. The output has been tested against the Google calendar importer and Mozilla Sunbird.

The plugin is at the current stage of development limited to events only. That means that you currently can only export VEVENTS.

Last updated by admin 2 years ago
Last updated by admin 2 years ago