Page 1 of 1

Internet Calendar

Posted: Wed May 31, 2006 11:05 pm
by frodeste
Has anyone had the chance to look at Internet Calendars yet? I'm testing Outlook 2007 Beta 2, which has the possibility to publish its calendar has a ics format on any given webserver. (which is easily done)

I would love to see a plugin in s9y that would read such a file, and display it in a static page. This would be a matter of drawing such a calendar on the web.

Any comments to this? :) :idea:

Re: Internet Calendar

Posted: Thu Jun 01, 2006 10:28 am
by garvinhicking
Hi!

Could you give me an example of such an ICS file, or a format documentation? If you got this, creating such a plugin wouldn't be very hard.

Best regards,
Garvin

Posted: Thu Jun 01, 2006 11:07 am
by frodeste
Check out my published calendar at: http://calendars.officebeta.iponet.net/ ... lendar.ics

(The URL IS correct and DOES include the "ΓΈ")


BEGIN:VCALENDAR PRODID:-//

http://www.imc.org/pdi/
http://en.wikipedia.org/wiki/ICalendar

I thought that maybe somebody has already created a VCALENDAR class in PHP (hoped :) )

Edit: Found: http://bennu.sourceforge.net/

Posted: Thu Jun 01, 2006 1:54 pm
by garvinhicking
Oooh, okay. That format is a bit more complex than I had anticipated. :)

Sadly that PHP project seems to be quite out of date; the phpIcalendar had several security concerns...so so far I'm afraid there seems to be no good parser out there. Sadly my time is a bit too limited right now to write such a parser, especially because I wouldn't be using it on my own.

But I'll try to find time to look out for a parser. And if anyone finds a solit and working parser, I'd be glad to try a simple conversion to HTML. Once that is done, the output to s9y is a snap.

Regards,
Garvin

Posted: Thu Jun 01, 2006 2:20 pm
by frodeste
Thanks...

I'm looking forward to something like this. It would allow for me in a easy manner to tell my clients where I am and etc. All inside my blog.

Posted: Thu Jun 01, 2006 2:45 pm
by garvinhicking
Hi!

You might try to install that "phpIcalendar" (its license doesn't seem to allow bundling), and then display that using the wrapurl s9y plugin!?

Regards,
Garvin

Posted: Thu Jun 01, 2006 8:08 pm
by judebert
Looks like ics extension is for "iCalendar" format.

http://en.wikipedia.org/wiki/ICalendar

There's even a Perl module on CPAN to parse iCalendar and generate HTML calendars:
http://search.cpan.org/~rfrankel/iCal-P ... er/HTML.pm

I did some Googling, and came up with:
http://www.macupdate.com/info.php/id/9224
http://pear.php.net/pepr/pepr-comments-show.php?id=251

And PHPiCal (http://phpicalendar.net/) is GPL, so bundling it would be no problem, as long as we reference where to find its source. Apple likes it, too.