You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by db...@rockwellcollins.com on 2010/12/17 22:12:50 UTC

kml files

Hello,

I'm trying to get a kml file to launch google earth from a web page under 
subversion control.

When it loads the page you only see the code from the kml file not google 
earth.

<A href="http://crsvn/vpdb_library/branches/library_documents/RC Library - 
Military EPX AF 3-17-10.kml">

Help 
Dudley

Re: kml files

Posted by rj...@elilabs.com.
Been a while since I did kml, but here is a URL that works:

http://maps.google.com/maps?q=http://www.elilabs.com/~myword/temp/gaz_23084.kml&t=k

Note that you must specify the google domain name, and pass your kml file
as a cgi parameter to it.

> Hello,
>
> I'm trying to get a kml file to launch google earth from a web page under
> subversion control.
>
> When it loads the page you only see the code from the kml file not google
> earth.
>
> <A href="http://crsvn/vpdb_library/branches/library_documents/RC Library -
> Military EPX AF 3-17-10.kml">
>
> Help
> Dudley


Re: kml files

Posted by Richard England <ri...@mentor.com>.
Check to see what mime-type the file svn:mime-type property is set to.

I don't have a complete answer for you but I suspect it will involve 
using the svn propset command to chang/set the svn:mime-type to the 
correct type to allow the browser to interpret the file data.  Something 
like:

    svn propset svn:mime-type 'text/html' FILENAME

where FILENAME is the file you want to have displayed or processed and 
"text/html" is replaced with the correct mime-type.

~~R

---- dbwicker@rockwellcollins.com wrote the following on 12/17/2010 
02:12 PM:
>
> Hello,
>
> I'm trying to get a kml file to launch google earth from a web page 
> under subversion control.
>
> When it loads the page you only see the code from the kml file not 
> google earth.
>
> <A href="http://crsvn/vpdb_library/branches/library_documents/RC 
> Library - Military EPX AF 3-17-10.kml">
>
> Help
> Dudley