I’m having hard time understanding how to get the updated list of contacts from external services using XIFF.
I can’t find any sample code/documentation/anything that will shed some light on this thing called XIFF.
I’m also not getting any feedback from this developer community, and I’m starting to believe XIFF was the wrong choice.
In any case, here’s a shot in the dark, maybe something will happen.
I’m specifically connecting to: MSN, YAHOO, AIM, GTALK and ICQ.
My code listens to the presense and roster events.
I see that I get different events and values if I connect to MSN or to YAHOO.
Also the order of the events is different in each case.
For example, the presence event has status, show and type fields.
Their values depend on whether the user is online/offline, the status line of the user, etc.
The status can be: ‘Yahoo messenger contact’
or it can be: ‘Offline’
It just doesn’t make any sense.
I can’t find any persistent logic that my code can work with in all cases.
Can anyone describe how the hell I should get a persistent and updated contact list for external services???