You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Roland <ro...@les-imaginaires.fr> on 2000/05/02 11:43:03 UTC

File output with cocoon

Hi,
I'm rather new to cocoon and java so my question may be stupid.
Is it possible to output results of a cocoon process to a file. What I want
to do is a web interface for authors to modify the XML files on a site. This
means some users will be able to modify contents with their browser provided
they 've got the correct authentication.

Just tell me if it's pĂ´ssible and where to lok at to find a solution.

Thanks

        Roland Decaudin


Developer chez "les imaginaires"

Re: File output with cocoon

Posted by Paul Russell <Pa...@uea.ac.uk>.
On Tue, May 02, 2000 at 11:43:03AM +0200, Roland wrote:
> Hi,
> I'm rather new to cocoon and java so my question may be stupid.
> Is it possible to output results of a cocoon process to a file.

I'm not 100% sure on this (I'm a cocoon2 peep, rather than 1.x), but
I believe there's a widget for generating a single file at a time in
cocoon 1.x. Cocoon2 will have a full offline generation interface, with
a bit of luck (Pier? hows it going?! want a more up to date patch?! ;)

If you're aiming to trigger the regeneration from a webpage, you might
be able to do this from XSP, but I can't see the API docs because
apache's webserver appears to have died (um. slightly embarasingly).

I *think* Donald wrote the offline code in Cocoon 1.x, so hopefully he
can help more...


Paul

Re: File output with cocoon

Posted by adam moore <Ad...@nottingham.ac.uk>.
On Tue, 2 May 2000, Roland wrote:

> Hi,
> I'm rather new to cocoon and java so my question may be stupid.
It's not, but don't let that worry you - or any other newbies/lurkers *8-)
> Is it possible to output results of a cocoon process to a file. What I want
> to do is a web interface for authors to modify the XML files on a site. This
> means some users will be able to modify contents with their browser provided
> they 've got the correct authentication.
> 
This has sparked a thought about something I've been thinking about for a
while - a web based xml authoring system, running through Cocoon - anyone
got any ideas - holometabolous people, anyone?

We could call it SPIN  (Sorry can't resist the tagline - ' SPIN the web
using Cocoon!! ' *8-)

Dr Adam Moore
adam.moore@nottingham.ac.uk
minbar@stayfree.co.uk
mobile: raist-bt@sms.genie.co.uk