A lot of work has to be done depending on how complex the skin is. It's still broken at its current state (last I checked). Note: I did not actually fix the Mond weather skin. OpenWeatherMap's icon value is different from wxdata's, so since the Mond weather icons are named, 1.png., we have to rename to OpenWeatherMap's format.Change variable #Location# to accept OpenWeatherMap's id format.Change variable #Unit# settings to accept metric and imperial so it fits the APIs format.We fixed the WebParser, provided correct data, but it's not a perfect skin yet. * icon = "(.*)" Measure = Plugin Plugin = WebParser.dll Url = StringIndex = 3 Measure = Plugin Plugin = WebParser.dll Url = StringIndex = 1 Measure = Plugin Plugin = WebParser.dll Url = StringIndex = 2 Measure = Plugin Plugin = WebParser.dll Url = StringIndex = 4 Substitute = #Conditions# Measure = Plugin Plugin = WebParser.dll Url = StringIndex = 5 But There's MoreĪfter all the hard work, are we done? Yes, and no. Measure = Plugin Plugin = WebParser.dll UpdateRate = 900 Url = appid = & id = #Location#&units=#Unit#&mode=xml RegExp = (?siU) ![]() It could be any weather API as long as it provides the information you need and of course, a reasonable request rate. ![]() We will start by looking for a new weather API. Before we get started, here's what you need to know about what we'll be doing in the next few minutes.
0 Comments
Leave a Reply. |