Message

foo is an invalid KML media type. Use application/vnd.google-earth.kml+xml or application/vnd.google-earth.kmz

Explanation

XXX

Solution

XXX

Not clear? Disagree?

You might be able to find help in one of these fine resources.