It is currently July 14th, 2024, 1:37 pm

Russian Win10 Widget Weather

Weather skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5453
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Russian Win10 Widget Weather

Post by eclectic-tech »

Sirunem wrote: February 2nd, 2024, 6:26 am Hi, thanks for the work you've done! I would like to ask if a light theme is expected?
The original skins did not have themes, so the simple answer is NOT to expect that.

It is fairly simple to change the colors used for the text and background by modifying the values in "@Resources\variables.ini" to set the background or border colors, and "@Resources\styles.ini" to set the text colors.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5453
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Russian Win10 Widget Weather

Post by eclectic-tech »

Updated to V1.2024.02.02

Removed testing code to prevent creating unnecessary 'WebparserDump.txt' file (Thanks for catching that, Alsimus62!)
Added tooltip for wind direction to wind text (Thanks for the suggestion, Alsimus62!)
Modified positioning of forecast and temperature in all variants

Download new version from my first post
Danjah
Posts: 3
Joined: February 23rd, 2024, 8:41 am

Re: Russian Win10 Widget Weather

Post by Danjah »

Hey, man. Thanks for your work. :thumbup:
There is a small bug in displaying the sunrise time on the skin.
When I put the latitude and longitude on these:
Latitude=69.49166107
Longitude=88.39041138
It goes like this:
Снимок экрана 2024-02-23 154348.png
With the rest of the cities and locations are fine.
How do I fix this?
You do not have the required permissions to view the files attached to this post.
User avatar
Yincognito
Rainmeter Sage
Posts: 7723
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Russian Win10 Widget Weather

Post by Yincognito »

Danjah wrote: February 23rd, 2024, 8:49 am There is a small bug in displaying the sunrise time on the skin.
When I put the latitude and longitude on these:
Latitude=69.49166107
Longitude=88.39041138
It goes like this:
Снимок экрана 2024-02-23 154348.png

With the rest of the cities and locations are fine.
Just guessing here, but the slightly incorrect parsing of sunrise and sunset times in this case might be a consequence of the latitude (69) being above the polar circle (66). Maybe the site represents such data a bit differently than for "regular" latitudes. Out of curiosity, can you try other similar "subarctic" locations (north or south, doesn't matter) and see if the problem exists for those too?
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5453
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Russian Win10 Widget Weather

Post by eclectic-tech »

Danjah wrote: February 23rd, 2024, 8:49 am Hey, man. Thanks for your work. :thumbup:
There is a small bug in displaying the sunrise time on the skin.
When I put the latitude and longitude on these:
Latitude=69.49166107
Longitude=88.39041138
It goes like this:
Снимок экрана 2024-02-23 154348.png

With the rest of the cities and locations are fine.
How do I fix this?
That can be corrected by editing "@Resources\RegExp.inc" and changing the DailyForecastSUN value to:

Code: Select all

DailyForecastSUN=(?siU)<div class="sun-card__sunrise-sunset">.*Восход</span>(.*)</div>.*Закат</span>(.*)</div>.*
Save that file and refresh the weather skin.

I will post an updated package in the near future with this change...
Thanks for pointing out this issue. :thumbup:
Danjah
Posts: 3
Joined: February 23rd, 2024, 8:41 am

Re: Russian Win10 Widget Weather

Post by Danjah »

Yincognito wrote: February 23rd, 2024, 1:10 pm Just guessing here, but the slightly incorrect parsing of sunrise and sunset times in this case might be a consequence of the latitude (69) being above the polar circle (66). Maybe the site represents such data a bit differently than for "regular" latitudes. Out of curiosity, can you try other similar "subarctic" locations (north or south, doesn't matter) and see if the problem exists for those too?
Unfortunately with other similar "subarctic" locations problem exists. But eclectic-tech solve this problem :YESSS:
Danjah
Posts: 3
Joined: February 23rd, 2024, 8:41 am

Re: Russian Win10 Widget Weather

Post by Danjah »

eclectic-tech wrote: February 23rd, 2024, 3:50 pm That can be corrected by editing "@Resources\RegExp.inc" and changing the DailyForecastSUN value to:

Code: Select all

DailyForecastSUN=(?siU)<div class="sun-card__sunrise-sunset">.*Восход</span>(.*)</div>.*Закат</span>(.*)</div>.*
Save that file and refresh the weather skin.

I will post an updated package in the near future with this change...
Thanks for pointing out this issue. :thumbup:
After the changes made, everything looks as it should. Thank you! :thumbup:
Снимок экрана 2024-02-24 194842.png
You do not have the required permissions to view the files attached to this post.
User avatar
Yincognito
Rainmeter Sage
Posts: 7723
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Russian Win10 Widget Weather

Post by Yincognito »

Danjah wrote: February 24th, 2024, 12:58 pm Unfortunately with other similar "subarctic" locations problem exists. But eclectic-tech solve this problem :YESSS:
:great:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
Alsimus62
Posts: 3
Joined: February 2nd, 2024, 2:19 am

Re: Russian Win10 Widget Weather

Post by Alsimus62 »

Hello!
I showed your Widget to the guys at 4PDA, they really liked it!
As a result, they jointly created three options. Colored, transparent.
Including extended for seven days.
Good luck!

https://4pda.to/forum/index.php?showtopic=175621&st=660
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5453
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Russian Win10 Widget Weather

Post by eclectic-tech »

Alsimus62 wrote: March 5th, 2024, 3:11 am Hello!
I showed your Widget to the guys at 4PDA, they really liked it!
As a result, they jointly created three options. Colored, transparent.
Including extended for seven days.
Good luck!

https://4pda.to/forum/index.php?showtopic=175621&st=660
Glad you found it useful enough to make some improvements, they look great :great:
I cannot access the downloads to see the code changes; I only see the posted images :(
So I may look into making some of those changes to my package. The new icons and conditions are difficult for me since I do not understand any Russian words (Google helps, but it is tedious!).