- To hell with the pig... I'm going to Switzerland.

AJAX Update (Friday, September 1, 2006)

So after a bit of work and a bit of thought I have updated my recent activity page so that it uses AJAX to update the log display automatically without needing to reload the page. Furthermore, it will only update the page (every two minutes) when the page is in focus, so that it will not generate network traffic when it is not being looked at.

I had been trying to use W3C style event handling, however Internet Explorer's behaviour is so bizarre that I have given up on it for now, as I simply refuse to develop multiple unique implementations for cross browser support. I am able to do what needs to be done (for now) using the old style event handlers, which are implemented properly across the board.

And finally, I had been comparing the results of GeoBytes IP locating service to the local MaxMind database. I have find that MaxMind's database is usually okay, rarely great, and occasionally completely and totally wrong (like reporting a rural Virginia location as upstate New York). However, I also discovered that the GeoBytes service occasionally redirects my visitors off my site onto an advertisement, which is completely and totally unacceptable. I have therefore removed GeoBytes from my site, and I will continue to use MaxMind's database until I can find something better. If I were delivering localized content, I'd be more concerned, but for this application, close enough is good enough.

—Brian (9/1/2006 4:49 PM)


No comments.

(no html)

Disclaimer: Opinions on this site are those of Brian Ziman and do not necessarily
reflect the views of any other organizations or businesses mentioned.