Meta Data
This document is about how to set up XMP Meta Data for an IDML document.
Table of contents
First steps
The MetaData object can hold some copyright information. To be part of the IDML document, it needs to be added to the content object.
<?php
use IDML\Content;
use IDML\Content\MetaData;
$content = new Content();
$metaData = new MetaData();
$metaData
->setCopyright('Made by Bit&Black')
->setCopyrightURL('https://www.bitandblack.com')
;
$content->setMetaData($metaData);
Since IDML-Creator version 4.0
, you can use the Factory to create and register the MetaData:
$metaData = $factory->createMetaData();