> Does anyone know of Free XML feed for weather information for a non > profit site?
I've no idea if this helps answer your question (off to a good start ;-), but one of my "jobs to do" is to try out the code taken from an e-mail from CF-Talk (I think it was). It's just pasted below... might by US only, although the original poster was in the UK. Take a look. ================================ I dont know about a WDDX version, but there is a weather webservice you can easily call from CFMX. Heres the code to call it: <!--- /weatherclient.cfm created 4/25/02 by Jeff Tapper Remotesite Technologies [EMAIL PROTECTED] Change History: Usage: A web service client which leverages the vbws weather service ---> <cftry> <cfparam name="form.zipcode" default=""> <cfoutput><form action="http://#cgi.server_name#:#cgi.SERVER_PORT##cgi.script_name#?#cgi .query_string#" method="post"> <table> <tr> <td colspan="2">Enter a zipcode below to retrive the current weather.</td></tr> <tr><td>Zipcode</td><td><input type="text" name="zipcode" value="#form.zipcode#"></td></tr> <td colspan="2"><input type="submit" name="submit" value="Get Weather"></td></tr> </table> </form></cfoutput> <cfif not structisEmpty(form)> <cfinvoke webservice="http://www.vbws.com/services/weatherretriever.asmx?WSDL" method="GetWeather" returnVariable="stWeather" zipcode="#form.zipcode#"/> <cfoutput> <h1>Current Weather For #form.zipcode#</h1> <table cellspacing="2" cellpadding="2" border="0"> <tr> <td>Last Updated</td> <td>#stWeather.LastUpdated#</td> </tr> <tr> <td>Current Temp</td> <td>#stWeather.CurrentTemp#</td> </tr> <tr> <td>Current Conditions</td> <td>#stWeather.Conditions#</td> </tr> <tr> <td colspan="2"><img src="#stWeather.IconUrl#" alt="#stWeather.conditions#" border="1"></td> </tr> <tr> <td>Barometer</td> <td>#stWeather.Barometer# #stWeather.BarometerDirection#</td> </tr> <tr> <td>Humidity</td> <td>#stWeather.Humidity#</td> </tr> </table> </cfoutput> </cfif> <cfcatch> <cfdump var="#cfcatch#"> </cfcatch> </cftry> At 05:17 PM 9/6/2002 +0100, you wrote: >Any link (reference) to get WDDX packet to view Weather (London) in our >company's Intranet home page? > >Shahzad Butt (Development Engineer) > >JJ FastFood Distribution Ltd. >Office: +44 (0) 1992 701 722 >Mobile: +44 (0) 7803 584 873 >Fax: +44 (0) 1992 701 604 > >7 Solar Way, Innova Park, Enfield, London, EN3 7XY -- Aidan Whitehall <[EMAIL PROTECTED]> Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
