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 > Proper vCal format?

Proper vCal format?
Thread Tools
Dedicated MacNNer
Join Date: Feb 1999
Status: Offline
Reply With Quote
Oct 6, 2002, 06:20 PM
 
I am trying to write a perl script (in OS X 10.2.1) that acts as a web crawler to get a schedule over HTTP, and then write to vCal format. I wrote the file as text, and followed the vcal specs and some iCal export examples, but cannot get it to import into Palm Desktop, iCal, or Entourage. I've tried changing the extension to .vcal, .txt and .ics, to no avail (it was recognized by iCal as .ics, but stopped there since it didn't follow iCal's particular vCal formatting). I was wondering if I could get some help or ideas as to what the problem would be. The file I am writing is as follows:


the overall structure is something like

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-TIMEZONE;VALUE=TEXT:US/Eastern
PRODID:-//Tyler Cheung//perl script//EN
X-WR-CALNAME;VALUE=TEXT:M'05 Schedule
BEGIN:VEVENT
DTSTART;TZID=US/Eastern:20021011T111500
DTEND;TZID=US/Eastern:20021011T241500
SUMMARY;ENCODING=QUOTED-PRINTABLE:Microbiology=0A=0D
Fungi
LOCATIONosner LEC
URL:http://www.hsdb.tufts.edu/hsdb45/class/Medical/7836
UID:http://www.hsdb.tufts.edu/hsdb45/class/Medical/7836
END:VEVENT
...
...
...
END:VCALENDAR

Any ideas or help would be appreciated.
     
   
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:53 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