Forum Moderators: coopster
I have a PHP/MySQL-based event calendar system on my website. It's mostly homemade and serves my needs.
As a Mac user and fan of iCal, I was wondering, if it was possible to somehow export my calendar to an iCalendar format so that the visitors of my website could download the calendar to their home computer.
Unfortunately, I don't know too much about WebDAV, iCalendar, etc. and therefore don't quite understand what it takes to dynamically create such a file.
Thanks in advance for your input! :)
The internal file structure you can find at
[ietf.org...]
and example (however in Python)
[codespeak.net...]
Regards
Michal
[edited by: mcibor at 2:28 pm (utc) on Dec. 7, 2006]
ICal under php
[phpicalendar.net...]
and this is what you're looking for
[phpicalendar.net...]
Michal
What I want to do is the other way around from what you, whoisgregg, said. I have an online event calendar system (multiple users, online editing, etc.), which I'd like people to be able to download to their iCal-apps.
I found this class [phpclasses.org] which might be the one I'm looking for. Correct?
Thanks. :)
The iCal file format is an open format [tools.ietf.org], so you can always just build something from scratch. Although I once spent 20 hours over a weekend trying to write something using that specification a year or so ago before the headache got so bad I had to stop and shelf the project. If only I'd found that class back then. :/
Unfortuately, still no luck here.
This is the error I'm getting:
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /.amd_mnt/server17.loop/export/www/vhosts_main/tu/htdocs/fb7/isr/termine/classes/class.iCal.inc.php on line 73 I could locate 'T_OLD_FUNCTION' in the PHP-Compat package, but not the other two.
I added (accordingly to the Compat manual)
require_once '/.amd_mnt/server17.loop/export/www/vhosts_main/tu/htdocs/fb7/isr/termine/classes/PHP_Compat/Compat.php';
PHP_Compat::loadConstant('T_OLD_FUNCTION'); to the class.iCal.inc.php from the iCal classes package. The error remains.
[edited by: Psycho_Mantis at 3:14 pm (utc) on Dec. 8, 2006]