For backwards compatibility I have also set up a permenant redirect on my server so old links will be redirected from flickrfly.php to flickrfly.kml

Please report any problems you may find.

PS. As a bonus, if you used to experience a confirmation dialog in Firefox between clicking the “Fly to Google Earth” link and the actual flying, then this is now gone. It, too, must have been triggered by the filename switch on the server.

14 Responses to FlickrFly Fix – and URL change

Seems to me that the file returned by the script now doesn’t have *any* file extension…which means I have to save it locally, manually applying the .kml extension. (This is true whether I’m using the old “flickrfly.php” or the new “flickrfly.kml” URL)

Hi,
I see that you have been able to get past the ie reading error. I am banging my head against the wall trying to fix this myself. I am using asp.net and I have changed iis to regard .kml as .aspx pages and my mime types are good and my kml is valid and I still get this block in ie(works great in firefox). I have seen in two other forums that you have talked about potential solutions and in the one thread on flickr you said it probably had to do with the order of the http headers. Could you tell me what your headers look like so I can replicate it in asp.net? Or do you have any other insight on how to fix this? Thank you very much for any help.
charliehttp://www.flickr.com/groups/flickrfly/discuss/168528/http://bbs.keyhole.com/ubb/showflat.php/Cat/0/Number/296237/page/0/fpart/all/vc/1

I accumulate the kml file in $buildString first so I can calculate and send the Content-Length:, but I think I eventually found it wasn’t necessary to do this. In fact it would probably load a little faster if you just start streaming the kml. Try it both ways.

I’m getting exactly the same error as ross above. No response on the Flickrfly discussion on Flickr, the group almost looks dead there’s so little activity on it recently. I was beginning to think a fault had developed in my browser Firefox so ross’ post at least reassured me that I’m not alone in this problem and something untoward has happened on roblog.com