lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Minimal sitemap for pub
Date Tue, 14 Jul 2009 12:00:27 GMT
On Tue, 2009-07-14 at 11:56 +0200, Thorsten Scherler wrote:
> Hi all,
> I have a pub where I till now only added all functionality via modules
> and fallback implementation, meaning till now I do not have a sitemap in
> my pub since I extent from the default pub.
> Now I need to use the sitetree Module and with it I need to implement
> the match <map:match pattern="lenyabody-raw-*/*/*/*/*/*/**"/> to create
> my own aggregate of the site. Till now that is the only link that I
> need. 
> However when I create a sitemap with only this link the pub fails since
> it is loosing the template sitemap. 
> I read in
> http://lenya.apache.org/docu20/reference/publications/publication-templating.html:
> "...
> If a sitemap is loaded from a template publication, it is very important
> that the sitemap is completely fallback-enabled. Otherwise, the source
> resolver will resolve sources relatively to the template sitemap instead
> of using the overridden ones. 
> ...
> <!-- Enter the actual publication -->
> <map:match pattern="*/**">
>   <map:mount uri-prefix="{1}" src="{fallback:sitemap.xmap}"/>
> </map:match>"
> However implementing the above snippet actually does not bring back the matches of the
"extended" template sitemap. 
> What did I miss?

I found as further background:

Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la InformaciĆ³n, S.A.U. (SADESI)

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

View raw message