You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Cyriaque Dupoirieux <Cy...@pcotech.fr> on 2006/07/21 17:02:57 UTC

[Cocoon commiters question]

Hi,

    Forrest site says : " All Apache Cocoon committers and Apache Lenya 
committers also have rights to commit to Forrest."
    Do all forrest commiters also have the rights to commit to cocoon or 
lenya ?
    I would like to add a feature to the serializers - configured at run 
time by accepting parameters :
    <map:serializers default="xml">
      <map:serializer logger="sitemap.serializer.xhtml" 
mime-type="text/html"
        name="xhtml" pool-grow="2" pool-max="64" pool-min="2"
        src="org.apache.cocoon.serialization.XMLSerializer">
        <map:parameter name="doctype-public" 
value="{project:dispatcher.doctype-public}"/>
        <map:parameter name="doctype-system" 
value="{project:dispatcher.doctype-system}"/>
        <encoding>UTF-8</encoding>
        <indent>yes</indent>
        <omit-xml-declaration>no</omit-xml-declaration>
      </map:serializer>

    where each project can define the dispatcher.doctype-public 
="-//W3C//DTD XHTML 1.0 Transitional//EN" for instance.

    The SVGSerializer accepts parameters :
      <map:serializer mime-type="image/png" name="svg2png"
        src="org.apache.cocoon.serialization.SVGSerializer">
        <!--<parameter name="background_color" type="color" 
value="#ff00ff"/>-->
        <!-- <parameter name="gamma" type="float" value="0.48"/> -->
        <parameter name="gamma" type="float" value="0" />
      </map:serializer>

    I have read several mail on this topic in the cocoon mail archive 
but it seams that it has never be completed (neither started I think...)

-- 
Salutations,
Cyriaque,

Re: [Cocoon commiters question]

Posted by Thorsten Scherler <th...@apache.org>.
El vie, 21-07-2006 a las 17:02 +0200, Cyriaque Dupoirieux escribió:
> Hi,
> 
>     Forrest site says : " All Apache Cocoon committers and Apache Lenya 
> committers also have rights to commit to Forrest."
>     Do all forrest commiters also have the rights to commit to cocoon or 
> lenya ?

Yes, but ...

>     I would like to add a feature to the serializers - configured at run 
> time by accepting parameters :

since this is a modification you would best make a proposal at cocoon
and hint that if no one objects you *yourself* are going to commit it.

Best is to send a *small* diff first.

good luck

salu2

>     <map:serializers default="xml">
>       <map:serializer logger="sitemap.serializer.xhtml" 
> mime-type="text/html"
>         name="xhtml" pool-grow="2" pool-max="64" pool-min="2"
>         src="org.apache.cocoon.serialization.XMLSerializer">
>         <map:parameter name="doctype-public" 
> value="{project:dispatcher.doctype-public}"/>
>         <map:parameter name="doctype-system" 
> value="{project:dispatcher.doctype-system}"/>
>         <encoding>UTF-8</encoding>
>         <indent>yes</indent>
>         <omit-xml-declaration>no</omit-xml-declaration>
>       </map:serializer>
> 
>     where each project can define the dispatcher.doctype-public 
> ="-//W3C//DTD XHTML 1.0 Transitional//EN" for instance.
> 
>     The SVGSerializer accepts parameters :
>       <map:serializer mime-type="image/png" name="svg2png"
>         src="org.apache.cocoon.serialization.SVGSerializer">
>         <!--<parameter name="background_color" type="color" 
> value="#ff00ff"/>-->
>         <!-- <parameter name="gamma" type="float" value="0.48"/> -->
>         <parameter name="gamma" type="float" value="0" />
>       </map:serializer>
> 
>     I have read several mail on this topic in the cocoon mail archive 
> but it seams that it has never be completed (neither started I think...)
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)