External plugins in archived.pl

Some sites need to store Sympa archived messages elsewhere, in a relational database for example. This is required for sites that provide home-made web user interface to Sympa and wish to provide archive features. An alternative would be to add archive-related features to the Sympa SOAP server but a) mhonarc MIME features could not be used in this context b) many features would be required (get list of messages, get message, search message, next searched message,…)

The way to do is to add some new parameters in Sympa to control the archived.pl daemon. This daemon adds or removes messages in Sympa archive. What we could do is allow any external application as a plugin to archived. Such plugin could have 2 features : add a new message to the external archive, remove a message from the external archive.

This solution would not change Sympa existing archiving process. Archives will be duplicated but it will be easy to maintain consistency for the 2 versions of archive (excepted for authorization).

  • dev/external_plugin_called_for_archived.txt
  • Last modified: 2015/03/18 11:30
  • (external edit)