desk-mapping
The desk-mapping
section of a
cue-print
processor determines which
CUE Print
newsroom, product and desk/subdesk a content item is sent to, based
on its
Content Store
home section.
desk-mapping: - newsrooms: tomorrow-today: Tomorrow living-tomorrow: Living products: tomorrow-today: TT living-tomorrow: Living desks: ece_frontpage: desk: Home layout: Frontpage news: desk: News layout: News politics: desk: News subdesk: Politics layout: News
The desk-mapping
section contains an array, each
element of which contains the following entries:
newsrooms
(required)-
One or more mappings from Content Store publication names (specified as YAML keys) to CUE Print newsroom names (specified as values). In the example shown above, all content items belonging to the Content Store
tomorrow-today
publication will be directed to the CUE PrintTomorrow
newsroom, and all content items belonging to the Content Storeliving-tomorrow
publication will be directed to the CUE PrintLiving
newsroom. content
(required)-
One or more mappings from Content Store publication names (specified as YAML keys) to CUE Print product names (specified as values). In the example shown above, all content items belonging to the Content Store
tomorrow-today
publication will be directed to the CUE PrintTT
product, and all content items belonging to the Content Storeliving-tomorrow
publication will be directed to the CUE PrintLiving
product. desks
(required)-
One or more mappings from Content Store section unique names to CUE Print
desk
names,layout
names and optionallysubdesk
names. The mappings take advantage of standard Content Store section inheritance rules. The first entry in the above example defines a default mapping for all the sections in a Content Store publication. Content items that belong to the root section (ece_frontpage
) and all its subsections will be assigned to the CUE PrintHome
desk and given aFrontpage
layout. This mapping can, however, be overridden for specific subsections. In the above example such overrides have been created for thenews
andpolitics
sections.These override mappings are in turn inheritable and can also be overridden. Content items that belong to the
news
section and all its subsections will be assigned to the CUE PrintNews
desk and given aNews
layout. Content items that belong to thepolitics
section and all its subsections will be assigned to thePolitics
subdesk of theNews
desk and given aNews
layout in CUE Print.
If the desk mappings are the same for all publications, then the array may have only one entry (as in the example shown above). If, however different groups of publications require different mappings, then multiple entries will be needed.