Release 1.2 - ...
<channels> element
Defines specific properties for channels, usually host headers. The channel with code='*' is not an actual channel but contains properties that apply to all channels.
Example
XML |
Copy Code
|
<channels default="def" mergedatabasehostheaders="false">
<channel code="*">
<hostheaders>
<hostheader baseurl="http://localhost" browsestartpage="2" default="true" />
</hostheaders>
</channel>
<channel code="def">
<hostheaders>
<hostheader baseurl="www.mysite.com" default="true" />
</hostheaders>
</channel>
<channel code="nl">
<hostheaders useglobalhostheaders="false">
<hostheader baseurl="www.mysite.nl" default="true" />
<hostheader baseurl="www.mysite.be" browsestartpage="188" />
</hostheaders>
</channel>
<channel code="fr">
<hostheaders useglobalhostheaders="false">
<hostheader baseurl="www.mysite.nl" default="true" />
</hostheaders>
</channel>
<channel code="aim" type="Smartsite.Publication.AIMChannel,Smartsite.Publication" />
<channel code="arc" type="Smartsite.Publication.AIMChannel,Smartsite.Publication" />
<channel code="raw" type="Smartsite.Publication.RawChannel,Smartsite.Publication" />
</channels>
|
Attributes
Attribute name |
Required |
Description |
default |
Yes |
Contains the code of the default channel. |
mergedatabasehostheaders |
No |
When set to true, the host headers defined in the database channel items are also loaded. This should only be used for backwards compatibility. The default value is false. |
defaulttype |
No |
Sets the default type to use for all the channels.
If a defaulttype attribute is mentioned in the channels element, all channels will be loaded using the specified type, unless a channel is specified with a diffent type. |
Parent element
Element name |
Description |
<runtime> |
Contains settings for the Smartsite runtime. |
Child elements