[JDEV] Promiscuous presence for user communities (with patch)
Peter Saint-Andre
stpeter at jabber.org
Tue Sep 30 21:29:46 CDT 2003
Hi Steven,
First, it is already possible to do "promiscuous presence" in jabberd
1.4.2 using the "presence bcc" markup in the jabber.xml configuration
file -- see the release notes. This feature pipes all the presence off
to another JID (usually a component), which can provide an API for
sending presence out to whomever you please.
Second, you can't just add new presence types to the protocol. :-) This
protocol is now in IETF Last Call. Just as you can't add a new HTTP
method because you think PUT and GET are not enough, you can't add new
presence types willy-nilly.
I agree with you that community building might require something like
this, and putting that under the control of the user is good. But I
don't think that a new presence type is the best way to make that happen.
Peter
Steven Brown wrote:
>Jabber often is deployed to support user communities where it would be
>valuable
>to allow users of the same server to see each other's presence before
>they have
>established a buddy relationship. It can help users meet other users in
>their
>community, and make buddying with their friends simpler.
>
>This patch adds a 'promiscuous' presence type to Jabber to implement
>this
>concept. When a user sends a <presence type="promiscuous"/>, all other
>connected users on the same server will be notified of their presence as
>long
>as the promiscuous user stays promiscuous and connected ('unavailable'
>will be
>appropriately sent). The presence packets from promiscuous users seen
>by
>clients will be 'available' with a <promiscuous/> tag (example:
><presence
>type="available"><promiscuous/>...</presence>), so promiscuous-aware
>clients
>can take whatever action is appropriate; e.g., displaying these users in
>the
>roster.
>
>http://www-cse.ucsd.edu/~sbrown/jabber-promiscuous-swb.patch
>
>
>Btw, this has only had a few days of use here so far, so it might have a
>few bugs to shake out still. I'm sure there are a lot of folks in the
>same situation that'd find this useful, though, so give it a spin. :)
>It's basically an enhanced version of 'available' presence.
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
>
>
More information about the JDev
mailing list