<Placeholders>

The <Placeholders> option is used to perform global replacement. By default, placeholders overwrite any previously defined placeholders with the same name. If you want to append an existing placeholder, use the <PlaceholderAppend> property. Once a placeholder has been defined, all occurances of that placeholder in any configuration property or page content will be replaced authomatically.

Example

<Placeholders>
  <Placeholder>       <Name> $SERVER$         </Name> <Content> /home/site/dbs                </Content> </Placeholder>
  <Placeholder>       <Name> $DOMAIN$         </Name> <Content> https://domain.com/site/      </Content> </Placeholder>
  
  <Placeholder>       <Name> $KEYWORD$        </Name> <Content> Blog                          </Content> </Placeholder>
  <PlaceholderAppend> <Name> $KEYWORD$        </Name> <Content> , Website                     </Content> </PlaceholderAppend>
</Placeholders>

Options

<Placeholder>
This tag indicates the start of new placeholder.
<Name>
[ ]
This is the name of the placeholder.
<Content>
[ ]
This is the content to substitute for the placeholder.
<PlaceholderAppend>
This tag indicates the start of an existing placeholder.
<Name>
[ ]
This is the name of the placeholder. If the placeholder does not already exist, a new one will be created.
<Content>
[ ]
This is the content to append to a placeholder.
Comments