|Version 6 (modified by k0s, 6 years ago) (diff)|
export iCalendar format for pages with an RSS feed
read trac feeds in your calendar'''
For out of the box trac, only the roadmap module has an iCal feed. the IcalExporterPlugin exposes an iCal format in the "Download in other formats" section. The calendar is created by parsing the RSS feed for the page and transforming it to iCal format. The calendar can then be read by (e.g.) google calendar by using the Add by URL feature.
If you have any issues, create a new ticket.
Download the zipped source from here.
Click on the Timeline navigation item in a trac instance where this plugin is enabled. Scroll to the bottom of the page. The ability to download as iCalendar should be evident:
How it Works
The IcalExporterPlugin examines if a page has an RSS feed. If it does, it adds a iCalendar download option as well. The brunt of the work is done by ical.py, which writes the iCalendar format (most of the hard work was stolen from the roadmap module). ical.py is independent of trac and should probably be moved upstream of the plugin or of trac entirely.
Originally developed at The Open Planning Project