Note: CogDogBlog has a new WordPress powered home at http://cogdogblog.com/. All entries from this version have been moved there, so as a guide dog service try finding this article in its new home by title search.
Sometime between 1:00 Am yesterday and 11:00 am today I think this server was down-- I could not ping it nor access any content on it. I was rather worried, knowing that there are many people using Feed2JS for their sites, and the sites will just stay in an endless attempt at loading if the server is not there. My aoplogies if this did happen.
The problem is that right now I am at my cabin in Strawberry, where heavy snow has been falling for about 2 hours (it is lovely), and I had no intention of leaving heaven to kick start a server-- and I was not able to contact anyone that could.
I started exploring some ways to try and build a timeout option in JavaScript, but struck out. The issue is that a page contains a statement like:
<script language="JavaScript" src="http://www.mcli.loc/jade/feed/feed2js.php? src=http%3A%2F%2Fjade.mcli.dist.maricopa.edu%2Falan%2Findex.rdf" type="text/javascript"></script>
and apparently browsers never time out going for this?? I am not sure. I tried to set up something where the feed2js script would return a JS variable to let the page new it was reached, and set up a setTimeout script to make a timer to check this and abort if it did not get the update.
But my logic or typing flawed and it never worked. I need to ponder and return to it later-- does anyone know if JavaScript can tell the browser to abort its connection (e.g. same action as clicking the STOP button?) And I ma not sure how to structure something like the above JS code that it can have some sort of conditional test to set it in motion...
Anyhow, it is on the list of things to do (as well as moving it do a dedicated server).
blogged January 29, 2005 01:31 PM :: category [ web bad dog ]I've never seen one. If you find one, tell me - I have numerous places where I'd like to use it.
Commented by: Stephen Downes on January 29, 2005 06:45 PM