Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Asset Meta Data Management With Neos CMS
Daniel Lienert
April 01, 2017
Technology
0
72
Asset Meta Data Management With Neos CMS
Extract EXIF / IPTC IIM Meta Data and map it to Content Repository Nodes.
Daniel Lienert
April 01, 2017
Tweet
Share
More Decks by Daniel Lienert
See All by Daniel Lienert
dlienert
0
43
dlienert
1
74
dlienert
0
8
dlienert
0
87
dlienert
0
700
Other Decks in Technology
See All in Technology
clustervr
0
170
sadayoshitada0919
1
580
con_mame
4
2k
fujiihda
8
1.2k
hololab
0
350
ocise
0
180
ozuma
0
130
clustervr
0
210
yosshi_
2
690
stakaya
14
8.5k
ufoo68
0
110
muras
0
120
Featured
See All Featured
notwaldorf
13
1.6k
sachag
446
36k
philhawksworth
190
17k
robhawkes
52
2.8k
keavy
106
14k
kastner
54
1.9k
edds
56
9.3k
ddemaree
274
31k
yeseniaperezcruz
302
31k
jeffersonlam
328
15k
cassininazir
347
20k
frogandcode
127
20k
Transcript
Asset Meta Data Management
None
None
Title: Neos team group photo Description: A group photo of
the news core team at the stage of the inspiring conference. Tags: Neos, Conference, Core Team, Inspiring Conference Author: Daniel Lienert Capture Date: 22.04.2016 Faces: Florian, Martin, Robert, Johannes, Daniel, Tobias, Christian, Sebastian, … Technical Details: Camera, ISO, Aperture, Lens, Make, Zoom, fNumber …
None
Neos.MetaData Neos.MetaData.ContentRepositoryAdapter Neos.MetaData.Extractor
Neos.MetaData.Extractor EXIF DTO IPTC DTO
Neos: MetaData: metaDataMapping: title: '${asset.Title || iptc.Title || exif.ImageDescription}' caption:
'${asset.Caption || iptc.Description}' tags: '${Array.concat(asset.tags, iptc.Keywords)}' Neos.MetaData
type: Neos\Media\Domain\Model\AssetInterface mapping: '${asset.assetObject}' 'Neos.MetaData:Exif': … properties: dateTime: type: DateTime
mapping: '${exif.DateTime}' ui: label: DateTime help: message: 'The date and time of image creation' Neos.MetaData.ContentRepositoryAdapter
prototype(Neos.NodeTypes:Image) { imageMetaDataNode = ${MetaData.find(q(node).property('image'))} imageTitle = ${q(this.imageMetaDataNode).property('title')} } Neos.MetaData.ContentRepositoryAdapter
Enrich Images wit MetaData
Query Assets Like Nodes mapData = Neos.Fusion:Collection { collection =
${q(assets).children('[instanceof Neos.MetaData:Image][gpsLatitude]').get()} }
None
Links • https://github.com/neos/metadata • https://github.com/neos/metadata-extractor • https://github.com/neos/metadata-contentrepositoryadapter