Quantcast
Viewing all articles
Browse latest Browse all 906

WebParser with Variables not working

I'm new to Rainmeter so any help would be greatly appreciated. I'm trying to get weather information using the WebParser. It works fine until I try to use variables for my current location. I got a Measure to grab my Latitude and Longitude using the WebParser. This works fine I can see the values in the log/skin debug window. But the second WebParser to get the weather information doesn't return anything. It works fine if I use hard values and no variables.
Am I just using the variables wrong or did I make another mistake(s)? All help is greatly appreciated!

Code:

[MeasureLocation]Measure=PluginPlugin=WebParserUrl=https://www.ipaddress.my/RegExp=(?siU)<td>Latitude:</td>.*<td>(.*)</td>.*<td>Longitude:</td>.*<td>(.*)</td>UpdateRate=6[MeasureLatitude]Measure=PluginPlugin=WebParserUrl=[MeasureLocation]StringIndex=1[MeasureLongitude]Measure=PluginPlugin=WebParserUrl=[MeasureLocation]StringIndex=2[MeasureWeather]Measure=PluginPlugin=WebParser#Url=https://username:password@api.meteomatics.com/now/weather_symbol_1h:idx,t_2m:C/[&MeasureLatitude],[&MeasureLongitude]/jsonRegExp=(?siU)"value":(.*)}.*"value":(.*)}UpdateRate=600DynamicVariables=1Debug=2

Statistics: Posted by Jappie313 — Yesterday, 6:36 pm — Replies 4 — Views 99



Viewing all articles
Browse latest Browse all 906

Trending Articles