Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [MeasureCurrent]
- Measure=Plugin
- Plugin=Plugins\WebParser.dll
- UpdateRate=1800
- Url=http://api.openweathermap.org/data/2.5/forecast?id=[Fill in API key from openweathermap]&mode=xml&cnt=1&units=metric
- RegExp=(?si).+<symbol number="\w+" name="([\w ]+)" var="(\w+)"></symbol>(?:(?!time).)+<temperature unit="celsius" value="([-+]?[0-9\.]*)" min="[-+]?[0-9\.]*" max="[-+]?[0-9\.]*"></temperature><feels_like value="([-+]?[0-9\.]*)"
- ; Matches symbol for description, then icon, then not time tag (throwing away), then temperature, then the feel temperature
- ; Variables: (Description) (IconName) (Temp) (FeelsTemp)
- ; Make sure to match the icon names given here: https://openweathermap.org/weather-conditions
- ; To modify the time when measured edit the number in the link where it says "&cnt=1" each number counts for 3 hours. So "&cnt=8" measures 24 hours ahead of the current time.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement