date-vcalendar.tpl.php in Date 7
File
date_views/theme/date-vcalendar.tpl.phpView source
<?php
/**
* $calname
* The name of the calendar.
* $events
* @see date-vevent.tpl.php.
* @see date-valarm.tpl.php.
*/
?>
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
X-WR-CALNAME: <?php
print $calname;
?>
PRODID:-//Drupal iCal API//EN
<?php
foreach ($events as $event) {
print theme('date_vevent', $event);
}
?>
END:VCALENDAR