iCalendar Plug-in
Dependency :
compile ":ic-alendar:0.3.5"
Summary
This plugin contains a builder to easily convert your event into the iCalendar format. The plugin hooks replaces each render method that uses the contentType 'text/calendar'.
Installation
grails install-plugin ic-alendar
Description
About the author
You can contact me using the following channels.Email: silvio dot wangler at gmail dot comTwitter: saw303History
| Version | Date | Remarks |
|---|---|---|
| 0.3.5 | 4th of March 2013 | Bugfix release. Please see roadmap for further details |
| 0.3.4 | 18th of February 2012 | Bugfix release. Please see roadmap for further details |
| 0.3.3 | 17th of February 2012 | Bugfix release. Please see roadmap for futher details |
| 0.3.2 | 18th of July 2011 | Bugfix release. Please see roadmap for futher details |
| 0.3.1 | 24rd of February 2011 | Bugfix release support for Grails 1.1 and greater |
| 0.3 | 23rd of January 2011 | Bugfix release including upgrade to iCal4j 1.0 rc3 and support for Grails 1.3.6 and lower |
| 0.2.1 | 13th of July 2009 | Bugfix onChange does not overwrite render method |
| 0.2 | 3rd of June 2009 | Added iCal4J support |
| 0.1 | 29th of May 2009 | Inital 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', filename: '<optional filename>') {
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')
}
}
}
}
}
}