雨滴桌面显示html,如何用雨滴桌面设置美观的桌面天气插件

喜欢DIY桌面的小伙伴都有一个随时在私人电脑上显示天气的软件。在这里小编要向大家推荐一款名字叫做雨滴桌面(rainmeter)的软件,但使用到这款的小伙伴有时发现就算跟着教程做完天气却根本显示不出来。在这里小编来教大家进行这款雨滴桌面天气软件的代码设置。

40112bc1aeee429e85afcb8917049a06.png

打开你下载好的天气软件的配置设置,能看到如图所示的语句代表这是中国内地的天气代表可以使用。

9705552f058260c5370ea2e6981e8f25.png

将上述句子改写成下面小编写的句子。

然后再将#CODE#改成你所居住地的地区代码,你可以在http://m.weather.com.cn/里找到自己地区的代码,如图所示小编的地区代码就是101190401。

53436b6116c32f7b5462030be3743ed1.png

小编我把修改好的文字放在下面以供大家复制粘贴(红色的代码要靠自己找自己对应的城市):

[MeasureWeatherRSS]

Measure=Plugin

Plugin=Plugins\WebParser.dll

UpdateRate=1800

Url=http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=#CODE#&weatherType=0

RegExp="{"weatherinfo":{"city":"(.*)","city_en":"(.*)","date_y":"(.*)","date":"(.*)","week":"(.*)","fchh":(.*),"cityid":(.*),"temp1":"(.*)","temp2":"(.*)","temp3":"(.*)","temp4":"(.*)","temp5":"(.*)","temp6":"(.*)","tempF1":"(.*)","tempF2":"(.*)","tempF3":"(.*)","tempF4":"(.*)","tempF5":"(.*)","tempF6":"(.*)","weather1":"(.*)","weather2":"(.*)","weather3":"(.*)","weather4":"(.*)","weather5":"(.*)","weather6":"(.*)","img1":"(.*)","img2":"(.*)","img3":"(.*)","img4":"(.*)","img5":"(.*)","img6":"(.*)","img7":"(.*)","img8":"(.*)","img9":"(.*)","img10":"(.*)","img11":"(.*)","img12":"(.*)","img_single":(.*),"img_title1":"(.*)","img_title2":"(.*)","img_title3":"(.*)","img_title4":"(.*)","img_title5":"(.*)","img_title6":"(.*)","img_title7":"(.*)","img_title8":"(.*)","img_title9":"(.*)","img_title10":"(.*)","img_title11":"(.*)","img_title12":"(.*)","img_title_single":"(.*)","wind1":"(.*)","wind2":"(.*)","wind3":"(.*)","wind4":"(.*)","wind5":"(.*)","wind6":"(.*)","fx1":"(.*)","fx2":"(.*)","fl1":"(.*)","fl2":"(.*)","fl3":"(.*)","fl4":"(.*)","fl5":"(.*)","fl6":"(.*)","index":"(.*)","index_d":"(.*)","index48":"(.*)","index48_d":"(.*)","index_uv":"(.*)","index48_uv":"(.*)","index_xc":"(.*)","index_tr":"(.*)","index_co":"(.*)","st1":(.*),"st2":(.*),"st3":(.*),"st4":(.*),"st5":(.*),"st6":(.*),"index_cl":"(.*)","index_ls":"(.*)","index_ag":"(.*)"}}"

StringIndex=1

FinishAction=!Execute [!UpdateMeasure #CURRENTSECTION#][!Redraw]

;IfAboveValue=1

;IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]

;Debug=1

;--------------------------------

[MeasureWeatherNOW]

Measure=Plugin

Plugin=Plugins\WebParser.dll

UpdateRate=1800

Url=http://weather.51wnl.com/weatherinfo/GetMoreWeather?cityCode=#CODE#&weatherType=1

RegExp={"weatherinfo":{"city":"(.*)","cityid":(.*),"temp":"(.*)","WD":"(.*)","WS":"(.*)","SD":"(.*)","WSE":(.*),"time":"(.*)","isRadar":(.*),"Radar":"(.*)","njd":"(.*)","qy":(.*)}}

StringIndex=1

轻轻松松就锁好了一个美观大方的插件,赶快拿给旁边的人炫耀吧。

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值