iCalendar
=========
-Exporting birthday events into an ics file is easy::
+Exporting birthday events into an ``.ics`` file is easy::
$ bdrem --renderer=ical > birthdays.ics
http://example.org/bdrem/?renderer=ical
+You can subscribe to it in your calendar or email application.
+Integration has been tested with Thunderbird's Lightning__ and Claws Mail's
+vCalendar__ plugin.
+
+__ https://addons.mozilla.org/en-US/thunderbird/addon/lightning/
+__ http://www.claws-mail.org/plugin.php?plugin=vcalendar
+
HTML page
=========
. '.' . $event->age
. '.' . md5($event->title . '/' . $event->type)
. '@bdrem';
- // we want the zero time because it expresses midnight in every
- // time zone
- $props['DTSTART'] = str_replace('-', '', $event->localDate) . 'T000000';
+ $props['DTSTART;VALUE=DATE'] = str_replace('-', '', $event->localDate);
$props['DURATION'] = 'P1D';
$props['SUMMARY'] = sprintf(
'%s - %s. %s', $event->title, $event->age, $event->type