I've been at this for hours now and I can't seem to get this feed to import to google calendar: http://newtest.wpengine.com/programs/?ical=1
It imports fine when I download it then import it as a file. I even tried making it bare bones with just a few lines. It gets 100% in this validator: http://icalvalid.cloudapp.net/. Can anyone spot what i'm missing. here is the file
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Blue Mandala Retreat Site CALSCALE:GREGORIAN METHOD:PUBLISH X-WR-CALNAME:Deryk Wenaus Blog X-WR-TIMEZONE: BEGIN:VEVENT UID:http://ayahuas.ca/program/sample-program/ DTSTAMP:20130110T001222Z CONTACT: DESCRIPTION: a nice program. a nice program. DTSTART;VALUE=DATE:20130124 DTEND;VALUE=DATE:20130127 LOCATION: SUMMARY:sample program URL:http://ayahuas.ca/program/sample-program/ END:VEVENT END:VCALENDAR
the error i keep getting from google calendar is The address that you provided did not contain a calendar in a valid iCal or GData format.
I'm using header( 'Content-type: text/calendar; charset=UTF-8' ); as the header, and I've also tried header( 'Content-Disposition: inline; filename="calendar.ics"' ); with no luck.