View Single Post
  #1 (permalink)  
Old 05-16-2008, 06:51 AM
opusmyhero opusmyhero is offline
New Member
 
Posts: 3
Thumbs up [SOLVED]Zimbra Can't/Won't recognize .ics file as valid

Well DUH . . . if you have events with no times right at the beginning of the list of events . . of COURSE the entire .ics file is going to fail . . . . remove broken events and everything is just fine . . . note to self -- pay closer attention!

Howdy . . . having a problem getting zimbra to recognize (guessing it is more a can't than won't ) an .ics file as a valid calendar . . . . the .ics is created dynamically (coldfusion/oracle) based on a user profile. . . . the error message rec'd is:

Appointments could not be retrieved. Make sure the following URL is a valid ICAL feed: http://cfdevws01.imt.uwm.edu/employe...1-mabraham.ics

Any assistance would be greatly appreciated!

oh yeah. . .whoops . . forgot to include the code that creates the file content . . sheesh . . . . here it is:

<cfsavecontent variable="calendar">BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:Zimbra-Calendar-Provider
<cfoutput query="everyprofileevents">BEGIN:VEVENT
SEQUENCE:1
UID:#url.personid#-#eventid#-mydev.uwm.edu
SUMMARY:#eventtitle#
LOCATION:#eventlocation#
DTSTART:#dateformat(realdate,'yyyymmdd')#T#timefor mat(starts,'HHmmss')#
DTEND:#dateformat(realdate,'yyyymmdd')#T#timeforma t(end,'HHmmss')#
STATUS:CONFIRMED
CLASS:PUBLIC
URL:http://mydevelopment.uwm.edu/longvie...ntid=#eventid#
END:VEVENT
</cfoutput>END:VCALENDAR
</cfsavecontent>

<cflock name="calendar_#url.personid#" timeout="20">

<!--- and then here .. generate scheduled task to auto update the calendar -- daily/weekly . .whatever the answer ends up being from S Premeau ---><cffile action="write"
file="/var/www/html/employeedev/calendars/#url.personid#-#myprofile.username#.ics"
output="#calendar#">

</cflock>

Thank you!

Last edited by opusmyhero; 05-21-2008 at 11:23 AM.. Reason: SOLVED
Reply With Quote