Weather code

Alexia
Posts: 3001
Joined: Sat 01 Oct, 2005 17.50

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.
User avatar
Nick Harvey
God
Posts: 4162
Joined: Fri 15 Aug, 2003 22.26
Location: Deepest Wiltshire
Contact:

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.
Dr Lobster*
Posts: 2128
Joined: Sat 30 Aug, 2003 20.14

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 Image
User avatar
Lorns
Posts: 3149
Joined: Thu 24 Mar, 2005 22.48
Location: A room with a view. 15 Hookey street, the Edge.
Contact:

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
Mental anxiety, Mental breakdowns, Menstrual cramps, Menopause... Did you ever notice how all our problems begin with Men?
Jovis
Posts: 1454
Joined: Fri 25 Aug, 2006 20.08

Can you not take some sort of RSS feed from somewhere then adapt a script like this to include it in the page?
Chie
Posts: 979
Joined: Fri 31 Aug, 2007 05.03

Does the server have PHP support? It would be easier to use PHP for what you want to do.
Bannana Split
Posts: 1
Joined: Tue 04 Mar, 2008 16.31

backstage.bbc.co.uk
Alexia
Posts: 3001
Joined: Sat 01 Oct, 2005 17.50

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!
cdd
Posts: 2633
Joined: Fri 15 Aug, 2003 14.05

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.
Alexia
Posts: 3001
Joined: Sat 01 Oct, 2005 17.50

cdd wrote: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.

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.
User avatar
Ebeneezer Scrooge
Posts: 326
Joined: Tue 23 Sep, 2003 13.53
Location: Scrooge Towers

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.
Snarky
Please Respond