weather module Thread last updated on 2006-07-10 20:56:31

Posted by member 62520 on 2006-06-24 17:41:08

Does anyone know of any good and working weather modules? I've tried lookoutside, but the weather site it gets the data from doesn't work anymore. I've also tried GetWeather, but that is also out of date and LSWeather acts all funky. Recommendations anyone?

Thanx
Avi

Posted by member 212670 on 2006-06-24 18:21:52 link

Posted by member 321598 on 2006-06-24 21:22:05 link

Unfortunately there's no module (as far as I know) that can directly retrieve weather data, you'll need an HTML parser (xlabel, rainmeter, wazup can all parse html) and access to a weather site.

I personally use weather.com because they offer an SDK kit (https://registration.weather.com/registration/xmloap/step1), but that's your choice.

Posted by member 5575 on 2006-06-25 22:59:10 link

I use a vbscript I've developed over the last couple of years, and get the data from the weather.com XML feeds as well. The script just extracts all the data and stores it in a file as evar-value pairs, e.g.

Temperature "70 F"

etc., so that you can "include" it. Then all the values are available for use in xlabel, xpopup, etc., and you can display them as you like.

Posted by member 280260 on 2006-06-25 23:04:05 link

Care to share it?

Posted by member 62520 on 2006-06-25 23:17:13 link

Thanx for the help guys. I ended up just using a DesktopX widget. I hate going through any kind of code unless absolutely necessary, cause it gives me headaches and pisses me off. Despite that however, I would still be interested in that script Boreas. Please?

Posted by member 5575 on 2006-06-25 23:38:16 link

It'd probably be easiest to see it used in a theme, rather than just looking at the pieces. The script itself is in the "WeatherNotDLL" folder in my Penumbra theme (available here or at ls-themes.org). The theme has been updated quite a bit since then, but the script is still pretty much the same, IIRC. If you look at the other parts of the theme you can see how the script is called (timer or bang), the argument list, some possible display formats, etc. I'm not ready to release the updated version yet - I'd have to write up new documentation for *that*. =P

If you're just wanting the current weather conditions then wazup.dll is much simpler. I have all the extended forecast stuff and lots of other shite (sunrise, sunset, moon phase) in the script.

Posted by member 62520 on 2006-06-26 00:27:10 link

Cool!...I think I'll actually look into that. Thanx Boreas, that was really helpful.

Posted by member 1 on 2006-06-26 01:31:26 link

I use a Samurize plugin instead of using LS for this stuff. The LS modules tend to fall out of date quickly. wols was working on an LS module to allow me to emulate it off of XML feeds but he never finished it.

Posted by member 51749 on 2006-07-09 17:16:47 link

i also have a vbscript/xlabel combo which does the trick. i think i started from getWeather, but modified it so much its no longer recognisable. only problem is, its heavily suited towards my location (with its weather maps and severe weather outlook), so im not sure how useful itd be to anyone else.

Posted by member 1949 on 2006-07-09 20:30:16 link

I was going to add Brians weather in my theme and noticed it only does USA.
Is there another way to get radar like that anyway else with world weather radar?

Posted by member 5575 on 2006-07-10 00:44:52 link

I haven't found one yet (or needed one), seeing as how I'm generally confined to the 48 contiguous states. If you do find a good source for the radar imagery, please let me know though. I'd like to document (and expand) those features. FYI, I also posted an updated version on the LSML last week (modified script plus bang commands) that allows you to toggle the radar images on and off (one.dll), rather than using the timer that was in the original script.

Posted by member 321598 on 2006-07-10 20:56:31 link

Hmm, I'll upload a general weather script in the code section that should do the trick (since I've been working on it for my theme anyways), it'll only work if you have WSH enabled and IE 6 (Most people should, unless they manually removed them.)