
Hi Eliot, Thanks for the great-as-always feedback, I will add an internal issue and find some time to explore this. Maybe as workarounds both these use cases (references to web links and references to image resources) could be done with some XSLT scripting. For web links, you could create a comma or pipe-separated text file containing the Key/Target/Format columns and then use XSLT to convert the data to DITA keydefs. For image keydefs, at some point I wrote a blog post about using ANT and XSLT to generate a DITA Map containing a keydef for each image in a certain folder: http://blog.oxygenxml.com/2016/10/replacing-direct-image-references-with.htm... Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 10/1/2017 7:00 PM, Eliot Kimber wrote:
Now that there is Fast Create Topics I’d like to have “Fast Create Keydefs” that I can use to create multiple keydefs at once by filling in a tabular form.
For example, I create key definitions for each external Web site referenced from my docs, of which there can be many in some of my open-source project documentation.
It would be nice to have a dialog that provides a tabular input where the columns would be e.g.:
Key | Target | Format
Or maybe
Target | Key | Format
Makes more sense (since for this task my focus is on associating target URLs with keys. Likewise, the format value can be inferred from the target URI.
I also create keys for each image or other media object, so it would be convenient to have a way to select multiple images or other media objects and do a “fast create keys” from all of them, e.g., use the filename as the base for the key and fill in the table so the user can then adjust the keys as needed.
In both cases a I usually use a prefix to distinguish one type of key from another, so it would be use useful to be able to specify a prefix or suffix to be used for all the keys being created, e.g., “image-“ for image keys, “website-“ for Web site keys, etc.
Cheers,
E.
-- Eliot Kimber http://contrext.com
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user