2
votes

I have tried every example and every solution I have found online and have not been able to get an ICS file to import events into google calendar, ONLY if there are multiple events. This works for one event for google calendar, but not 2 or more. I have a dynamic URL for a client that I'd like to be able to use to auto import events, but I need to get the file import working first.

Any help you can give would be greatly appreciated. I am completely out of ideas.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Columbus Commons//Our Events//EN
METHOD:PUBLISH
X-WR-TIMEZONE:America/New_York
X-WR-CALNAME:Columbus Commons
CALSCALE:GREGORIAN
BEGIN:VEVENT
DTSTART:20180929T120000
DTEND:20180929T160000
DTSTAMP:20180929T120000
UID:event-2
LOCATION:Columbus Commons, Columbus, Ohio
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Harvest Fair
DESCRIPTION:Celebrate the very best of fall with the Columbus Commons. Families gather Downtown to take in games, entertainment, a pumpkin patch, and seasonal craft creations. Enjoy the many free activities or buy a budget-friendly $5 wristband to jump on the inflatables.
For more information, click here!
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART:20180501T171500
DTEND:20180604T181500
DTSTAMP:20180501T171500
UID:event-8
LOCATION:Columbus Commons, Columbus, Ohio
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Commons Cardio
DESCRIPTION:Want to get a fun, upbeat full body workout in? This class concentrates on longer cardiovascular component interspaced with shorter intervals for body-weight challenges.
This class is provided free of charge thanks to UnitedHealthcare. All participants must fill out a waiver. 
View the full fitness schedule here. 
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
1

1 Answers

0
votes

Alright so I found the answer shortly after posting this. The problem was the DESCRIPTION information is being posted over multiple lines. Removing the line breaks with php to keep it all on one line solved the issue.