I will teach you how to get the Rainmeter weather plug-in

  
. The weather plug-in for Rainmeter is mostly written by foreigners, so the default is generally the country of rice, and the API generally calls the Yahoo weather or weather.com weather that the foreigner likes. More than the former. Moreover, foreigners are a lot of people who like to use Fahrenheit, and no one in the mainland uses Fahrenheit. The first step, preparation - I suggest you install Notepad++, the editing code is more handy, and free, because it will highlight the code. - Notepad++ text editor download: Click me - Rainmeter desktop landscaping tool download: Click me the second step, see the author's words and documentation, know where the API comes from. If you downloaded it in deviantaRT, pay attention to what the author said. This is important, for example, how the weather plugin is set up and where the API is used. If you downloaded it on the mainland website, take a look at the documentation. Generally in the compressed package, the readme document is, not in the compressed package or in the skin there is a readme file. If not, in general, then this skin will have comments. As you can see, the author is very serious and can be seen using the weather.com API and explaining the change to Fahrenheit or Celsius. Knowing the API, we are the time to change the code. The code for weather.com is generally alphanumeric, and Yahoo weather is purely digital, paying attention to recognition. The third step, editing the code I will use two examples. Open the ini file under the skin that needs to be changed or right click on the skin —— edit the skin; you can see the Variables (meaning: variable) label (Note: the system comes with a notebook will not give you so many colors Here!) The following is what you want to change. Generally speaking, it is similar. Note that in general, the RM weather plugin edits the weather below this tab. Generally speaking, F = Fahrenheit, M = Celsius. [XML] Plain text view Copy code LocationCode=GMXX0080unit=m;f for fahrenheitsize=100;in percent Explanation: color is of course color, no matter here, a lot of all 255 indicates that the goods are white. LocationCode, as its name implies, is the code name for your location, which is where we mainly change. We need to go to weather.com. After entering the website, we can search for our location in the search bar on the right side of the website. Of course, it is pinyin, for example, “Chongqing”; after the jump, we are not concerned with the content, but the address bar! After the search, the address bar's URL is: http://www.weather.com/weather/today/Chongqing+CHXX0017:1:CH's last <;CHXX0017” that is, <quo;+”8 between the colon and the colon The bit code is our area code, it is it! Fill it in~ If it is Yahoo weather, go to weather.yahoo.com, for example, Chongqing is http://weather.yahoo.com/china/chongqing/chongqing-2158434/bar "ld";-” It is the Yahoo weather code. Then there is the adjustment of Celsius and Fahrenheit. The code of this plugin is “unit=m”, and the comment is “f for fahrenheit” is the Fahrenheit. It seems that this plugin is Celsius by default~ save, close, refresh Plugin, complete! The second example: [Variables]; F for Imperial, M for MetricImperialorMetric=m; ZIP CodeLocation=HUXX0002; City NameCityName=Budapest, the comment also said, F is Fahrenheit, ZIP CODE is actually weather.com Weather code, this plugin allows you to display the name, then write your city name~ Now download the Rainmeter experience now - System Home's latest WinXP system, Win7 system download: http://www.xp85.com/html/List-104.html
Copyright © Windows knowledge All Rights Reserved