It is currently February 20th, 2020, 6:34 pm

⭐ weather.com - Some Tools for Parsing

Our most popular Tips and Tricks from the Rainmeter Team and others
User avatar
jsmorley
Developer
Posts: 20269
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Some Help With Parsing weather.com

Post by jsmorley »

eclectic-tech wrote:
January 24th, 2020, 2:38 am

Good catch on the missing DecodeCharacterReference!
Fixed this in the .rmskin in the first post of this thread.
User avatar
gt57
Posts: 16
Joined: August 31st, 2009, 4:02 am

Re: ⭐ Some Help With Parsing weather.com

Post by gt57 »

Great work on creating this as modules! :thumbup:

I like to have multiple weather skins loaded. My approach is to create multiple folders (location1, location2, location3, etc) under the WeatherCom folder and place the main .ini in each of these folders. I put all my meters in an .inc file and put this in @resources folder.

The only items in the main .ini is the LocationCode, the Context menu, and colors (so that each map could have a different color scheme). The only change I have to make to jsmorley's distribution is to comment out the LocationCode in the WeatherComVariables.inc file.

I currently have ten weather maps loaded (for testing). Works like a charm.
User avatar
jsmorley
Developer
Posts: 20269
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Some Help With Parsing weather.com

Post by jsmorley »

gt57 wrote:
January 24th, 2020, 2:00 pm
Great work on creating this as modules! :thumbup:

I like to have multiple weather skins loaded. My approach is to create multiple folders (location1, location2, location3, etc) under the WeatherCom folder and place the main .ini in each of these folders. I put all my meters in an .inc file and put this in @resources folder.

The only items in the main .ini is the LocationCode, the Context menu, and colors (so that each map could have a different color scheme). The only change I have to make to jsmorley's distribution is to comment out the LocationCode in the WeatherComVariables.inc file.

I currently have ten weather maps loaded (for testing). Works like a charm.
Yep. You just need distinct LocationCode and if desired Lanuage values for each skin, and just let them share all the rest.

Strictly speaking, you don't need to comment out the LocationCode in WeatherComVariables.inc. If you define a variable LocationCode in the skin, AFTER the @Include in the [Variables] section, the second one, that you define directly in the skin .ini, will override the one from the @Include. If a #Variable# is defined multiple times in a skin, "last" wins...

Note that this is not true of Measures or Meters, where "first" wins. Only [Variables].
User avatar
DanDaBear
Posts: 26
Joined: February 23rd, 2018, 3:12 am

Re: ⭐ Some Help With Parsing weather.com

Post by DanDaBear »

THANK YOU! :thumbup: :thumbup: :thumbup: :thumbup: :thumbup:

Both Xenium and JSMorley. :D

Without you guys I would have never been able to make weather skins! :confused:

First with the WXData plugins and now Weather.com plugins! :great:
User avatar
VClouds
Posts: 69
Joined: April 7th, 2010, 2:34 pm

Re: ⭐ Some Help With Parsing weather.com

Post by VClouds »

Just updated my skin using this very helpful template.
Thanks jsmorley :thumbup: :)
User avatar
jsmorley
Developer
Posts: 20269
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Some Help With Parsing weather.com

Post by jsmorley »

VClouds wrote:
January 25th, 2020, 3:29 pm
Just updated my skin using this very helpful template.
Thanks jsmorley :thumbup: :)
Glad to help.

I added your popular skin to ⭐ Weather Skins
User avatar
VClouds
Posts: 69
Joined: April 7th, 2010, 2:34 pm

Re: ⭐ Some Help With Parsing weather.com

Post by VClouds »

jsmorley wrote:
January 25th, 2020, 3:37 pm
Glad to help.

I added your popular skin to ⭐ Weather Skins
Great, thanks! :D
Nabu
Posts: 12
Joined: May 19th, 2016, 7:44 am

Re: ⭐ Some Help With Parsing weather.com

Post by Nabu »

How could I get it working in Vista? Still running Rainmeter 3.3.2. No chance? :?
User avatar
SilverAzide
Posts: 690
Joined: March 23rd, 2015, 5:26 pm

Re: ⭐ Some Help With Parsing weather.com

Post by SilverAzide »

Nabu wrote:
January 27th, 2020, 8:53 am
How could I get it working in Vista? Still running Rainmeter 3.3.2. No chance? :?
With regard to using weather.com and the templates provided in the first post, there is nothing here that would prevent using Rainmeter 3.3.2 or Vista. If you are referring to a particular weather skin, that would be up to the skin author, or up to your interest in backporting and/or working around any new Rainmeter 4.x features.
DeviantArt Gadgets More...
User avatar
jsmorley
Developer
Posts: 20269
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: ⭐ Some Help With Parsing weather.com

Post by jsmorley »

Nabu wrote:
January 27th, 2020, 8:53 am
How could I get it working in Vista? Still running Rainmeter 3.3.2. No chance? :?
I can't swear I didn't use any features of Rainmeter implemented after 3.3.2. I might well have.

The only thing I can suggest is to download the .rmskin, rename it to .zip, extract it, and install it in the skins folder manually. Then load it up and see what happens.