MOS Object Metadata Format Strings
Format String |
Data Element |
%ad |
The Duration for Automation (in timecode format) of a MOS Object |
%as |
The Start Time for Automation (in timecode format) of a MOS Object |
%ae |
The End Time for Automation (in timecode format) of a MOS Object |
%am |
Displays Automation Transition text string selected in LUCI. |
%cd |
Clip Duration of a clip object inserted into a Live Assist automation template. This is only displayed when used with a Live Assist automation template. |
%m |
The message number of the MOS Object |
%t |
The Filename of the Template which the MOS Object was created |
%s |
The exact Slug as entered by the user in the Slug input field in the LUCI |
%o |
The Object ID of the MOS Object |
%g |
The story Slug of the MOS Object |
%c |
Channel assignment of MOS Object |
%y |
Style assignment of PRIME MOS Object |
%u |
Pause Count (Lyric only) |
%% |
An explicit percent (%) character |
%0 |
The first text field's text data in the MOS Object content |
%1 |
The second text field's text data in the MOS Object content |
%2 |
The third text field's text data in the MOS Object content |
%3 |
The fourth text field's text data in the MOS Object content |
%4 |
The fifth text field's text data in the MOS Object content |
%5 |
The sixth text field's text data in the MOS Object content |
%6 |
The seventh text field's text data in the MOS Object content |
%7 |
The eighth text field's text data in the MOS Object content |
%8 |
The ninth text field's text data in the MOS Object content |
%9 |
The tenth text field's text data in the MOS Object content |
%* |
Same as "%0 %1 %2 %3 %4 %5 %6 %7 %8 %9" |
%( ### %.) |
Repetitively emits the text content in between the opening and closing parentheses, once for each piece of text data in the MOS Object content, where the current iterative text data replaces the "%". For example, if the MOS Object's text data are as follows: Transit Strike Monday, November 24, 2003 City Hall
Then the resulting text is as follows: ### Transit Strike ### Monday, November 24, 2003 ### City Hall |
%. |
Used in conjunction with %(). See %( ### %.) above
|
%(%.)(15) |
Similar to the above %(), but places a maximum iterative limit. In this example, the iterated text cannot exceed fifteen, even if there are sixteen or more pieces of text data in the MOS Object. |
%{relative xpath notation} |
The text content of the Running Order's MOS XML's <roCreate> tree's XML element specified by the relative xpath notation. The xpath notation is relative to the <item> element of the element tree. For example, to display the Story Number associated with the MOS Object item, the xpath notation would be: ../storyNum |
Alternately, you can use a special XML formatting string designed to display all text, image, and video fields.
Syntax: %( | %.)<text><image><video><filename>
- %( I %.) - This iterates through the following list of elements using pipe | as a separator. Any separator string can be used.
- <text> - content of all replaceable text fields
- <image> - title or filename of all replaceable image fields
- <video> - title or filename of all replaceable video fields
- <filename> - displays the filename of the image or video asset.
- <title> - displays the title of the image or video asset
‘Filename’ of the asset does not include the folder path, but does include the extension.
‘Title’ of the asset is defined in Asset Manager and defaults to the filename without the extension.
Examples |
%(/%.)<text> - displays the test content of all replaceable text fields separated by a forward slash ‘/’ %(|%.)<text><images><title> - displays the text content of all replaceable text fields and the title of all replaceable image fields separated by a pipe ‘|’ %(|%.)<text><images><filename> - displays the text content of all replaceable text fields and the filename of all replaceable image fields separated by a hash sign ‘#’ |