"See all online"

Hi,

I'm somewhat new to Jabber and are currently studying the Jabber protocols to see if it is possible to create a client with the functionality I need toghether with ejabberd server.

It seems that the normal "behaviour" of Jabber is similar to ICQ, MSN etc. where you add specific users to your roster and then get notified of their precense. I'm looking to write a custom client where everyone always sees everyone online (and hence recieving precense notifications of all).

Is this possible at all in any sence using Jabber protocols or ejabberd specific functions? Perhaps someone could give me a pointer.

who is everyone?

a custom client where everyone always sees everyone online

Could you please define who are you referring to with the second 'everyone'?

  1. Everyone in the world
  2. Everyone on the Jabber server where he is connected
  3. Everyone in a predefined (or dynamic) list of people with the same interests
  4. ...

Single server

That is everyone on the current Jabber server (ie. a single server not connected to other servers). Currently considering writing a custom (non-Jabber) Java.NIO based server too, but it would be nice to use existing software if possible.

why not just add all to all?

Have you considered using Jabber as it is right now? Use any Jabber client. User any Jabber server, but modify it this way:

Every time a user registers on the server
  1. Add all the other users on that server to his roster.
  2. Add this user to all the other users in the server.
I already have some patches for ejabberd that implement half of that functionality.

@badlop i alos want to add

@badlop

i alos want to add every one in every one list in a single jabber server

plz tell me in a very simple way and word.

i shall be very thankful to u

Shared Roster Groups with All

usmaan wrote:

i alos want to add every one in every one list in a single jabber server

You can use mod_shared_roster, and then put @all@. This is explained in All Users in a Shared Roster Group. Check example 1.

Syndicate content