You are not logged in.

#1 2009-04-25 15:58:31

Hexorg
Member
Registered: 2009-02-23
Posts: 27

Getting local weather

Good daytime to you!
I'm trying to write a simple code in C that would printf() curent temperature in my area (somethinf really close to the "Weather Report" for GNOME panel)

A wile ago I stumbled over some website where you could just enter zip in an adress bar (e.x. www.weather.com/automated?zip=***** and it will just output "68*F" in the browser window)

does anyone knows anyweb adresses that will do that or anything close to that? I just don't really want to parse the whole http://www.weather.com/weather/local/****** page for the temperature I need.

Offline

#2 2009-04-26 04:31:55

r6
Member
From: Melbourne
Registered: 2008-07-02
Posts: 156

Re: Getting local weather

There might be an easier way but you should be able to parse the xml feed fairly easily.

Offline

Board footer

Powered by FluxBB