The document can be activated or deactivated for specific channels. This is done using the <channels>
element in the <fields>
element:
<?xml version="1.0" encoding="UTF-8"?>
<document nodeType="sophora-content-nt:imageobject"
xmlns="http://www.sophoracms.com/import/5.0">
[...]
<fields>
[...]
<channels>
<enabledChannels remove="true">
<channel>mediathek</channel>
<channel startDate="2012-09-07T09:37:53.716+02:00" endDate="2012-10-07T09:37:53.716+02:00">teletext</channel>
</enabledChannels>
<disabledChannels remove="true">
<channel>rss</channel>
</disabledChannels>
</channels>
[...]
</fields>
</document>
The <enabledChannels>
element contains zero or more <channel>
elements. Each <channel>
element specifies the name of a channel which the document should be activated for.
The optional remove
attribute of the <enabledChannels>
element can be used to reset existing channels.
The optional startDate
and endDate
attributes of the <channel>
element can be used to enable the channel during that time only.
The <disabledChannels>
element contains zero or more <channel>
elements. Each <channel>
element specifies the name of a channel which the document should be deactivated for.
The optional remove
attribute of the <disabledChannels>
element can be used to reset existing channels.