forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <>
Subject Re: explain sitemap matches and pass parameters to transformers
Date Wed, 26 Apr 2006 03:15:35 GMT
On Apr 25, 2006, at 8:09 PM, David Crossley wrote:
> There are explanations of this in our mail archives, e.g.
> I will spend some time to explain this again below
> to hopefully add this to a doc later.
> Also, when you need to find info like this try doing:
> cd $FORREST_HOME/webapp
> grep path *.xmap
> vi linkmap.xmap
> at around line 66 ...
> <map:match pattern="**linkmap-*">
>   <map:generate src="cocoon://abs-linkmap" />
>   <map:transform src="{lm:transform.linkmap.linkmap-relativized}">
>     <map:parameter name="path" value="{1}{2}" />
>     <map:parameter name="site-root" value="{conf:project-url}" />
>   </map:transform>
>   <map:serialize type="xml" />
> </map:match>

Thank you! Thank you! Thank you!

I just quickly perused your notes, and they make more sense than the  
hours I've spent on (if you could see me  
typing, you'd see that I am actually blue in the face...).

I'll flag this e-mail and read it again each time I feel like I'm  
losing my focus.

Thank you David!

p.s. thank you also for giving this 'thread' an intelligent title.

Web Maestro Clay

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet

View raw message