I managed to change the icons but now I have another problem, it turns out that I added an icon for the Haze condition but it is not displayed even if I added the following text "haze_day_night":"fog" in the Weather.ini code where the condition for both day and night using the image name "fog".
Does anyone know how to add conditions to be able to assign images to it? I've been searching the forums but haven't been able to find a solution.
It is currently September 10th, 2024, 11:32 pm
Weather with Mond Skin isn't working
-
- Posts: 24
- Joined: January 26th, 2023, 5:05 pm
-
- Posts: 880
- Joined: January 4th, 2018, 9:52 pm
Re: Weather with Mond Skin isn't working
For "Haze", in Yahoo's html source, the icon name is "smoky".KRou wrote: ↑February 9th, 2023, 3:02 pm I managed to change the icons but now I have another problem, it turns out that I added an icon for the Haze condition but it is not displayed even if I added the following text "haze_day_night":"fog" in the Weather.ini code where the condition for both day and night using the image name "fog".
Does anyone know how to add conditions to be able to assign images to it? I've been searching the forums but haven't been able to find a solution.
So replace "haze_day_night":"fog" with "smoky_day_night":"fog"
-
- Posts: 24
- Joined: January 26th, 2023, 5:05 pm
Re: Weather with Mond Skin isn't working
Could you tell me how to see the other conditions please, it is to add missing icons, I looked in the code of the yahoo page but I did not find anything.
From what I noticed there are 2 partly cloudy images for day and night but in the weather.ini those names are not specified but it detects them in the same way. So it would be taking the variable directly from the page, which I don't know where to see to know if it is correctly written
-
- Posts: 880
- Joined: January 4th, 2018, 9:52 pm
Re: Weather with Mond Skin isn't working
Below are the Yahoo weather icons I used for a weather skin.KRou wrote: ↑February 11th, 2023, 8:53 pm Could you tell me how to see the other conditions please, it is to add missing icons, I looked in the code of the yahoo page but I did not find anything.
From what I noticed there are 2 partly cloudy images for day and night but in the weather.ini those names are not specified but it detects them in the same way. So it would be taking the variable directly from the page, which I don't know where to see to know if it is correctly written
Add to Substitute and to the weather icons what is missing. Note:
The weather icons are named exactly (......@2x.png) as in Yahoo's html source.
You can use the same name for your icons and thus no longer need substitutes.
You just need to make a small change to [MeasureWeather] in the RegExp:
Replace (.*)@2x.png with (.*).png (so delete @2x)
Then delete Substitute from [MeasureWeatherIcons].
You do not have the required permissions to view the files attached to this post.
-
- Posts: 24
- Joined: January 26th, 2023, 5:05 pm
Re: Weather with Mond Skin isn't working
I'll try this. Thank you so muchxenium wrote: ↑February 11th, 2023, 10:09 pm Below are the Yahoo weather icons I used for a weather skin.
Add to Substitute and to the weather icons what is missing.
YahooIcons.zip
Note:
The weather icons are named exactly (......@2x.png) as in Yahoo's html source.
You can use the same name for your icons and thus no longer need substitutes.
You just need to make a small change to [MeasureWeather] in the RegExp:
Replace (.*)@2x.png with (.*).png (so delete @2x)
Then delete Substitute from [MeasureWeatherIcons].
-
- Rainmeter Sage
- Posts: 5506
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Weather with Mond Skin isn't working
Thanks for sharing these icons and information
This was very timely, as I spent most of the past 2 days correcting my Yahoo.com skin.
Your icons and description simplified, and help immeasurably, in getting conditions and icons to display properly for me.
Thanks again xenium!
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::
-
- Posts: 880
- Joined: January 4th, 2018, 9:52 pm
Re: Weather with Mond Skin isn't working
You're welcome!eclectic-tech wrote: ↑February 12th, 2023, 1:32 am Thanks for sharing these icons and information
This was very timely, as I spent most of the past 2 days correcting my Yahoo.com skin.
Your icons and description simplified, and help immeasurably, in getting conditions and icons to display properly for me.
Thanks again xenium!
I had only one skin that used Yahoo as a source, but after the site changed, I moved it to Weather.com.
-
- Posts: 24
- Joined: January 26th, 2023, 5:05 pm
Re: Weather with Mond Skin isn't working
Thanks to your help you can place different types of icons for the weather, here is my Skin in case you want to try it, it is in Spanish but it can be translated into English
https://www.deviantart.com/krou705/art/Mond-Spanish-2022-Rainmeter-938057809
https://www.deviantart.com/krou705/art/Mond-Spanish-2022-Rainmeter-938057809
-
- Posts: 3
- Joined: February 14th, 2023, 10:46 am
Re: Weather with Mond Skin isn't working
mine isn't working just a C and no moreYincognito wrote: ↑March 28th, 2022, 8:33 am If you're talking about this skin, it works for me without issues:
Mond.jpg
-
- Posts: 3
- Joined: February 14th, 2023, 10:46 am
Re: Weather with Mond Skin isn't working
Are yours is working? mine not and i ardly doing that mentohd not workKRou wrote: ↑January 26th, 2023, 5:12 pm hello, you just have to change the URL line according to the address of your city in yahoo
Code: Select all
[MeasureWeather] Measure=Plugin Plugin=WebParser Url=https://www.yahoo.com/news/weather/chile/biobio/santa-juana-350373 RegExp=(?siU)<div id=module-location-heading class=".*"><div><h1 class=".*">(.*)</h1>.*<div class="My\(2px\).*60x60\/(.*)@2x.png.*<p class=".*">(.*)</p></div>.*</div><div class="temperature-forecast.*"> <span class=".*fahrenheit celsius.*">(.*)</span>