I'm using WebParser to automatically update my location and attached is a screenshot of RainRegExp.
Anyway, here's my code:
Code: Select all
[MeasureLocationWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url="http://www.maxmind.com/app/locate_my_ip"
RegExp="(?siU)Global Cities.*"center"> (.*)</td>"
StringIndex=1
[MeterLocationWeather]
Meter=String
MeasureName=MeasureLocationWeather
FontFace=Raleway
FontSize=72
StringAlign=Center
W=750
X=(1366/2)
Y=200
Debug=1
FontColor=45,100,255
AntiAlias=1
Code: Select all
DEBUG: (00:30:25.773) WebParser: Fetching URL: http://www.maxmind.com/app/locate_my_ip
DEBUG: (00:30:25.992) WebParser: Finished URL: http://www.maxmind.com/app/locate_my_ip
DEBUG: (00:30:25.992) WebParser: [MeasureLocationWeather] Matching error! (-1)
Thanks in advance for any help.
-Michael