Improved Calendar Channel

0
No votes yet

In testing out Luminis IV, the feature that our users were drooling over the most was the new calendar channel. We've been waiting for this since 2004, back when Mike Z first teased us with it at a uPortal conference! So we were a little disheartened to realize that (a) we weren't moving to Luminis IV as soon as we wanted to, and (b) the new calendar channel couldn't be backported to Luminis III without doing too much work.

Wanting to deliver something sooner than later, I went to work and coded up a similar channel that would work in Luminis III (and against the version 5 calendar that ships with Luminis III). The channel is coded in perl only because that's the quickest language for me to develop in. If someone wanted to port it over to Java, some performance gains could probably be made through smarter channel caching, but having said that it's not lagging for us.

I've enlisted the help of another institution to test this out (thanks Bill!), and we've also had this in production for about 50 users here locally for over a month, with the last small bug fix put into place over a week ago. I think it's ready to release.

Attached are the code and full instructions. If you decide to try this out, then please do let me know how things go for you! I'm interested in feedback for both the channel itself and also the installation intructions.

Todd

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Bugfix 1.0.1

I have a small bug fix for the next version (now at 1.0.1). I can't see where I update the attachment here in Drupal - doesn't it allow that?

Anyway, here's the diff from version 1.0.0:

*** calendar_proxy_1.0.0.pl
--- calendar_proxy.pl 
***************
*** 556,561 ****
--- 556,562 ----
  sub doublequote($) {
        my $text = shift;
        $text =~ s/'/\\'/g;
+       $text =~ s/"/"/g;
        return $text;
  }

Todd

Bugfix 1.0.2

Fixed another small issue on the weekview links.

I figured out how to update the attachments here in Drupal, so the new code has been uploaded, if you download the ZIP you'll get the latest version.

Todd

Version 1.1.2

Quite a few changes, some of them bug fixes, some improvements. Check out the change log at the top of the script for full details.

Todd