Publication information

Build 1501 on 14/Nov/2017  This topic last edited on: 5/Sep/2011, at 12:27

You can specify for the documents being imported a section, zone, publication, publication date and edition number, importing:

  <root>

    <document id="doc001" name="my document" section="A" zone="North">

      <data mime="application/x-indesign">pallino.indd</data>

      <issue publication="Demo" date="2011-01-30" number="Default"/>

    </document>

  </root>

will create a document in the publication (or title - 'publicationRef' attribute) 'Demo', with a publication date January 30th, 2001, edition number 'Default', section 'A' and zone 'North'.

All these data is optional. The section, zone and edition number are set only if a publication is specified - if there is no publication they are ignored. The section, zone and edition number must exist in the specified publication.

The workflow automatically sets the publication and publication date of all the stories and images associated with a document to be the same of the document - e.g. importing

  <root>

 

    <document id="doc001" name="my document" section="A" zone="North">

      <data mime="application/x-indesign">pallino.indd</data>

      <issue publication="Demo" date="2011-01-30" number="Default"/>

      <stories>

        <ref idRef="story257"/>

      </stories>

    </document>

 

    <story id="story257">

      <data mime="text/plain">Stories/257.txt</data>

    </story>

 

  </root>

will create a document and a story both referencing publication (or title) 'Demo' and with a publication date January 30th, 2011.

See also

XML content