forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Passing skinconf params to skins/name/** files
Date Sun, 28 Dec 2003 05:03:16 GMT
On Sat, Dec 27, 2003 at 11:11:13PM +0100, Nicola Ken Barozzi wrote:
...
> Thus our page will be made of:
> 
>  current:
>  - menu
>  - tabs
>  - page
> 
>  new:
>  - skinconf
>  - metadata (eventual and future)
> 
> This makes it easy to get values from the skinconf. To keep 
> compatibility we can simply add a final transformation that removes all 
> skinconf tags in the output.
> 
> In this way we get a fully cacheable output, and also a cached skinconf.
> 
> For CSS or JS, we can simply use skinconf as the source of the file, and 
> have the result created with an xsl:
> 
>  /css/mycss.xslt
> 
> where mycss.xslt transforms skinconf.xml to create mycss.css.
> 
> What do you think?

+1

--Jeff

> I will be now adding this support for the CSS as I need it to start 
> coloring the skins. In the meantime let's decide if it's ok also to add 
> this to the main aggregation.
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 

Mime
View raw message