Closed (fixed)
Project:
KML
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Sep 2008 at 14:30 UTC
Updated:
7 Aug 2011 at 06:32 UTC
I've just committed an update (for 5.x and 6.x) that will allow admins to specify the filenames for downloaded files, so you can now use whatever you like instead of nodes.kml and networklinks.kml.
Is there any interest in extending this to give more granularity (e.g. specify a title for individual nodes, for views, for taxonomy terms, for groups, for searches, etc) and use Token module to replace placeholders such as [node-title], [taxonomy-term], [search-string] and [view-name] with their actual values, so we could have files named 'test-posting.kml', 'my-tag.kml', etc.?
Comments
Comment #1
geodaniel commentedComment #2
greenskunkSounds good to me. If you need help testing please contact me
Comment #3
tmcw commentedThis sounds reasonable - setting as a task for 2.x features.
Comment #4
jeffschulerAdditionally, it would be nice to be able to allow Views' contextual filters (arguments) to alter the filename as they can the title.
Comment #5
hvalentim commentedI second that. For instance, if you offer a KML per node, once the user starts to download them, since they all have the same name, it is rather messy.
Allowing arguments (nid, title, keyword,...) to alter the filename would be a killer feature.
Comment #6
jeffschulerLeave the "filename" option blank to use the view title as filename. Arguments (contextual filters) in the view can change the view title and therefore the download filename. See #1179744: Use contextual filter title override.
I'm marking this issue as fixed I think this solution provides desired functionality. Please re-open if not, (and explain why.)