cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <>
Subject Re: [C2]: Problems with content aggregation and redirects
Date Fri, 22 Jun 2001 18:31:02 GMT
On Fri, 22 Jun 2001, Carsten Ziegeler wrote:

> Hi,
> I just played a little bit with the sitemap content aggregation.
> Unfortunately it is not possible to aggregate parts which are
> redirected.
> If you, e.g. change the sample sitemap to the following:
>    <!-- redirect this to redirected.xml -->
>    <map:match pattern="moreover/moreover.xml">
> 	<map:redirect-to uri="moreover/redirected.xml"/>
>    </map:match>
>    <map:match pattern="moreover/redirected.xml">
>     <map:generate
> src=";c=Developer%20news"/>
>     <map:transform src="stylesheets/news/moreover.xsl"/>
>     <map:serialize/>
>    </map:match>
> The CA example doesn't work as the aggregated part (moreover/moreover.xml)
> has no EventPipeline (it's a redirect).

Well, sure this can't work because the <map:redirect uri="..."/> is
issuing a real HTTP redirect to the browser a thus has no pipeline. I
guess this only thing working is a <map:redirect resource="..."/>


> I think we should fix this. The easiest solution for this would be to make
> the cocoon: url work and use them from inside the ContentAggregator as well.

I don't think this is working either.


To unsubscribe, e-mail:
For additional commands, email:

View raw message