cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: continuously Pushing XML
Date Mon, 07 Apr 2003 17:18:54 GMT
Another option is pushlets: http://www.pushlets.com/

At 12:37 PM 4/7/2003, you wrote:
>On 7 Apr 2003 at 17:52, Johann Romefort wrote:
> > Hi,
> >
> > I was wondering if anyone get an idea about how to push XML from
> > cocoon to a client listening. So instead of having
> >
> >     request ---> cocoon ----> response
> >
> > I would like to have something like
> >
> >     request ---> cocoon ----> response
> >                                    ----> response
> >                                    ----> response
> >
> > where all the responses can be sent without having the client to pull
> > for them. Any clue on how to do this?
>
>I have a somewhat similar need, where the result of a pipeline is pushed 
>whenever a
>file is placed into a specific directory.
>
>You could do this using the existing command line interface to generate a 
>file which
>you can then push somewhere.
>
>However, the 2.0.4 CLI is quite hard to use in this way. (It generates all 
>pages three
>times, and there is no programmatic interface to it other than the Main 
>class).
>
>I have extended the Cocoon 2.1 CLI to make this sort of usage easier. 
>There's now a
>bean that you can access programmatically to request the generation of a page.
>
>It can (probably temperamentally) send pages by FTP, but I want to completely
>rework the way that it does that. When done, you'll be able to send by 
>FTP, webdav,
>cvs, basically anything for which a 'ModifiableSource' exists.
>
>You'd still need to write a basic application to trigger the page 
>generation and
>dispatch process, e.g. trigger page generation every 15 seconds or 
>something like
>that.
>
>I expect to make slow progress on this, because of limited time, but I'll 
>get there,
>eventually.
>
>Hope this helps...
>
>Regards, Upayavira
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


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


Mime
View raw message