Skip to content

MultiComponent

Jens Kooij edited this page Mar 25, 2018 · 3 revisions

MultiComponent

Overview

This component is meant for combining multiple components in one sitemap item.

Sitemap Compatible Application Compatible Parameters
true true, but not advised self:cachable, self:maxage, namespaced parameters

Parameters

self:cachable

[Optional]

Equal to parent component CachableBaseComponent's parameter cachable.

self:maxage

[Optional]

Equal to parent component CachableBaseComponent's parameter cachable.

namespace

[Optional]

This is a special kind of parameter, because you can self define it. For example you can add a parameter contact with value DocumentComponent, to retrieve the contact document

namespace:parameter

[Optional]

The parameters for a namespace, will be passed to the component that is defined in a name space parameter, like the example above. Following that example, you could add a parameter contact:document and set it to my-contact-document-slug

Example sitemap item

Title URL Regex Component Template Parameters
Title / false MultiComponent my-template contact: "DocumentComponent"
contact:document: "my-contact-document-slug"

Parent

CachableBaseComponent

Clone this wiki locally