neos / metadata
Data types and interfaces to manage meta data for assets in Neos
Fund package maintenance!
shop.neos.io/neosfunding
Installs: 7 380
Dependents: 2
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 5
Open Issues: 0
Type:neos-package
Requires
- doctrine/collections: ^1.0
- neos/flow: ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || dev-master
- neos/media: ^3.0 || ^4.0 || ^5.0 || ^7.0 || ^8.0 || dev-master
README
Neos.MetaData Package
This package provides data types and interfaces to handle meta data for assets in Neos (or Flow).
Installation
Install using composer:
composer require neos/metadata
If you install a package that depends on this package, you should not need to require it manually, though. Some related packages are:
neos/metadata-extractor
: Provides CLI and realtime meta data extraction on assetsneos/metadata-contentrepositoryadapter
: Handles the mapping of meta data DTOs to the Neos Content Repository
Configuration
The provided asset meta data mapper is configured with Eel expressions to determine the source of
mapped data. Check the setup below Neos.MetaData.metaDataMapping
.
Usage
The package does not in itself change the way metadata is handled. Instead it provides ways for other packages to interact with meta data of assets.
Defined Meta Data Mappers
- AssetModelMetaDataMapper: Maps meta data to
Asset
models fromneos/media
. Supported are title,
caption, copyright notice (onneos/media
4.2 and up), tags and collections (see configuration above).
Defined Data Transfer Objects
- Asset: The asset DTO provides basic data about the asset, like original file name.
- IPTC: Image meta data, title and description of the photograph and the author. For further specifications see https://www.iptc.org/std/photometadata/specification/IPTC-PhotoMetadata.
- EXIF: Exchangeable image file format for digital still cameras, the technical meta data of an image. For further specifications see http://www.cipa.jp/std/documents/e/DC-008-Translation-2016-E.pdf.