Hi! I'm working on the new version of my school site, and we would like to include the current temperature along with an icon to represent the conditions outside. I have made a mock up: We are running on an IIS server (asp) and most tutorials I can find are hard to follow or are for php. Does anyone know the easiest way I can achieve this? Thanks
You would probally need to do an XML call to some sort of data store, like Yahoo (http://developer.yahoo.com/weather/). With that, phrase the results and show the data you are interested in. First, check that Yahoo link. Second, read up on ASP / XML
Have you contacted their Support team, where are you getting the data from and in what form, i mean xml, txt or simply http response???
That is a widget, i have a little toolbar on the bottom of the site with random bits of info and the widget would definitely not fit. lol
In one of my project I was using Google Weather XML API and it was very friendly and works till today Look at this: http://www.googleapihelp.com/2009/08/google-weather-api.html
Awesome! Is there anyway I can translate that php code into javascript? I don't have php on the server and would like to avoid having to change every html page to an asp page.
I'm not fimiliar with javascript http request but for sure it's possible to solve it this way. Below link to article about making XMLHTTP request using javascript you can adapt it somehow: http://snippets.dzone.com/posts/show/2913
I know close to absolutely nothing about javascript :\ and trying to do something this advanced compared to my level is frying my brain. With this being a project with a deadline I have no time to learn about javascript.