[jdev] Changing delivery presence

Peter Saint-Andre stpeter at jabber.org
Mon Apr 11 13:10:53 CDT 2005


On Mon, Apr 11, 2005 at 05:56:55PM +0000, Leonardo Galicia Jim?nez wrote:
> 
> Hi everybody, i wondering if there is a mechanism that permit to change the 
> behavior of delivery presence to clients in a jabber server, programing 
> somenthing like a plug-in without affect the source code of a jabber 
> server. I have interest for implement the IETF geopriv requirements.
> The geopriv requirements basically consist in a set of rules that the user 
> define and the server apply to presence and location information before 
> delivery to other users. For instance, decide the time, date, place or whom 
> receive my information of presence and location information.
> 
> With this i would like to add code (plug-in, module, etc.) to jabber server 
> that permit filter the information (presence and location) from users to 
> others through jabber server.

Presence delivery rules are pretty core to most server implementations,
so you will probably need to write a server module to do this (not sure
what server implementation you are using).

For geolocation, it is recommended to use pubsub rather than overloading
presence:

http://www.jabber.org/jeps/jep-0080.html
http://www.jabber.org/jeps/jep-0060.html

Peter




More information about the JDev mailing list