Skip to content

Conversation

zisoft
Copy link
Contributor

@zisoft zisoft commented Aug 2, 2025

darktable-org/darktable#18980

The full Xmp tag name is needed as the variable name to avoid ambiguity.

@pehar1
Copy link

pehar1 commented Aug 6, 2025

In variables.md at least

$(TITLE)                   title from metadata
$(DESCRIPTION)             description from metadata
$(CREATOR)                 creator from metadata
$(PUBLISHER)               publisher from metadata
$(RIGHTS)                  rights from metadata

should also be modified :

$(Xmp.dc.title)                   title from metadata
$(Xmp.dc.description)             description from metadata
$(Xmp.dc.creator)                 creator from metadata
$(Xmp.dc.publisher)               publisher from metadata
$(Xmp.dc.rights)                  rights from metadata

@zisoft zisoft force-pushed the metadata-tag-variables branch from 9cb1574 to 37c71f7 Compare August 6, 2025 09:21
All tags in this module are available for display in the [image information](./image-information.md) module, updating in the [import](../lighttable/import.md) module and filtering in the [collections](./collections.md) module.

The field values can be used in [variable substitution](../../../special-topics/variables.md) using the last part of the associated tag name as the variable name. For example, the xmp tag `Xmp.iptc.location` is available as the variable `$(LOCATION)`.
The field values can be used in [variable substitution](../../../special-topics/variables.md) using the full case sensitive Xmp tag name as the variable name, i.e. `Xmp.iptc.location`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "e.g." rather than "i.e." but I'll fix it up post-merge

@elstoc
Copy link
Contributor

elstoc commented Aug 25, 2025

Thanks!

@elstoc elstoc merged commit a27fed6 into darktable-org:master Aug 25, 2025
1 check passed
@zisoft zisoft deleted the metadata-tag-variables branch August 25, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants