Page 1 of 1

Change time and weather according to place

Posted: Mon Dec 18, 2006 2:12 pm
by amir
Hello,

I am working on a site in which I have to display time and weather according to Canadian cities. For example, if I select Toronto in the navigation, it 'll display time and weather of Toronto and if I select Victoria from the navigation, it 'll display time and weather of Victoria and similarly for all cities.

Thanks in Advance,

Posted: Mon Dec 18, 2006 2:15 pm
by John Cartwright
And?

Posted: Mon Dec 18, 2006 2:23 pm
by amir
And?
This means you want some more details?

Posted: Mon Dec 18, 2006 2:25 pm
by feyd
amir wrote:This means you want some more details?
You didn't ask a question.

Posted: Mon Dec 18, 2006 2:33 pm
by amir
Say you have a list of cities in your site in left navigation. e.g.

Toronto
Victoria
and so on...

I want to have time and weather of Toronto to be displayed if the user clicks Toronto from the navigation and if the user clicks Victoria, it should display time and weather of Victoria and so on for all cities. Sure, these would be live/current/latest/updated daily.

Hope, it 'll give idea...

Thanks,

Posted: Mon Dec 18, 2006 2:43 pm
by feyd
No question still.

Posted: Mon Dec 18, 2006 2:48 pm
by amir
How to display Time and Weather of Canadian cities on my website?

Posted: Mon Dec 18, 2006 2:50 pm
by feyd
Pull in an RSS feed from some weather service in the region?

Posted: Mon Dec 18, 2006 2:56 pm
by amir
I 'll have to use RSS for both Time and Weather?

Posted: Mon Dec 18, 2006 2:57 pm
by Kieran Huggins
Maybe he wants some code with an installer script?

Wow, we're sooooo dense! :twisted:

Seriously though: look on weather sites - most have some sort of drop-in-place code that will add a badge to your site.

Cheers,
Kieran

Posted: Mon Dec 18, 2006 3:01 pm
by feyd
amir wrote:I 'll have to use RSS for both Time and Weather?
Weather is often time sensitive so many will provide a timestamp that the information is valid for.

If you don't want to get RSS feeds you will have to source the information from some service somewhere. Whether it's tapping into the weather stations directly or some other party or what, is up to you.

Posted: Mon Dec 18, 2006 3:51 pm
by amir
Thanks all! Cheers. :)

Posted: Mon Dec 18, 2006 4:03 pm
by Wade
Try here for the weather script:
http://www.cruelacid.com/?page=weather