It is currently April 18th, 2024, 10:41 am

Parsing/Downloading Weather Icons...

Get help with creating, editing & fixing problems with skins
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing/Downloading Weather Icons...

Post by kyriakos876 »

I'd be interested if I could understand the link and how it works, if any of you can share your links that'd be great...

Google "Weather" and right click on the widget's icon you got (Biggest icon that shows the current, not the later icons) then click inspect, and share the link of the image if you will.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Parsing/Downloading Weather Icons...

Post by jsmorley »

User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing/Downloading Weather Icons...

Post by kyriakos876 »

yea, so the "64" is the pixels of the image... 48 the smaller one. only variable looks like it's the last word.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Parsing/Downloading Weather Icons...

Post by jsmorley »

kyriakos876 wrote:yea, so the "64" is the pixels of the image... 48 the smaller one. only variable looks like it's the last word.
Yes, but I resist that there is any direct correlation between the conditions "text", which can be anything, and I have seen hundreds of variations, and the name of the icon.
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Parsing/Downloading Weather Icons...

Post by balala »

A possible solution would be to upload the icons with no names (sunny, fair or so on), but with the appropriate numbers, as those numbers are in a downloaded config.

Not sure it worth anyway...
At least if I didn't misunderstood something. Maybe I did?
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing/Downloading Weather Icons...

Post by kyriakos876 »

jsmorley wrote:Yes, but I resist that there is any direct correlation between the conditions "text", which can be anything, and I have seen hundreds of variations, and the name of the icon.
Well, there has to be some short of correlation... I mean, so far these work:
Sunny
sunny_s_cloudy
Cloudy
Snow
Thunderstorms
Windy
rain
hot
typhoon
sleet
But sure, when it comes to direct correlation, it's already disproved... Mine says Clear with periodic clouds and the icon is sunny_s_cloudy
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing/Downloading Weather Icons...

Post by kyriakos876 »

balala wrote:A possible solution would be to upload the icons with no names (sunny, fair or so on), but with the appropriate numbers, as those numbers are in a downloaded config.

Not sure it worth anyway...
At least if I didn't misunderstood something. Maybe I did?
Well, sure but
1)I don't think I can upload icons forever somewhere and share them.
2)I think it's more convenient if you want to update the icons you just change the ones hosted already in a link (if I own the link, in this case is up to google obviously when they update the icons)
3)Less size for the skin?
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Parsing/Downloading Weather Icons...

Post by balala »

kyriakos876 wrote:1)I don't think I can upload icons forever somewhere and share them.
I'm not sure if you can or can't. I never tried a such thing.
kyriakos876 wrote:2)I think it's more convenient if you want to update the icons you just change the ones hosted already in a link (if I own the link, in this case is up to google obviously when they update the icons)
Here you probably are right...
kyriakos876 wrote:3)Less size for the skin?
Again you probably are right. But don't think it worth.
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing/Downloading Weather Icons...

Post by kyriakos876 »

balala wrote:I'm not sure if you can or can't. I never tried a such thing.

Here you probably are right...

Again you probably are right. But don't think it worth.
Is there any chance that you have a "dictionary" for icon numbers in from this site " https://weather.com/" ? I want to know for example Icon 0 corresponds to sunny... etc.
User avatar
balala
Rainmeter Sage
Posts: 16143
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Parsing/Downloading Weather Icons...

Post by balala »

kyriakos876 wrote:Is there any chance that you have a "dictionary" for icon numbers in from this site " https://weather.com/" ? I want to know for example Icon 0 corresponds to sunny... etc.
https://forum.rainmeter.net/viewtopic.php?p=131161#p131161
(Sorry if there is any other, this is a result of a quick search...)