[daisy] Synchronizing two instances

Marc Portier mpo at outerthought.org
Mon Dec 11 04:37:23 CST 2006



Etienne Lacombe wrote:
> I know its a bit of a funny scenario, but I was wondering if there is a way to
> have two Daisy instance (same version) running on different networks and
> having them synchronized... like export from one and import into another.
> 
> Obviously, I realize that if the same document is modified on both, it would
> be a conflict that would not be resolvable...
> 
> But if the documents that were from server A were not modified on server B and
> vice-versa... is there something already existing that would allow that?
> 

2.0 has something in the pipe called 'import/export' which assumes
document 'namespace' and 'fingerprint'

check the 2.0 docs for that, starting here:
http://cocoondev.org/daisydocs-2_0/impexp/333.html


if you really need it on top of 1.5 I'ld suggest you create a similar
approach to the namespaces by creating custom fields in your documents
that identify who 'owns' the document, plus some own versions of the new
import/export tools...

regards,
-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo at outerthought.org                              mpo at apache.org


More information about the daisy mailing list