Hi Lenya devs,

in a custom publication I'm facing the situation that I have to override single pipelines from the default publication sitemap. Since the pipelines are called using cocoon:/ (with a single slash), I can't use the common pattern of mounting the default publication sitemap at the end of my custom sitemap.

I think a quite convenient solution would be to mount a custom sitemap at the beginning of the default publication sitemap:

    <map:pipeline>
      <map:select type="resource-exists">
        <map:when test="{fallback:custom.xmap}">
          <map:mount src="{fallback:custom.xmap}" pass-through="true"/>
        </map:when>
      </map:select>
    </map:pipeline>

Maybe we can provide something like this in 2.0.1.

WDYT?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to