I have a c# application which gets the bbc’s weather forcast for any location.
3573¬Brixton, United Kingdom
3574¬Raynes Park, United Kingdom
3575¬Chelsea, United Kingdom
3576¬Clapham, United Kingdom
3577¬Earl’s Court, United Kingdom
The application uses the following method to obtain the html source and parse it, loading the weather forcast into arrays:
WebRequest HTTP = (HttpWebRequest)WebRequest.Create(@”http://www.bbc.co.uk/weather/5day.shtml?id=” + ID);
string html = (new StreamReader(HTTP.GetResponse().GetResponseStream())).ReadToEnd();
string[] delimiters = { “return false;\” onmouseout=\”hideSym(); return false;\”>
” };
string[] htmlsplit = html.Split(delimiters, StringSplitOptions.None);
string[] days = { htmlsplit[3], htmlsplit[11], htmlsplit[19], htmlsplit[27], htmlsplit[35], };
string[] images = { htmlsplit[2], htmlsplit[10], htmlsplit[18], htmlsplit[26], htmlsplit[34], };
string[] forcasts = { htmlsplit[4], htmlsplit[12], htmlsplit[20], htmlsplit[28], htmlsplit[36], };
First of all, is this illegal and second, if it is not illegal, can I create a similar vista sidebar gadget to show the forcast?
I only plan to run this on my computer and I only really need to update at logon. How can I make a vista sidebar gadget to do the same task?
I only plan to run this on my computer and I only really need to update at logon. How can I make a vista sidebar gadget to do the same task?



December 9th, 2008 at 4:48 am
It’s legal to run it on your computer. It’s polite to not update it more than every 15 minutes or so. But if you plan to make it available for general public download, I’d contact them first.
December 11th, 2008 at 9:45 am
What’s illegal? Taking HTML from a website? Oh noes! My browser just took HTML from Yahoo Answers. Gosh, I hope I don’t go to prison. I want to keep my baby behind tight.