문제

I'm using Crocodoc.com service to embed documents in a web page. Everything works fine, except the real-time collaboration feature (if someone makes a change to the document, the change should be reflected in real time for all viewers).

None of the examples from their website seem to work this way and it's not mentioned anywhere in the documentation, but I have found an example on another site which works:

http://demo.wikispaces.umb.edu/Crocodoc+Real-time+Annotation.

This document is embedded using the previos version of Crocodoc API (v1).

Any help is appreciated. Thanks

도움이 되었습니까?

해결책

You need a real-time web system like websockets, i.e., "push" technology in order for each user to see the freshly added content.

There there is a "socket" that is kept open and all "subscribers" can get the "message" and you will put some JS on the page that contains the crocodoc such that the changes get implemented.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top