Favicon

Just for grins, I added a favicon.ico to my weather web site so that browsers can show a little icon when the a user bookmarks a page on that site.  The icon also shows up in the browser’s tab for that page or in the address bar, depending on the browser.  That was all simple enough, but I wanted to attempt to take it a step further.  So I added some code to the class that retrieves the weather forecast that is displayed on the web site.  The new code converts the image for the current weather into an icon and stores it as favicon.ico.  I also added some code to the Web page that refreshes the icon every time the forecast is refreshed.  So now the favicon shows the current weather forecast.  This works really well in Firefox and Chrome. IE doesn’t always refresh when I would expect it to.  So not a total success.  But it was entertaining.  I may come back to it sometime and see if I can get IE to refresh a bit better.