carterniall has asked for the wisdom of the Perl Monks concerning the following question:
I was wondering if there would be a method of allowing them to download and save it as a .XML or .KML extension instead of a .PL extension. I want them to only see it as XML or KML as opposed to a perl script. Any clues as I am coming up stumps.
I have tried changing the content type to: "Content-type: application/vnd.google-earth.kml+xml\n\n"; which was good until they new version of Google Earth stopped that. This method did not help my problem of offering an XML version (.xml) to download though.
Any clues? Sorry if it's a bit vaige but would be more than happy to elaborate...
Niall
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing the content type
by friedo (Prior) on Jul 15, 2008 at 19:34 UTC | |
by carterniall (Novice) on Jul 16, 2008 at 11:43 UTC | |
|
Re: Changing the content type
by psini (Deacon) on Jul 15, 2008 at 19:39 UTC | |
by Fletch (Bishop) on Jul 15, 2008 at 20:10 UTC | |
by psini (Deacon) on Jul 15, 2008 at 20:24 UTC | |
by friedo (Prior) on Jul 15, 2008 at 20:32 UTC |