Je suppose que la partie qui gére la localisation doit être dedans :
;[BEGIN CONFIG FILE]==============================
[Rainmeter]
Author=VClouds
Version=1.00
AppVersion=100100
Update=1000
DynamicWindowSize=1
[Metadata]
Name=VClouds Weather
Description=Detailed weather skin with up to 9 days forecast. Weather information is taken from weather.com.
Instructions=Look at the instructions below (at the VClouds Weather.ini file) for font colors, location, icons and units.
Version=1.00
Tags=Weather|VClouds
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=
Preview=
[Variables]
FontFace=Trebuchet MS
FontColor=255,205,50,255
FontColor2=255,205,50,150
FontColor3=255,255,255,240
FontColor4=255,255,255,150
FontSize=8
FontSize2=12
;-- WEATHER ICONS -- folder Path for the weather icons and their size.
Icon=\Icons\
Icon2=\IconsS\
H=76
W=76
PreserevAspectRatio=1
;-- LOCATION -- Go to http://www.weather.com/ search for your city.
;when in your city page, Copy the 8 digit code at the URL in the address bar | Paste the location code below.
Location=UKXX0085
;-- UNIT -- Choose either m, for metric (Celsius/km), or f, for imperial (Fahrenheit/mi) | Choose the unit below.
Unit=m
LOC_URL=http://www.weather.com/weather/today/#Loca
tion#
;=================================================
=========
;[MEASURE
WEATHER]=========================================
;=================================================
=========
[MeasureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://xml.weather.com/weather/local/#Location
- ?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU).*<locale>(.*)</locale>.*<ut>(.*)</u
t>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<
ur>(.*)</ur>.*<loc
id="(.*)">.*<dnam>(.*)</dnam>.*<tm>(.*)</tm>.*<lat
(.*)</lat>.*<lon>(.*)</lon>.*<sunr>(.*)</sunr>.*<
suns>(.*)</suns>.*<zone>(.*)</zone>.*<cc>.*<lsup>(
.*)</lsup>.*<obst>(.*)</obst>.*<tmp>(.*)</tmp>.*<f
lik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>.*<
bar>.*<r>(.*)</r>.*<d>(.*)</d>.*<wind>.*<s>(.*)</s
.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)</t>.*<h
mid>(.*)</hmid>.*<vis>(.*)</vis>.*<uv>.*<i>(.*)</i
.*<t>(.*)</t>.*<dewp>(.*)</dewp>.*<moon>.*<icon>(
.*)</icon>.*<t>(.*)</t>.*"
[Today]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://xml.weather.com/weather/local/#Location
- ?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<dayf>.*<lsup>(.*)</lsup>.*<day d="0" t="(.*)"
dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(
.*)</sunr>.*<suns>(.*)</suns>.*<part
p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*<part
p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*"
[MeasureForcastToday+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=12600
Url=http://xml.weather.com/weather/local/#Location
- ?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="1" t="(.*)"
dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(
.*)</sunr>.*<suns>(.*)</suns>.*<part
p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*<part
p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*"
[MeasureForcastToday+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=12600
Url=http://xml.weather.com/weather/local/#Location
- ?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="2" t="(.*)"
dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(
.*)</sunr>.*<suns>(.*)</suns>.*<part
p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*<part
p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*"
[MeasureForcastToday+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=12600
Url=http://xml.weather.com/weather/local/#Location
- ?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="3" t="(.*)"
dt="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<sunr>(
.*)</sunr>.*<suns>(.*)</suns>.*<part
p="d">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*<part
p="n">.*<icon>(.*)</icon>.*<t>(.*)</t>.*<wind>.*<s
(.*)</s>.*<gust>(.*)</gust>.*<d>(.*)</d>.*<t>(.*)
</t>.*<bt>(.*)</bt>.*<ppcp>(.*)</ppcp>.*<hmid>(.*)
</hmid>.*"