SearchEngineSitemap Example 1

This example adds item 2 and all its children to the output but excludes the items of the content types JS and CSS and item 2958 and all its children. Only items visible to the user guest are included in the output.

Smartsite SXML CopyCode image Copy Code
<se:searchenginesitemap hostheader="http://localhost/" username="guest">
    <se:parameters>
        <se:parameter name="urls">
            <se:includeitems channel="def" items="2" recurse="true" />
            <se:excludeitems contenttypes="js,css" />
            <se:excludeitems items="2958" recurse="true" />
        </se:parameter>
    </se:parameters>
</se:searchenginesitemap>