wiki:IcalExporterPlugin

Version 4 (modified by k0s, 7 years ago) (diff)

--

export iCalendar format for pages with an RSS feed

Description

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.

Bugs/Feature Requests

Existing bugs and feature requests for IcalExporterPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out IcalExporterPlugin from here using Subversion, or browse the source with Trac.

Example

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:

sample screenshot of the iCalExporter plugin in action

from http://trac.openplans.org/sandbox/timeline

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.

Recent Changes

[12121] by olemis on 2012-10-06 20:17:50
iCalExporterPlugin: New mantainer in town = olemis
[5054] by k0s on 2008-12-23 14:49:41
match query; this is useless without preserving the arguments; refs #4104
[5053] by k0s on 2008-12-23 14:44:05
adding helpful comment

Author/Contributors

Originally developed at The Open Planning Project

Author: k0s
Contributors:

Attachments (1)

Download all attachments as: .zip