An excellent resource if you live near an airport ;-)



-----Original Message-----
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2005 14:00
To: CF-Talk
Subject: Re: CF-Tag Weather for UK (London)?

On Wed,  5 Jan 2005 06:45:06 -0500, Stuart Kidd <[EMAIL PROTECTED]> wrote:
> I've been searching around for a weather tag to pull London (UK) weather
but seem to just find streams of US tags instead.  Does anyone know of a
good UK one?
> 
> It would good to know what the forecast for the day is (centigrade) and
what the actual temperature is now (centigrade).

CFMX? Use the global weather web service.

<cfset ws =
createObject("webservice","http://live.capescience.com/wsdl/GlobalWeather.ws
dl")
/>
<cfset stations = "LHR,LGW,DUB" />
<cfloop list="#stations#" index="station">
<cfset report = ws.getWeatherReport(station) />
        <cfoutput>#station#</cfoutput>: <cfdump var="#report#"
expand="false" />
        Ambient temperature: <cfdump var="#report.temperature.ambient#" />
        Precipitation: <cfdump var="#report.precipitation#" />
        Extremes: <cfdump var="#report.extremes#" />
        Visibility: <cfdump var="#report.visibility.distance#" />
        Wind: <cfdump var="#report.wind.prevailing_speed#" />
</cfloop>
-- 
Sean A Corfield -- http://www.corfield.org/
Team Fusebox -- http://www.fusebox.org/
Breeze Me! -- http://www.corfield.org/breezeme
Got Gmail? -- I have 5 invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189363
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to