Hi everyone,

I've uploaded a simple chat application based on erlycomet and dojo to github:
http://github.com/davide/erlycomet/tree/master
http://github.com/davide/erlycomet_demo/tree/master
The code is not the best, but it works on yaws perfectly (using the long-polling transport) and it's quite snappy.

I'm not thinking about updating that code much more (it seems we'll soon have a new erlycomet version: http://www.rsaccon.com/2008/06/erlang-exchange-2008.html).
But if I do, it will be something like stripping the built-in Bayeux pub-sub and replacing it with some AMQP bindings.
If anyone's interested in something like that or knows of existing similar projects please drop me a mail.

Cheers,
Davide :)

On Thu, Jan 22, 2009 at 9:42 PM, Davide Marquês <nesrait@gmail.com> wrote:
Thanks for trusting! :)
Hope I didn't screw up... but if I did I'll gladly take another whack at it. ;)

Davide


On Thu, Jan 22, 2009 at 8:39 PM, Claes Wikstrom <klacke@tail-f.com> wrote:
Davide Marquês wrote:
Hi all!

Here are some contributions (based on the fresh yaws-1.79) to enable:

   * compilation on windows using cygwin (when erlang is installed in
     Program Files).
     I applied the needed changes to configure (and repeated them on
     configure.in <http://configure.in> - so producing configure again

     should work - never used autoconf so I'm not sure).
     I also did an install on a ubuntu box and the compilation went ok;
   * a stream_content_with_timeout "return value" to support comet
     applications (like this guy did
     <http://www.trapexit.org/forum/viewtopic.php?t=7438&sid=1edaee008a16bde23b6bcf83a4eb765d>

     a while ago)
     Checked this using erlycomet (extended to also work with yaws) and
     it's working ok. I'll be sharing these changes to erlycomet on
     github when I get them to work with the latest cometd
     <http://cometdproject.dojotoolkit.org/> examples.



Thanks a bunch,

The streamcontent patch is great, as for the cygwin patch - I'll just
have to trust you. It looked good though.


Both applied to trunk

/klacke