That's awesome! One question though, it seems like all that needs to be done is add this line
APE.Config.transport = 2; so I now have this as my config file: // /*** * APE JSF Setup */ APE.Config.baseUrl = 'http://mydomain.com'; APE.Config.domain = 'mydomain.com'; APE.Config.server = 'ape.mydomain.com:6969'; APE.Config.transport = 2; (function(){ for (var i = 0; i < arguments.length; i++) APE.Config.scripts.push(APE.Config.baseUrl + '/Source/' + arguments[i] + '.js'); })('mootools-core', 'Core/APE', 'Core/Events', 'Core/Core', 'Pipe/ Pipe', 'Pipe/PipeProxy', 'Pipe/PipeMulti', 'Pipe/PipeSingle', 'Request/ Request','Request/Request.Stack', 'Request/Request.CycledStack', 'Transport/Transport.longPolling','Transport/Transport.SSE', 'Transport/Transport.XHRStreaming', 'Transport/Transport.JSONP', 'Core/ Utility', 'Core/JSON'); // which definitely allows all the scripts to be downloaded, but there's no attempt made to connect to the ape server (ie. no post being made to xxx.ape.mydomain.com) am I missing something? Thanks for the quick reply! On Mar 4, 8:20 pm, Anthony Catel <[email protected]> wrote: > Hey, > > Yes it's indeed possible using JSONP > :http://www.ape-project.org/wiki/index.php/Tutorial:Use_different_tran... > JSONP enable cross domain. > > Le 05/03/2011 02:55, Ecrofom a crit : > > > > > > > > > I have an APE server running perfectly (You guys have done a fine job! > > Congrats!) and I'd like to make the little app I made embeddable onto > > other sites. My question is, if I have APE running on a server... is > > it possible for another site to simply connect to my server and have > > my server push data to it like it normally does to my own server. > > > In other words, imagine the chat demo that comes with APE. It is > > possible to get that demo running on multiple sites via 1 central APE > > server (no other servers have APE except this 1) that receives and > > pushes data. > > > Thanks! -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
