Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Publishing iCal using PHP iCalendar

Publishing iCal using PHP iCalendar
Thread Tools
Mac Elite
Join Date: Feb 2001
Location: Los Angeles, CA, USA
Status: Offline
Reply With Quote
Dec 20, 2002, 05:34 AM
 
I'm trying to publish iCal .ics files onto the web using PHP iCalendar. It works really well for reading the .ics files. I can publish them fine if I create a .ics file in iCal, but I am trying to figure out a way to create a .ics file through a web interface. I opened a .ics file in a text editor, but I can't figure out how some of the text is generated.

Here is a sample of some of the text in a .ics file:

BEGIN:VEVENT
SEQUENCE:13
UID:9D07AEFE-140B-11D7-B01F-0003930FDA24
DTSTAMP:20021220T110806Z
SUMMARY:Monday
DTSTART;TZID=US/Pacific:20021216T090000
DTEND;TZID=US/Pacific:20021216T180000
RRULE:FREQ=WEEKLY;UNTIL=20030117T075959;INTERVAL=1 ;BYDAY=MO
END:VEVENT

I'm not sure where SEQUENCE comes from, how the UID is generated, and the various time stamp's seem wrong to me.

"DTSTAMP:20021220T112833Z" This event was actually created at 3:28 AM on my machine. I know the 28 is correct, but there is 11 instead of 03 like I would expect.

I am also not sure about the recurrence rule line at the end. This portion is confusing to me:
"INTERVAL=1;BYDAY=MO"

Thanks for any help anyone can provide.
     
fobside  (op)
Mac Elite
Join Date: Feb 2001
Location: Los Angeles, CA, USA
Status: Offline
Reply With Quote
Dec 20, 2002, 05:36 AM
 
I don't know why ";BYDAY=MO" appears on a new line when I post it here, but it should be on the same line as the previous line.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:58 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2