Enter the Output Channel's name and a brief description. With the "URI Prefix" and "URI Suffix" fields, you can tell the output channel to associate a prefix directory or postfix directory to the URI of all resources (stories and media) in the output channel. This feature is useful if you're keeping different kinds of content on one delivery server. Enter the file name and extension for the stories files created in this output channel in the "File Name" and "File Extension" fields.
The URI Format properties determine how the URIs of stories and media will
be created in this output channel. In the "URI Format" and
"Fixed URI Format" fields, enter the tokens that represent the
various parts out of which the URI should be made. Tokens must be
separated by /
; like a URI. The currently available tokens are:
%{categories}
The category path.
%{slug}
The slug, applies to stories only.
%Y
The cover date year.
%m
The cover date month
%d
The cover date day.
The document UUID.
The base64-encoded document UUID.
The hex representation of the document UUID.
For example, a story in the category /stories
, whose slug
is hello
, with a cover date of Feb. 27, 2002 and URI
Format /%{categories}/%Y/%m/%d/%{slug}/
would have the
URI /stories/2002/02/27/hello/
. Any other DateTime-supported
strftime
format can be used for other parts of the cover
date, as well. See the DateTime documentation for the
complete list.
The "URI Case" select list forces URIs in this output channel to be formatted in a particular case, either "Mixed Case" (the default), "Lowercase", or "Uppercase".
The "Use Slug for Filename" field indicates that the names of the story files created in this output channel should use the slug when possible. This means that non-fixed stories will use the slug to name the file, if it's available. Fixed stories will instead use the name specified in the Filename field, while media will use the name of the media file itself.
Click Next for the second page of the Profile.
When finished, click Save.