> You probably should not change the file extension, changing the > headers is sufficient to have your file served as xml Yes, I found it out.
added response.headers['Content-Type']= 'application/vnd.google-earth.kml +xml' To the controller function. Works like a charm now. I haven't even thought that creating KMl from a database is that simple. Everyone wanting to create KML with web2py and having difficulties: you can drop be a note. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---