A customer wants local weather displayed on their web site. I found the RSS feed on the BBC web site and have got it displaying in it's raw format (see http://twitpic.com/1l3bv), but it could do with looking a whole lot nicer!
The RSS data is below. If you compare that against the page it came from - http://www.bbc.co.uk/weather/5day.shtml?id=2073 - you'll see that the information supplied in the RSS is rather short of what's shown on the web site! (I'm using the "3 day forecast feed")
Does anyone have any advice / tricks / etc on how to format the info better? Alternatively, are there better weather RSS feeds available?
help and suggestions on how to treat weather RSS
A customer wants local weather displayed on their web site. I found the RSS feed on the BBC web site and have got it displaying in it's raw format (see http://twitpic.com/1l3bv), but it could do with looking a whole lot nicer!
The RSS data is below. If you compare that against the page it came from - http://www.bbc.co.uk/weather/5day.shtml?id=2073 - you'll see that the information supplied in the RSS is rather short of what's shown on the web site! (I'm using the "3 day forecast feed")
Does anyone have any advice / tricks / etc on how to format the info better? Alternatively, are there better weather RSS feeds available?
[code]
xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:atom="http://www.w3.org/2005/Atom"
We use - http://xoap.weather.com/ and the xml looks like this for london - http://xoap.weather.com/weather/local/UKXX0085?cc=*&dayf=5 . THere's a instrucitons and icons if you sign up.
Ii think thats here - http://www.weather.com/services/oap.html
@gordon... here is how i work with the xml feed from yahoo weather....
[code]
]>
<>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:str="http://exslt.org/strings"
extension-element-prefixes="str"
xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns"
exclude-result-prefixes="msxml rdf umbraco.library yweather">
[/code]
hope that helps for ideas on accessing the data, etc.
Thanks Bob - that's great! Could I be cheeky and ask to see your CSS for "weatherContainer" and associated?
is working on a reply...