jrthor2
04-01-2004, 09:02 AM
Does anyone know if weather.com has a webservice for people to put weather on their own site? Or, does anyone know of any webservice that does this for free?
|
Click to See Complete Forum and Search --> : webservices jrthor2 04-01-2004, 09:02 AM Does anyone know if weather.com has a webservice for people to put weather on their own site? Or, does anyone know of any webservice that does this for free? buntine 04-01-2004, 10:01 AM Theres a few. http://www.weatherroom.com/add.html http://www.addresses.com/weather_feeds.php http://www.liveweatherfeed.com/weathersystem/index.cfm Regards. jrthor2 04-01-2004, 11:06 AM Ok, so if I want to use this one: http://www.weatherroom.com/xml/zip/17036 this gives me an xml file back. How do i use the data in asp 3.0? Thanks for the help buntine 04-01-2004, 11:55 AM Load the file from the server.. jrthor2 04-01-2004, 11:57 AM sorry to sound so stupid, but how do you do that? buntine 04-01-2004, 12:00 PM The relevent documentation will be on the site somewhere. I dont think they would generate the source without informing the user on what to do with it.. Otherwise, take the XMLDOM tutorial at w3schools.com http://www.w3schools.com/xml/xml_server.asp or http://www.topxml.com/xsl/articles/dynamic/dynamic.asp Regards, Andrew Buntine. jrthor2 04-01-2004, 12:37 PM ok, I tried the w3schools link and tried it like this, but I get no data back: <xml src="http://www.weatherroom.com/xml/zip/17036" id="weatherxml" async="false"> </xml> <table datasrc="#weatherxml" width="100%" border="1"> <tr align="left"> <td><span datafld="Location"></span></td> <td><span datafld="Updated"></span></td> <td><span datafld="temp"></span></td> </tr> </table> can the src be a link to a page? If I take the link out and point to a local xml file, it seems to work. Khalid Ali 04-01-2004, 08:38 PM try one th elink below, I have put something together on this topic. RSS/XML feed (http://www.webapplikations.com/pages/general_utilities.html?menu_id=Products_sub) crh3675 04-09-2004, 10:40 AM Don't use data islands. Use the XMLHTTP object to retrieve the file and then XSL to parse. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |