Creating InDesign templates for automatic preproduction requires background knowledge of how InDesign Server works and how it interacts with Multichannel Publishing, depending on the complexity and desired level of automation.
To create a layout template, you can create a new layout file in your local InDesign. What and how much content you can automatically place in the layout depends on the number of text and image frames and the tags assigned to them. : new window
The tags on frames and the tag markers in text sections define what content is placed where. The tags and structure of the XML to be used in InDesign are explained in the next chapter.
The InDesign file should also contain any character and paragraph styles you want to apply to the content or set automatically via the mapping.json file.
To make the structure available to you for tagging the frames and placeholders in the layout template, you can copy the indesign_structure.xml into a text editor as attached below and save it as an XML file. Via the InDesign structure view, the option "Import XML" is available, which you use to transfer the basic structure into your document.
indesign_structure.xml |
---|
<Xpublisher> <settings> <templates></templates> </settings> <metadata></metadata> <xmls> <xml> <metadata></metadata> <content></content> </xml> </xmls> <words> <word></word> </words> <images> <xpubimagedata></xpubimagedata> </images> </Xpublisher> |
Now you have the tags available which you can assign to the frames and tag marks as follows.