My Calendar Channel

0
No votes yet

Has anyone modified the "My Calendar" channel? We would like to change some things about it, but I'm unsure where it is to modify. It doesn't appear to be a car. Thoughts?

Comments

Comment viewing options

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

I believe it's Sun's calendar app

Unless I'm mistaken, the "My Calendar" channel is actually the iPlanet... er.. Sun One... er... Sun Java System calendar application. As such I don't think you'll be able to modify it....

When I was evaluating it a while back, I really liked the calendar channels (they broke it up into separate channels for separate tasks) that came with Unicon's Academus (also based on uPortal) product. Originally they sold this and other channels as separate add-ons you could purchase, but in the end that proved to be an unsustainable business model as there were too many complications with installing these channels at different sites running different versions of uPortal and having different skill sets. These calendar channels could interact with a calendar database they developed as well as the Sun Java System calendar server. In the end, largely due to the exclusiveness of the Banner 7 support in Luminis, we went with Luminis instead.

More than one ?

>I really liked the calendar channels

channels?  You mean there's more channels out there we're not using ? With Luminis (III.2) there is only one installed and it simply tells you how many events you have in your calendar today.  You click that link and it opens you calendar.

I haven't looked for the actual luminis channel, however, it might be possible to write one that hits Sunone ... somehow :)  At least list the events for me even if I have to open something else to see details.

Hmmm...  sounds like a useful project (even though I think III.3 or III.4 has more calendar functionality in the channel)

 -Jon

Built-in junky channel

it is the junky built-in channel I want to modify, the one that just lists number of events and pops a window. I simply want to add another link in it that opens the university event calendar.

Web Calendar Access Protocol (for what it's worth)

A little while back I did a little research into what it would take to read calendar data from the SunONE Calendar Server that comes bundled with CP/Luminis.  SunONE has a way for you to login and access (as well as add/update/delete I believe) using what they call "Web Calendar Access Protocol (WCAP)."  I have included below some of the more basic "commands" from that API that I found in the "SunONE Calendar Server Programmer's Manual."

========================================
COMMAND: Login and get session id
http://calserv.myschool.edu:6785/login.wcap?user=doejd&password=mysecret&fmt-out=text/xml

RESULT:
<?xml version="1.0" encoding="UTF-8" ?>
<iCalendar>
  <iCal version="2.0" prodid="-//iPlanet/Calendar Hosting Server//EN">
    <X-NSCP-WCAP-SESSION-ID>bo3hw9r3y9q62np3t6</X-NSCP-WCAP-SESSION-ID>
    <X-NSCP-WCAP-USER-ID>doejd</X-NSCP-WCAP-USER-ID>
    <X-NSCP-WCAP-CALENDAR-ID>doejd</X-NSCP-WCAP-CALENDAR-ID>
    <X-NSCP-WCAP-ERRNO>0</X-NSCP-WCAP-ERRNO>
  </iCal>
</iCalendar>

NOTES:
A value of '0' for <X-NSCP-WCAP-ERRNO> means the login was successful

For all instances below, 'id' will be whatever session 'id' is returned from the 'login.wcap' command

========================================
COMMAND: Logout
http://calserv.myschool.edu:6785/logout.wcap?id=bl0h8vh2rbhm08v&fmt-out=text/xml

RESULT:
<?xml version="1.0" encoding="UTF-8" ?>
<iCalendar>
  <iCal version="2.0" prodid="-//iPlanet/Calendar Hosting Server//EN">
    <X-NSCP-WCAP-ERRNO>-1</X-NSCP-WCAP-ERRNO>
  </iCal>
</iCalendar>

NOTES:
A value of '-1' for <X-NSCP-WCAP-ERRNO> means the logout was successful

========================================
COMMAND: Get ALL calendar events by calid
http://calserv.myschool.edu:6785/fetchcomponents_by_range.wcap?id=bl0h8vh2rbhm08v&calid=calmaster:2547.GROUPTOOLSTERM&fmt-out=text/xml&tzidout=America/Chicago

RESULT:
(See the examples in the "SunONE Calendar Server Programmer's Manual")

========================================
COMMAND: Get ALL calendar events by calid occuring between two dates/times
http://calserv.myschool.edu:6785/fetchcomponents_by_range.wcap?id=bl0h8vh2rbhm08v&calid=calmaster:2547.GROUPTOOLSTERM&dtstart=20050120T000000&dtend=20051231T235959&tzidout=America/Chicago&fmt-out=text/xml

RESULT:
(See the examples in the "SunONE Calendar Server Programmer's Manual")

My Calendar info

It is all in a CP.JAR file in $CP_WEBINF/lib

copy that to a temp location and jar -xvf cp.jar to extract it all.

Look in -

com/pipeline/channels/CPCalendarTeaser.xsl

You can add a link to your events calendar here.

 -Jon