Multi-User Dev

I’ve started working on some of the multi-user features that will appear in the 3.0 version of tasks. One of the things I needed to do was figure out how to handle iCalendars for each user. Having individual files brings up a bunch of problems. I’ve created a PHP feed, setting the content-type, etc… but iCal didn’t like it. A little experimenting and it seems iCal wants to have a ‘.ics’ extension, not a ‘.php’ extension on the URL. Solution?

http://www.example.com/tasks/ics.php

becomes:

http://www.example.com/tasks/ics.php?.ics

This seems to work perfectly. The ics.php file is already in the tasks distribution (since 1.5 I think) and I’ll be using this as the default iCalendar feed, starting in 1.8. PHP iCalendar can handle HTTP feeds just fine, so no more need to write out the tasks.ics file.

This post is part of the project: Tasks Pro™. View the project timeline for more context on this post.