`Sunrise/sunset today' channel for iPlanet portal serverWhat is this?This is a simple custom channel for use with the iPlanet Portal Server desktop. It displays the sunrise and sunset times for a selected city on the current day. The `help' page contains information about how these figures are calculated, and the significance of the different types of sunrise and sunset. On the desktop the channel looks something like this:
InstallationUnless you plan to change the Java source code, it should not be necessary to compile anything. Simply copy the included Java class files to somewhere that iPortal can find them, and the help file to the iPortal Web server's public HTML directory.
On a Unix system, you can use the included scripts to do this.
For this to work you must edit the script install.sh copies the classes and help files to the server register.sh registers the channels attributes with the profile serverNote that these two operations are independent; registration need only be done once, even if the Java is recompiled. Now you can use the admin console to make the new channel available to users. In the Application | Desktop profile, find the channels section; the name and class for the channel are `kevinBooneSuntimes' and `com.web_tomorrow.iportal_suntimes.Suntimes' respectively. GotchasThis software cannot provide meaningful data if the Portal Server's date is wrong!BugsOh, yes, undoubtedly. If you find any, please alert the author.Author and copyrightiportal_suntimes was written by Kevin Boone and is (c)2001 Kevin Boone, all rights reserved. Code is distributed under the GPL; there should be a file called `COPYING' in this distribution which sets out the GPL licence terms in detail.This code is distributed for educational purposes; there is no warranty of any kind, and the author will not accept any responsibility for any consequences of its use. |