Apr 7

CSV to iCal Update

So I wasted a bit more time on this today and decided to make a big change.  I decided to eliminate the whole file upload, file download and then import stuff.  I got the program to pull the calendar down automatically with some nice CURL work, then processed the calendar and output it automatically.  What does this mean?  It means you can put the url directly into something like Google Calendar and it autoupdates.  This eliminates the need for the UID as well since with each update comes a complete reload of all events on the calendar.  The problem I am running into now is time zone crap.  The time in the CSV is GMT, but I need to account for daylight savings time.  This might end up being another abandoned project to add to my list since I think it will require a complete rewrite of how times are handled.  Maybe I’ll pick this up another time…  I hope I do, otherwise its a shit load of wasted time.

No comments

No Comments

Leave a comment