Release 1.0 - Release 1.1
<publications> element
Note: This element is deprecated as of Smartsite iXperion 1.2 and has been replace by the <channels /> element.
Contains the defined publication channels on a given machine.
If a defaulttype attribute is mentioned, channels added to the CMS will automatically be loaded using the specified type, unless a publication entry for the channel is specified with a differing type or the publication entry has enabled set to false.
You can thus make sure added channels will automatically be available in the Publication Server, whilst having full control over what channels will be available to any machine serving the site. For instance, if a given machine should not publish intranet pages, you can add an entry specifying this:
XML |
Copy Code
|
<publication id="int" enabled="false" />
|
Example
XML |
Copy Code
|
<publications defaulttype="Smartsite.Publication.WebBrowserChannel,Smartsite.Publication">
<publication id="def" default="true" enabled="true" />
<publication id="int" enabled="false" />
<publication id="aim" type="Smartsite.Publication.AIMChannel,Smartsite.Publication" enabled="true" />
<publication id="raw" type="Smartsite.Publication.RawChannel,Smartsite.Publication" enabled="true" />
</publications>
|
Attributes
Attribute name |
Required |
Description |
defaulttype |
No |
Sets the default type to use for publications.
If a defaulttype attribute is mentioned in the publications element, added channels in the database will automatically be loaded using the specified type, unless a publication entry for the channel is specified with a differing type or the publication entry has enabled set to false. |
Parent element
Element name |
Description |
<runtime> |
Contains settings for the Smartsite runtime. |
Child elements
Element name |
Description |
<publication> |
Defines a publication channel in Smartsite. |