When create a KML feed using views, the KML generated includes an superfluous line feed at the top of the file which causes the KML to be invalid. I tried to edit "kml/views/views-view-kml.tpl.php" and remove it but it's still there. Not sure how to remove and get a valid KML feed. Help!

Comments

jduhls’s picture

Status: Active » Closed (works as designed)

Discovered that the extra line feed is produced by the fact that my theme's "template.php" had "?>" in it. If you remove them, the extra line feed is gone. This problem affected all kinds of other modules like RSS, etc. Anyway - fixed!