It is currently May 6th, 2024, 9:47 pm

High and Low Temperatures

Get help with creating, editing & fixing problems with skins
akoepke89
Posts: 1
Joined: October 29th, 2010, 5:06 am

High and Low Temperatures

Post by akoepke89 »

I have absolutely no clue how to simply display the day's high and low temperatures. Looking through the code of other's skins can be a bit overwhelming. If someone could at least point me in the right direction I'd appreciate it.
GoNavy
Posts: 2
Joined: January 16th, 2010, 10:56 pm

Re: High and Low Temperatures

Post by GoNavy »

Well we will assume you have a basic knownledge of skin coding, if not then goto Rainmeter 101 and start reading....lol...but almost all weather skins use the "WebParser" plugin.

http://rainmeter.net/cms/Rainmeter101-EditingSkins

go down the page and find WebParser to read about how it works and coding. Basically the parser points to a web page, look at the code to see what url it points too for that webpage. Pull that page up and look at the source code, then simply use the code for the Parser to point to the word just before the info you want, webparser code will grab that info, then you code to stop grabing info, move onto the next info you want. In this case it will be the high/low temps. Once you have the info assigned to a string, you make a meter to display the info. That is it in a nut shell. Good luck