Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. Sebastien Robin <seb@nexedi.com> WARNING: This program as such is intended to be used by professional programmers who take the whole responsability of assessing all potential consequences resulting from its eventual inadequacies and bugs This program as such is not intended to be used by end users. End users who are looking for a ready-to-use solution with commercial garantees and support are strongly adviced to contract a Free Software Service Company This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

### `portal_synchronization` Tool

This tool embodies site-wide policies concerning synchronization.

You can create a Subscription if you want to subscibe to some objects, or a Publication on a server if you want to publish some objects.

Subscription's elements :

Title : the title used to identify the Subscription Use Activity : activate or not the use of activity. Alert Code : Synchronisation type. Two Way : A normal sync type in which the client and the server exchange information about modified data in these devices. The client sends the modifications first.
One way From Server : A sync type in which the client gets all modifications from the server but the client does not send its modifications to the server.
Publication Url : the server's adrress mail Subscription Url : the client's address mail Destination Path : the path where are yours objects Source URI : source URI of synchronization (in case of synchronization between two erp5 sites, it's should be the same as the Title) Target URI : target URI of synchronization (in case of synchronization between two erp5 sites, it's should be the same as the Title) Query : the type of objects you want to synchronize XML Mapping : the page template used on each object before an export Synchronize with other ERP5 sites : The method currently used to send data to erp5 and external sites is not the same (it will be improved soon) Content Type : the type of content use to exchange data (could be 'application/vnd.syncml+wbxml' or 'application/vnd.syncml+xml' for example) Conduit : the conduit used to synchronize GPG key name :a name of gpg key to use Id Generator : This set the method name wich allows to generate a new id Gid Generator : This set the method name wich allows to find a gid from any object Media Type : the type of media exchanged between publication and subscription. Login : the login used to authenticate on the server (could be empty if there is no authentication on the server) Password : the password corresponding to the login

Publication's elements :

Title : the title used to identify the Subscription Use Activity : activate or not the use of activity. Publication Url : the server's adrress mail Destination Path : the path where are yours objects Source URI : source URI of synchronization (in case of synchronization between two erp5 sites, it's should be the same as the Title) Query : the type of objects you want to synchronize XML Mapping : the page template used on each object before an export Synchronize with other ERP5 sites : The method currently used to send data to erp5 and external sites is not the same (it will be improved soon) Content Type : the type of content use to exchange data (could be 'application/vnd.syncml+wbxml' or 'application/vnd.syncml+xml' for example) Conduit : the conduit used to synchronize GPG key name :a name of gpg key to use Id Generator : This set the method name wich allows to generate a new id Gid Generator : This set the method name wich allows to find a gid from any object Media Type : the type of media exchanged between publication and subscription. Authentication Format :the format used to encode the login and password Autentication Type : the type of the authentication