cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: Contentaggregation in subsitemaps
Date Fri, 17 Aug 2001 14:29:27 GMT
Thanks Vadim for fixing this.
I didn't test subsitemap-aggregation. Sorry for this!

Carsten

> Vadim Gritsenko wrote:
>
> This bug was created as part of recent refactoring;
> I hope I fixed it. At least, my sub-sitemap with aggreagtion works now.
> Please try latest CVS.
>
> Thanks,
> Vadim
>
> > -----Original Message-----
> > From: Mats Noren [mailto:mats@spectral.se]
> > Sent: Friday, August 17, 2001 7:10 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: Contentaggregation in subsitemaps
> >
> >
> > Hello,
> > I'm having problems using the sitemap contentaggregation within a
> > subsitemap.
> >
> > Here is my sample sitemap code (shamelessly stolen from the sample file)
> >
> > 	<map:pipelines>
> > 		<map:pipeline>
> > 			<!--map:pipeline-->
> > 			<map:match pattern="app/*">
> > 				<map:aggregate element="root">
> > 					<map:part
> > src="cocoon:/test/sidebar"/>
> > 					<map:part src="cocoon:/doc/{1}"/>
> > 				</map:aggregate>
> > 				<map:serialize/>
> > 			</map:match>
> > 			<map:handle-errors>
> > 				<map:transform
> > src="stylesheets/error2html.xsl"/>
> > 				<map:serialize status-code="500"/>
> > 			</map:handle-errors>
> > 		</map:pipeline>
> > 		<map:pipeline internal-only="true">
> > 			<map:match pattern="test/sidebar">
> > 				<map:generate src="menu/menu.xml"/>
> > 				<map:serialize/>
> > 			</map:match>
> > 			<map:match pattern="doc/*.html">
> > 				<map:generate src="pages/*.xml"/>
> > 				<map:serialize/>
> > 			</map:match>
> > 		</map:pipeline>
> > 	</map:pipelines>
> >
> > None of the resources are found. And by looking at the log I that C2 is
> > trying to lookup the files relative to the cocoon webapp catalog.
> > Isn't the src attribute in a generator relative to the current
> subsitemap?
> > What is the correct syntax in my case?
> > Should I use the context url in some form?
> >
> > Thanks in advance,
> > Mats
> >
> > ps.
> > I'm using C2.1-dev from 20010815 on resin2.0.0
> > ds.
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>


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


Mime
View raw message