If iCAL is simply a marked up text file, could you not pull the data from PosrgreSQL and write it to a file in iCAL markup using PHP. It has PostgreSQL modules and direct file access? It doesn't seem like a big deal to me. Maybe I'm missing something. I'm new to PHP, working on my first project now.