Having succcessfuly created some portlets of my own, I was actually looking
at this for our intranet.
The problem I ran into was this:
The list of cities to select is limited. If a user enters in their zip code,
how do I determine which city is closest to them?
BTW, Jeff, I have seen other online calendars where they give the weather
forecast in the week-display of a personal schedule.
Steve B.
----- Original Message -----
From: "Kevin A. Burton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 20, 2000 6:53 AM
Subject: Who wants to write a weather Portlet?
> Check this out. This is the same content that is used in GWeather
> (GNOME Weather) which is an applet in GNOME. It is US government info
> so I don't think there are any copyright issues (if you are a US citizen
> your tax dollars paid for the info).
>
> Anyway it would be as simple as writing a daemon (check out the
> org.apache.jetspeed.daemon package) that would parse out the content (I
> don't know if all they have is HTML or if they actually have a
> protocol... text or XML). The daemon could be used by the portlet as a
> singleton to get the weather information:
>
> DaemonFactory.getDaemon( DaemonFactory.WEATHER_DAEMON_KEY )
>
> I would assume that if info for that country/state/city isn't available
> you would just return null. Then the user could just enter their local
> and it should give them their temp and forecast.
>
> This is the NWS Internet Weather Source (US government).
>
> http://weather.noaa.gov/
>
> --
> Kevin A Burton ([EMAIL PROTECTED])
> http://relativity.yi.org
> Message to SUN: "Please Open Source Java!"
> I just patented "one click e-mail", when you hit the "reply" button you
> own me 50 cents.
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]