Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

co-browsing?

 [1/7] from: greggirwin:mindspring at: 30-Jul-2003 11:55


Hi All, I had someone ask me about doing co-browsing with REBOL (i.e. teleconferences where one person can lead several participants through web sites). Has anyone tackled this, or the web-gurus out there have any thoughts about how you might approach it? Thanks! --Gregg

 [2/7] from: maximo::meteorstudios::com at: 30-Jul-2003 14:04


just setup a port on each system which listens for url strings. each time a connections appears do a browse/only on the sent url, and each client will have that page open. the server just has to send a message to each client telling them what pages to open. The only real obstacle is to use the web pages data to get the arbitrary links on the pages themselves (gets worse if you are viewing site which use javascript of php like stuff). If you already know the pages you want to share, then the server could just have a little view box with 20 fields, each filled with a url path to the page you want to view, and a little button besides it which sends the messages as told. sorry if I can't support the example with code, as I am at work... (and must work ;-) HTH -max ----------- meteor Studios, T.D. ----------- Never Argue with an idiot. They will bring you down to their level and beat you with experience

 [3/7] from: greggirwin:mindspring at: 30-Jul-2003 12:33


Thanks Max, browse/only may open a new window for each request though, which would be bad. I need to find out more about how they want it to work. The more REBOL can be in control of the process the easier it will be. -- Gregg

 [4/7] from: maximo:meteorstudios at: 30-Jul-2003 14:38


you could also put a rebol proxy in between them and the server. whenever they ask a page, it redirects them to a url that you just copy/paste in the proxy server... you open a reply port and just dump to it whatever you read from the server's current url link, each time a client requests a connection. that's quick and easy, and much more flexible... !!! -max ----------- meteor Studios, T.D. ----------- Never Argue with an idiot. They will bring you down to their level and beat you with experience

 [5/7] from: maximo:meteorstudios at: 30-Jul-2003 14:43


you can also do it as a cgi script which prints out the content of another page. incidently, the url to that page is a one line file stored somewhere the cgi script can get to it. all your "server" needs to do is change the url in that path, and everytime the clients want to see the current page, they just press update in their browser which points to the cgi script. I think this is the simplest method. -max ----------- meteor Studios, T.D. ----------- Never Argue with an idiot. They will bring you down to their level and beat you with experience

 [6/7] from: robert:muench:robertmuench at: 31-Jul-2003 17:43


> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
<<quoted lines omitted: 4>>
> you could also put a rebol proxy in between them and the > server.
Hi, mixing the next idea of Max with this one might work: 1. Have a local proxy. 2. Let those local proxies be IOS Reblets. 3. Setup a co-browsing page that uses some javascript to poll the local proxies with a special request. The process: - User A requests a page. - The local proxy A sends the requested URL to IOS/Serve and downloads the page from the web. - Local proxy B polls IOS for a new URL - Local proxy B get's a new URL and downloads the page - Browser B polls local proxy B thru Javascript timer - Local proxy B recognizes the "is new URL available" poll - Local proxy sends downloaded web page back to browser I think something in this direction can work. The trick is to get the local browser to issue a request. Because without a request the browser won't read anything. Robert

 [7/7] from: antonr:iinet:au at: 1-Aug-2003 11:39


This can be done with javascript. You have to assume javascript is enabled in the browser. Javascript can ask the browser to reload the page: location.reload(true); // force a reload from the server You do this if the page is too old. How to see if it is too old in javascript is possible too I assure you. :) Anton.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted