You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Ross Gardler <rg...@apache.org> on 2004/09/09 12:55:31 UTC

Extending xmaps (was Re: project sitemap variables)

Ross Gardler wrote:

> David Crossley wrote:
> 
>>  Nicola Ken Barozzi wrote:
> 
> 
> <snip/>
> 
>> Also you raised an issue with Ross about exposing too
>> many access points with the sitemap mechanism.
> 
> 
> Really, I missed that, sorry, I'll go back into the archives and 
> respond/act if necessary.

I can't seem to find this in  the archives, but I expect it is to do 
with adding the skin extension system to linkmap.xmap and tabs.xmap. I 
did wonder about doing it the way I did, in fact last night I had the 
need to extend forrest.xmap as well and felt this was going a step too 
far and was the top of the slippery slope to adding all the xmap files 
as properties in cocoon.xconf.

In the end I realised that since the local sitemap.xmap extension is 
processed before all other matchers I could just put everything in the 
project sitemap.xmap file.

Would people be more comfortable with me doing this with the 
linkmap.xmap and tabs.xmap extensions as well? I'll make the changes if 
this is the general consensus.

Ross



Re: Extending xmaps (was Re: project sitemap variables)

Posted by Ross Gardler <rg...@apache.org>.
Nicola Ken Barozzi wrote:

> Ross Gardler wrote:
> ...
> 

<snip/>

>> In the end I realised that since the local sitemap.xmap extension is 
>> processed before all other matchers I could just put everything in the 
>> project sitemap.xmap file.
> 
> 
> Yup, this was my suggestion :-)

<snip/>

> If you cannot do this for some reason, I'd prefer that we can see 
> together what makes the single user sitemap system not up to snuff for 
> your needs.

Fair enough, I can't see any reason why it will not work, I'll try it now.

Ross

Re: Extending xmaps (was Re: project sitemap variables)

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Ross Gardler wrote:
...
> I can't seem to find this in  the archives, but I expect it is to do 
> with adding the skin extension system to linkmap.xmap and tabs.xmap. I 
> did wonder about doing it the way I did, in fact last night I had the 
> need to extend forrest.xmap as well and felt this was going a step too 
> far and was the top of the slippery slope to adding all the xmap files 
> as properties in cocoon.xconf.
> 
> In the end I realised that since the local sitemap.xmap extension is 
> processed before all other matchers I could just put everything in the 
> project sitemap.xmap file.

Yup, this was my suggestion :-)

I prefer to keep a single user sitemap, because this does not expose our 
internal structure to the user: the only contracts are expected 
filenames AFAIK.

If you cannot do this for some reason, I'd prefer that we can see 
together what makes the single user sitemap system not up to snuff for 
your needs.

> Would people be more comfortable with me doing this with the 
> linkmap.xmap and tabs.xmap extensions as well? I'll make the changes if 
> this is the general consensus.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------