Created
March 11, 2010 03:14
-
-
Save thetristan/328773 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
header("Content-Type: text/x-vCalendar"); | |
header("Content-Disposition: inline; filename=MyvCalFile.vcs"); | |
?> | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:-//hacksw/handcal//NONSGML v1.0//EN | |
X-WR-TIMEZONE:US/Eastern | |
X-WR-CALNAME:Presagis Event | |
X-WR-TIMEZONE:US/Eastern | |
{exp:weblog:entries weblog="about_events_tradeshows" show_future_entries="yes"} | |
BEGIN:VEVENT | |
UID:{seg_3} | |
DTSTAMP:{entry_date format="%Y%m%dT%H%i00Z"} | |
DTSTART:{entry_date format="%Y%m%dT%H%i00"} | |
DTEND:{expiration_date format="%Y%m%dT%H%i00"} | |
SUMMARY:{title} | |
DESCRIPTION:{event_abstract} | |
END:VEVENT{/exp:weblog:entries} | |
END:VCALENDAR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment