On 6/29/05, Gregor J. Rothfuss <[EMAIL PROTECTED]> wrote:
> Ville Takanen wrote:
> > Does anyone know an easy way to insert external data to Lenya powered
> > site, as part of the "static layout"?
> >
> > What I am trying to accomplish is somewhat similar to xinclude or  using
> > <xsl:copy-of select="document('http://the.url')/html/body" />
> >  in the page2xhtml.xsl  (of which neither seems to work).
> 
> look up map:aggregate and the http proxy generator:
> http://cocoon.apache.org/2.1/userdocs/generators/wsproxy-generator.html

Ville,
There is an example using aggregate and http protocol at:
http://lenya.apache.org/1_2_x/how-to/external_data.html

Gregor,
This does not impact my current project, but the documentation looks
more like a sales pitch than a How-To.

What is the difference between the wsproxy generator and the standard
generator using src="http://...";?  Both get XML from another server.
- Does the wsproxy have better ssl support?  
- Wsproxy will pass the user credentials if required; is there a
translation, or does the external website login need to match Lenya's?
 "If the remote site requires authentication, then the developer of
the local web site has to pass the user credentials as parameters to
the WebServiceProxyGenerator."  That does not specify how the
parameters can be passed; something like the doctype lookup might be
nice:
<part src="myWsproxyPipeline?{page-envelope:myRemoteServerLoginLookup}">

Wsproxy seems useful if it can be made easy to use.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to