It is currently May 2nd, 2024, 6:44 am

question about Weather Location Code

Get help with creating, editing & fixing problems with skins
sy19890515
Posts: 5
Joined: September 24th, 2012, 1:43 am

question about Weather Location Code

Post by sy19890515 »

hi guys. Im new to rainmeter.
the website i often use to check weather is http://www.theweathernetwork.com/
but I dont know how to find the weather location code in here.
for example: I live in kitchener, canada. this is the local weather http://www.theweathernetwork.com/weather/caon0356
i saw the button "RSS|XML" at the bottom an i clicked it, then I got the new URL http://rss.theweathernetwork.com/weather/caon0356. is this what im supposed to get? I tried to paste this URL to the file and i refreshed the weather skin but there is nothing.

Can someone help me with this? thx
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: question about Weather Location Code

Post by Mordasius »

sy19890515 wrote:but I dont know how to find the weather location code in here.
Your weather code for http://www.theweathernetwork.com is caon0356 but you need to check to be sure that the weather skin you are using is getting its information from theweathernetwork.com.
User avatar
UnforgivenRevival
Posts: 310
Joined: June 7th, 2012, 2:25 am
Location: Philadelphia, PA

Re: question about Weather Location Code

Post by UnforgivenRevival »

Most likely the RegExp is out of wack too. You will need to re-parse for that web page, As the feed is probably totally different.
sy19890515
Posts: 5
Joined: September 24th, 2012, 1:43 am

Re: question about Weather Location Code

Post by sy19890515 »

UnforgivenRevival wrote:Most likely the RegExp is out of wack too. You will need to re-parse for that web page, As the feed is probably totally different.
I did, but there is nothing. can you use it to get the weather information?
sy19890515
Posts: 5
Joined: September 24th, 2012, 1:43 am

Re: question about Weather Location Code

Post by sy19890515 »

Mordasius wrote: Your weather code for http://www.theweathernetwork.com is caon0356 but you need to check to be sure that the weather skin you are using is getting its information from theweathernetwork.com.
im very very sorry, i just clicked the report button and i thought it was the reply button.
How to check it? can you get the weather information?
User avatar
Mordasius
Posts: 1173
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: question about Weather Location Code

Post by Mordasius »

What weather skin are you trying to use?
sy19890515
Posts: 5
Joined: September 24th, 2012, 1:43 am

Re: question about Weather Location Code

Post by sy19890515 »

Mordasius wrote:What weather skin are you trying to use?
the iron man skin. does the skin i choose to use matters?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: question about Weather Location Code

Post by jsmorley »

sy19890515 wrote: the iron man skin. does the skin i choose to use matters?
Yes, it really does. Every skin made for Rainmeter was made by some person, designed and created by them using Rainmeter as the "toolkit". There is just no such thing as "The Weather Skin" in Rainmeter, there are probably hundreds of them. Literally.

The trouble with where you are going is that you are looking to modify a skin designed to work with some particular weather service RSS (like Yahoo Weather or Weather.com) and make it work with a completely different weather service (the Canadian one you posted for example). I don't know the Iron Man skin particularly, but I'm betting it does not use http://www.theweathernetwork.com/ as the weather service in its skin.

This is just not going to be some simple matter of changing the URL to the different weather service and putting in your weather code. As every weather service has its own RSS feed, with completely different key names, values and order, changing an existing skin to another service is going to mean extensive editing. Mostly the WebParser measures that retrieve the information, but possibly (probably really) many of the meters that display the information as well.

I'm not saying it can't be done, and I completely encourage you to roll up your sleeves and give it a go, but it's not something you can do without some experience with using Rainmeter to create and edit skins. If you are interested in getting started, you might look at: http://rainmeter.net/cms/Rainmeter101.
sy19890515
Posts: 5
Joined: September 24th, 2012, 1:43 am

Re: question about Weather Location Code

Post by sy19890515 »

jsmorley wrote: Yes, it really does. Every skin made for Rainmeter was made by some person, designed and created by them using Rainmeter as the "toolkit". There is just no such thing as "The Weather Skin" in Rainmeter, there are probably hundreds of them. Literally.

The trouble with where you are going is that you are looking to modify a skin designed to work with some particular weather service RSS (like Yahoo Weather or Weather.com) and make it work with a completely different weather service (the Canadian one you posted for example). I don't know the Iron Man skin particularly, but I'm betting it does not use http://www.theweathernetwork.com/ as the weather service in its skin.

This is just not going to be some simple matter of changing the URL to the different weather service and putting in your weather code. As every weather service has its own RSS feed, with completely different key names, values and order, changing an existing skin to another service is going to mean extensive editing. Mostly the WebParser measures that retrieve the information, but possibly (probably really) many of the meters that display the information as well.

I'm not saying it can't be done, and I completely encourage you to roll up your sleeves and give it a go, but it's not something you can do without some experience with using Rainmeter to create and edit skins. If you are interested in getting started, you might look at: http://rainmeter.net/cms/Rainmeter101.
oh I see. Thank you so much.
I thought it would be simple but apparently it is not. I think I'll make it work when I get to used to Rainmeter.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: question about Weather Location Code

Post by thatsIch »

Generally its easier to adapt to another weather page as weather.com or co
and get your code there, cause most times their data is the same due to same weather stations they extract their informations from