Page 1 of 1

BBC Weather forecast Plugin

Posted: August 22nd, 2005, 1:46 pm
by jamesdoz
Hi,

Just written my first LCD Smartie plugin to download weather forecasts from the BBC website (http://www.bbc.co.uk/weather/)

You can download the plugin from http://www.james-austin.co.uk/bbcweather.zip

Example usage

$dll(bbcweather, 2, 5day.shtml?id=1123, 9 ) $dll(bbcweather,2,5day.shtml?id=1123,2) $dll(bbcweather,2,5day.shtml?id=1123,3)



Hope someone finds it useful

Source code

Posted: August 22nd, 2005, 3:21 pm
by jamesdoz
You can download the VB.NET 2003 source code from:

http://www.james-austin.co.uk/bbcweather_source.zip

Feel free to use it, just give me a credit somewhere

New version

Posted: August 27th, 2005, 6:22 pm
by jamesdoz
I've uploaded a new version of the plugin that caches the information to a text file and only checks over the 'net every 15mins.

Download from http://www.james-austin.co.uk/bbcweather.zip

Posted: August 29th, 2005, 10:04 am
by bartoni
Hi,

I'm having trouble with your plugin. Here's the error :

"Load of plugin failed: LoadLibrary failed with #126: The specified module could not be found."

Posted: August 29th, 2005, 10:09 am
by jamesdoz
I should have mentioned that it's a VB.NET application, so I think you'll need the .NET framework installed.

http://msdn.microsoft.com/netframework/ ... mework1_1/

If that isn't the problem I don't know what is.

Has anyone else had this error?

Posted: August 29th, 2005, 8:52 pm
by bartoni
Doh. Of course! I should've realised.

Posted: September 18th, 2005, 9:22 pm
by bionico
Hi, why you don't add another parameter, "Current Nearest Observations"

Posted: November 7th, 2005, 8:04 pm
by torro
Yes, "Current Nearest Observations:" would be great.

Also, I get Access violation on every input except 1 and 2 (sunny/rainy and the full forecast)

Posted: November 26th, 2005, 7:29 am
by Zarkov
hi m8, great plugin, but i too get the access violation on all exept options 1 and 2.

Any ideas or maybe a fix :)
keep up the good work :)

Updated version

Posted: May 11th, 2006, 12:04 pm
by jamesdoz
Hi,

Thought people might want to know there's now a new version of the plugin available. It can be downloaded from http://www.james-austin.co.uk/lcdweather.zip

The new version is a re-write/bug-fix by Paul Rousou-Adams. He's fixed bugs in my code and added the 24hour forecast...
I also wanted to get the 24 hour forecast so I built that in. Use this code to display it:
$dll(bbcweather, 1, 24hr.shtml?id=xxxx, 1 )