Change time and weather according to place
Moderator: General Moderators
Change time and weather according to place
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,
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,
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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,
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,
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Weather is often time sensitive so many will provide a timestamp that the information is valid for.amir wrote:I 'll have to use RSS for both Time and Weather?
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.
Try here for the weather script:
http://www.cruelacid.com/?page=weather
http://www.cruelacid.com/?page=weather