Page 1 of 2
Weather code
Posted: Sat 12 Jul, 2008 05.58
by Alexia
Hi all...
Just a quickie - I'd like to display a single line of javascript / other code on a website I'm designing that shows current weather and temperature, like how Mail Online
http://www.dailymail.co.uk and Guardian.co.uk
http://www.guardian.co.uk. I'm aware of all the AccuWeather, NetWeather and WeatherUnderground stickers / consoles you can get, but they're all way too big - I need one that'll fit into an area 20 pixels high.
Any suggestions welcome - including hacking the above websites to death!! - cheers! Oh and yes, I've googled this one repeatedly.
Re: Weather code
Posted: Sat 12 Jul, 2008 14.05
by Nick Harvey
Ah, I see what you mean. Sorry, can't be of any help whatsoever.
When I saw the thread title, I thought it would be code as in Tumbleweed. You know, W1 for cloudy, W2 for sunny, W3 for snow, etc., etc., etc.
Re: Weather code
Posted: Sat 12 Jul, 2008 14.40
by Dr Lobster*
i have created a universal weather ticker for you. wherever you are in the uk, it automatically forecasts the correct weather for you, wherever you are

Re: Weather code
Posted: Sat 12 Jul, 2008 21.10
by Lorns
Taking this off topic. All weather forecasters on all channels are known as ' jackanory' @ hellfire HQ
.
sing along now.. jack-a-nory/ tell a story
Re: Weather code
Posted: Sat 12 Jul, 2008 21.20
by Jovis
Can you not take some sort of RSS feed from somewhere then adapt a script like
this to include it in the page?
Re: Weather code
Posted: Sun 13 Jul, 2008 02.24
by Chie
Does the server have PHP support? It would be easier to use PHP for what you want to do.
Re: Weather code
Posted: Thu 17 Jul, 2008 11.56
by Bannana Split
backstage.bbc.co.uk
Re: Weather code
Posted: Thu 17 Jul, 2008 12.10
by Alexia
Appreciate all responses.... after three days of trying various RSS feeds, I went back to AccuWeather.com, took their Flash weather-sticker for MySpace, edited the background and managed to integrate it onto the site. So all is well now!
Re: Weather code
Posted: Thu 17 Jul, 2008 13.49
by cdd
How about something like this?
http://www.denman.me.uk/lasso/xmpl.php
It uses a 3rd-party service which converts RSS to HTML for integration.
Re: Weather code
Posted: Thu 17 Jul, 2008 14.49
by Alexia
I'll say it again cos you obviously missed it ... I tried integrating RSS into HTML using a whole pile of RSS-HTML converters - but most RSS feeds I found had either too much information, or advertising, or just plain didn't work... so instead I took AccuWeather's free weather content service, edited the format and it worked lovely. Thanks to all for their suggestions - although I'm concerned that Dr Lobster said he'd done something that worked then didn't respond to my PM - and I can now concentrate on finishing the site.
Re: Weather code
Posted: Thu 17 Jul, 2008 15.02
by Ebeneezer Scrooge
I was under the impression that Lobster's solution was a subtle joke at the expense of our Great British weather. A line which outputs a precise forecast for wherever you are in the UK, it'll always say 17C unsettled sunshine and showers.