Shoutbox

weather plugin - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: weather plugin (/showthread.php?tid=30363)

weather plugin by weirdal27 on 08-24-2004 at 03:12 AM

Is there a plugin like this or would it be possible for someone to make it?

basically, i want to type /xweather 90210
so it goes to weather.com or whatever and looks up the temperature, humidity and whatever and displays it in the contact window
would that be possible?


RE: weather plugin by the_angry_angel on 08-24-2004 at 09:51 AM

it could be done, but it would be heavily dependant on the design of weather.com. if they made any significant changes it would most likely break.

that is unless theres a static developer api for weather.com, which i doubt


RE: weather plugin by WDZ on 08-24-2004 at 09:57 AM

Well, there are many weather sites other than weather.com... :p

This looks like it might be useful... weather XML feeds: http://www.nws.noaa.gov/data/current_obs/


RE: weather plugin by the_angry_angel on 08-24-2004 at 10:04 AM

handy WDZ :) now if I wasnt working 99% of the time, and I was american, i might have made that plugin :-/

hmm, anyone happen to know of a UK XML weather feed (off the top of their head)?


RE: weather plugin by Cartox on 08-24-2004 at 10:13 AM

you can add BOT2K3 to your contactlist
and type !weather 90210
or other zones,city's
eg. !weather paris
BOT2K3


RE: weather plugin by WDZ on 08-24-2004 at 10:36 AM

quote:
Originally posted by the_angry_angel
hmm, anyone happen to know of a UK XML weather feed (off the top of their head)?
I was searching around some more (I'm bored), and it seems that NOAA also provides UK weather info, but not in XML format.

Example: http://weather.noaa.gov/pub/data/observations/metar/stations/EGLC.TXT
That's data for a location in the UK.
Decoded: http://weather.noaa.gov/pub/data/observations/metar/decoded/EGLC.TXT

The name of the txt file can be changed to get weather for other locations. The full list of codes is at http://weather.noaa.gov/data/nsd_cccc.txt (the first 4 characters of each line).

I've found some PHP scripts that use this data source, so there might be some C++/VB examples out there as well...
RE: weather plugin by Yousef on 08-24-2004 at 11:55 AM

I might turn it into a c++ plugin sometime :)


RE: weather plugin by the_angry_angel on 08-24-2004 at 02:20 PM

thats v.handy WDZ, I think I might use that - ive been searching for an alternative, but there doesnt seem to be decent one.

I might turn it into a tutorial or something sometime...


RE: weather plugin by Yousef on 08-24-2004 at 02:57 PM

also a lot of weather.com examples @ pscode...


RE: weather plugin by J2000_ca on 08-24-2004 at 08:10 PM

Why not just use a quicktext?
For example:
/run http://www.weather.com/weather/local/90210?lswe=(...herLocalUndeclared


RE: weather plugin by weirdal27 on 08-24-2004 at 09:05 PM

quote:
Originally posted by J2000_ca
Why not just use a quicktext?
For example:
/run http://www.weather.com/weather/local/90210?lswe=(...herLocalUndeclared

I would prefer it as a plugin as i dont really want my browser opening all the time

Bot2k3 is a good option but if its offline i cant do it. and i was thinking somewhere along the lines of using it to show your contact or group of people your weather in the contact window