Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-912

Improve support for custom asset metadata

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None
    • None

      Since MGNLDAM-411, one may implement a custom AssetMetadataDefinition. These implementations are bound to the AssetMetadataRegistry via @Multibinding.

      However, both JcrAsset and JcrAssetProvider limit their support to MagnoliaAssetMetadata and DublinCore, plain hard-coded.

      • AssetProviders should be able to configure which metadata they support (in similar way they can configure mediaTypes)
      • Assets may then implement #supports(AssetMetadata) according to their own media-type (for media-type-dependent metadata), and Assets app should respect those dynamically. Should return Optional<AssetMetadata> by now.

      Side note: Magnolia's DublinCore support effectively corresponds to the historic, limited and openly outdated DC Element Set 1.1 +/- a few arbitrary elements Tika 1.x judged universal enough.
      Nowadays, DCMI encourages adoption of the DCMI Metadata Terms spec instead, and Tika 2.x slightly improves the split of metadata classes (for parser's extraction), but still doesn't fully embrace DC Metadata Terms.

        Acceptance criteria

              Unassigned Unassigned
              mgeljic Mikaël Geljić
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Task DoD