cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2]: Problems with content aggregation and redirects
Date Mon, 25 Jun 2001 06:15:57 GMT
> Giacomo Pati wrote:
> 
> 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="http://www.moreover.com/cgi-local/page?o=xml&amp;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="..."/>
> 
> Giacomo
> 
> > 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.
> 
Probably not. But I hope it will! My idea for implementing the cocoon:
url is far different from the approach used by the CA, so I think
it is possible as the redirect could be resolved directly by the cocoon
url factory. That's the main idea. If it will work - well, we will see.

Carsten

> Giacomo
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message