[JDEV] Storing custom information in a Roster
M Bharat Kumar
mbk at csa.iisc.ernet.in
Sat May 11 05:51:04 CDT 2002
Hi,
I'm a recent Jabber convert. I intend to use Jabber for some custom
purposes. Here, I require to store some extra information about contacts.
To be more specific, as a Jabber user, I have many contacts. Information
about these contacts are stored in the Roster, which is made persistent at
the server. In my application, I need to store some credibility
information about each buddy/contact. Can I use the existing Roster DTD
for this without having to change the server or the clientlibraries?
Ideally, I'd like to insert some tags like <credibility> inside the roster
item to get something like...
<item jid='gkumar at vyakarna.csa.iisc.ernet.in' name='gkumar'
subscription='both'>
<group>Unfiled</group>
<Credibility Topic='Science'>0.7</Credibility>
<Credibility Topic='Philosophy'>0.4</Credibility>
</item>
Is it possible to do this without modification to the server? Itd be best
if I wont have to modify the client side interfaces as well.
Thanks in advance,
Bharath
More information about the JDev
mailing list