Internet Calendar

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Internet Calendar

Post 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:
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Internet Calendar

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Post 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/
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
frodeste
Regular
Posts: 56
Joined: Thu Aug 04, 2005 9:16 pm
Location: Tønsberg, Norway
Contact:

Post 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.
-- frodeste
www.stenstrom.no
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
Post Reply