WoodWing Help Center

Setting up the default article for Content Station 9

Setting up the default article for Content Station 9

When a new article is created in Content Station for use in the default Multi-Channel Text Editor (which is the default text editor), various source files are referenced. These are used to determine the following aspects of the created article:

  • Which and how many article components the article should contain
  • Which and how many article components should be available to add at a later stage
  • Which styles should be available for formatting the text

Info: The following information applies to Content Station version 9.2.1 or higher and Enterprise Server 9.2.1 or higher.

Note: Since Enterprise 9.2.1, the method of setting up this default article has changed. Use the link below to view the functionality for versions older than Enterprise 9.2.1.

Source files

In Enterprise 9.2.1 and higher, the creation of a new article is based on the following source files:

  • One or more article templates in which the default article components and the styles for formatting the text are defined. Multiple article templates can be set up within a Brand, each with different components and/or styling. This way, individual templates can be set up for each Publication Channel.
  • A configuration file named componentDefs.xml in which the article components are defined that can optionally be added to the article after it has been created.

When the files are retrieved

When the user logs in to Content Station, the following is retrieved from Enterprise Server and cached in Content Station:

  • A list of article templates that the user has access to
  • The componentDefs.xml file

The required article template is retrieved from Enterprise Server at the moment when Content Station actually needs to create the article.

How Content Station determines which template to use

Setting up the article template

The article template determines the default article components and the styles for formatting the text. By assigning it to a Brand/Publication Channel/Category combination, it can be targeted to a specific form of output.

Step 1. Create the article template.

Note: This can only be done by using either InDesign or InCopy. Both have their advantages and disadvantages:

  • Geometry information and editing
  • When using InDesign, geometry information is stored with the article, describing where on the layout the article is placed and what the dimensions of the frame are. However, article templates that contain such geometry information cannot be edited, meaning that when the template needs to be modified, a new template needs to be created.
  • When using InCopy, no geometry information is stored with the article, so such articles can be easily edited at any time.
  • Number of components
  • When using InDesign, an unlimited number of article components can be created.
  • When using InCopy, the article will only contain one component.

Note though that if the article template is only going to be used in Content Station, the article template only needs to have one component. This is because the actual number of article components is controlled by the componentDefs.xml file. Article templates that are also going to be used in InDesign or InCopy are not controlled by this file and therefore need to be set up in the way they are going to be used. For an environment in which the article template is going to be used in InDesign, InCopy and Content Station, creating the template in InDesign is therefore the best method.

Steps for the InDesign workflow

Step 1a. Create a new layout.

Step 1b. Create one or more text frames and assign an appropriate Element label.

Step 1c. Define the required paragraph styles and character styles.

Step 1d. Save this article as an article template. Assign it to a specific Brand/Publication Channel/Category combination to target it for use to that particular output.

Step 1e. Repeat these steps to create as many article templates as needed.

Steps for the InCopy workflow

Step 1a. Create a new document in InCopy.

Step 1b. Create any paragraph styles and character styles as necessary.

Step 1c. Save this article as an article template. Assign it to a specific Brand/Publication Channel/Category combination to target it for use to that particular output.

Step 1d. Repeat these steps to create as many article templates as needed.

Setting up the componentDefs.xml file

The componentDefs.xml file defines which article components can be added to the article after it has been created.

The file can be configured to work across all Brands and/or to work across specific Brands.

Step 1. Access the componentDefs.xml file.

The article components are defined between the <components> </components> tags.

The following syntax is used:

<component name="name" allowmultipleinstances="true"/>

  • name is the name of the component. Make sure that it corresponds with the name of the components that are set up in other areas of Enterprise, such as in Smart Connection for InDesign and InCopy.
  • allowmultipleinstances defines if the component can be used more than once. Possible values: "true" and "false".

Note: When this value is set to "false", the component is removed from the Components list in Content Station as soon as the component is part of the article. This is the case when the component is already part of the article component, or when it is manually added by the user.

Example: You might want to use set this option to 'true' for graphic components while setting it to 'false' for the header component.

Step 2. Configure the required components as necessary.

Example:

<brands> 

<brand id="default"> 
   <components> 
      <component name="head" parastyle="head" allowmultipleinstances="false"/> 
      <component name="subhead" parastyle="subhead" allowmultipleinstances="false"/> 
      <component name="intro" parastyle="intro" allowmultipleinstances="false"/> 
      <component name="byline" parastyle="byline" allowmultipleinstances="true"/> 
      <component name="body" parastyle="body" allowmultipleinstances="true"/> 
      <component name="caption" parastyle="caption" allowmultipleinstances="true"/> 
      <component name="credit" parastyle="credit" allowmultipleinstances="true"/> 
      <component name="crosshead" parastyle="crosshead" allowmultipleinstances="true"/> 
      <component name="graphic" parastyle="graphic" allowmultipleinstances="true"/> 
      <component name="highlight" parastyle="highlight" allowmultipleinstances="true"/> 
   </components> 
</brand> 

</brands>

Configuration for all Brands versus configuration for specific Brands

The <components> </components> tags are themselves placed between the <brand> </brand> tags. These carry an ID by which you can define to which Brands the settings apply.

When only one Brand is defined, the ID is set to "default" and all settings are used across all Brands:

<brand id="default">

To make the settings specific to a Brand, we can replace "default" by the Brand ID:

<brand id="1">

We also have to add the following line of code to make sure that the default settings for the Brand are overridden:

<components usedefaults="false">

Note: When this line of code is not provided or is set to 'true', the settings for the default Brand are used.

Typically, you would have settings set up for a default Brand, plus additional settings for each specific Brand.

Example: Here, settings for a default Brand is set up and one additional group of settings for Brand with ID '1'.

<brands> 

<brand id="default"> 
   <components> 
      <component name="head" parastyle="head" allowmultipleinstances="false"/> 
      <component name="subhead" parastyle="subhead" allowmultipleinstances="false"/> 
      <component name="intro" parastyle="intro" allowmultipleinstances="false"/> 
      <component name="byline" parastyle="byline" allowmultipleinstances="true"/> 
      <component name="body" parastyle="body" allowmultipleinstances="true"/> 
      <component name="caption" parastyle="caption" allowmultipleinstances="true"/> 
      <component name="credit" parastyle="credit" allowmultipleinstances="true"/> 
      <component name="crosshead" parastyle="crosshead" allowmultipleinstances="true"/> 
      <component name="graphic" parastyle="graphic" allowmultipleinstances="true"/> 
   <component name="highlight" parastyle="highlight" allowmultipleinstances="true"/> 
</components> 
</brand> 

<brand id="1"> 
   <components usedefaults="false"> 
      <component name="head" parastyle="head_web" allowmultipleinstances="false"/> 
      <component name="subhead" parastyle="subhead_web" allowmultipleinstances="false"/> 
      <component name="intro" parastyle="intro_web" allowmultipleinstances="false"/> 
      <component name="byline" parastyle="byline_web" allowmultipleinstances="true"/> 
      <component name="body" parastyle="body_web" allowmultipleinstances="true"/> 
      <component name="caption" parastyle="caption_web" allowmultipleinstances="true"/> 
      <component name="credit" parastyle="credit_web" allowmultipleinstances="true"/> 
      <component name="crosshead" parastyle="crosshead_web" allowmultipleinstances="true"/> 
      <component name="graphic" parastyle="graphic_web" allowmultipleinstances="true"/> 
      <component name="highlight" parastyle="highlight_web" allowmultipleinstances="true"/> 
   </components> 
</brand> 

</brands> 
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.