lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From news <n...@gefra.biz>
Subject Re: questions about lenya
Date Fri, 11 Jun 2004 23:24:03 GMT
> If I understand correctly, once you have your document properly
> aggregated, what you now need to do is pass control to the pipeline
> that I referenced above.  This will add the lenya menu to your
> document.  Passing control to a pipeline is done with the "cocoon:/"
> protocol as follows:
>   <map:generate src="cocoon:/lenyabody-edit/...>
> See the default publication's publication-sitemap.xmap for an
> example.

sorry, i still don't get it ... maybe i missed a point somewhere.
lets say i put this lines inside the publication-sitemap:

  <map:match pattern="*/news/index.html">
    <map:serialize type="xml"/>
  <map:match pattern="*/newsoverview.xml">
    <map:aggregate element="lenya" label="aggregation">
      <map:part type="file" src="content/authoring/news.xml"
     <map:serialize type="xml"/>

the aggregation is just for testing purpose, this should later
dynamically created. at present it returns:

    <allnews xmns="http://steinbacher.at/xml/news">
        <titel>newstitle 1</titel>
        <date>newsdate 1</date>
	<newstext>newstext 1</newstext>

i tried also to transform the page this way:

<map:match pattern="*/news/index.html">
    <map:generate src="cocoon:/newsoverview.xml"/>
    <map:transform src="xslt/news2xhtml.xsl"/>
    <map:transform src="xslt/page2xhtml.xsl"/>
    <map:serialize type="html"/>

... without success :-)
can anyone give me a focus on the point that i missed?

and yet another problem encountered:
i need for one of my client-scripts a session-id ... what is the correct
way to get it?

thank you for being patient

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

View raw message