Discussion:
[Exodus-dev] Howto get contact personal data from a Plugin ?
Jose Ignacio Rio
2006-02-21 14:18:40 UTC
Permalink
Hi All, as the subject says, I'd like to get some personal data of my
contacts from a Plugin, let say that my Plugin needs to know the published
address of my contacts. My problems is that I can't find any property or
method returning that kind of information.

Any tips ?

Thanks in advance !

Jose Ignacio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/exodus-dev/attachments/20060221/81bb234a/attachment.html
Peter Millard
2006-02-21 15:54:52 UTC
Permalink
Post by Jose Ignacio Rio
Hi All, as the subject says, I'd like to get some personal data of my
contacts from a Plugin, let say that my Plugin needs to know the published
address of my contacts. My problems is that I can't find any property or
method returning that kind of information.
Any tips ?
Not sure what you mean by "published address of my contacts". Most of the
internal info that exodus has is accessable by using the methods on
IExodusController which is passed into the Startup method for your plugin. Using
this object, you can access the roster, ppdb, preferences, etc. Check the Plugin
API docs
(http://exodus.jabberstudio.org/plugin-docs/interfaceExodusCOM_1_1IExodusControl
ler.html) for lots more information.

pgm.
Jose Ignacio Rio
2006-02-21 16:46:49 UTC
Permalink
Thanks for your fast response Peter, I'm already using the ExodusController
object, probably my question was not so clear (sorry, I'm not a native
English speaker).

What I need is to have access to the "others" properties of a roster item,
the same properties that I can see with Exodus when I right click on a
contact (roster item) and select the Properties option (F10).

I need to have access from the plugin to some of the "Personal Information"
and "Work information", but could not find any method nor property inside
ExodusController, ExodusRosterItem, ExodusRoster objects. So, I'm not
looking at the right method or what I need is not implemented yet.

Thanks in advance !

Jose Ignacio
Post by Jose Ignacio Rio
Post by Jose Ignacio Rio
Hi All, as the subject says, I'd like to get some personal data of my
contacts from a Plugin, let say that my Plugin needs to know the
published
Post by Jose Ignacio Rio
address of my contacts. My problems is that I can't find any property or
method returning that kind of information.
Any tips ?
Not sure what you mean by "published address of my contacts". Most of the
internal info that exodus has is accessable by using the methods on
IExodusController which is passed into the Startup method for your plugin. Using
this object, you can access the roster, ppdb, preferences, etc. Check the Plugin
API docs
(
http://exodus.jabberstudio.org/plugin-docs/interfaceExodusCOM_1_1IExodusControl
ler.html) for lots more information.
pgm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/exodus-dev/attachments/20060221/3edc05d2/attachment.html
Joe Hildebrand
2006-02-22 04:41:17 UTC
Permalink
Worst case, you could send an iq/get to the vcard-temp namespace. See
JEP-54 for more details: http://www.jabber.org/jeps/jep-0054.html

You'll need to register a callback to listen for the results.
Post by Jose Ignacio Rio
Thanks for your fast response Peter, I'm already using the
ExodusController
object, probably my question was not so clear (sorry, I'm not a native
English speaker).
What I need is to have access to the "others" properties of a
roster item,
the same properties that I can see with Exodus when I right click on a
contact (roster item) and select the Properties option (F10).
I need to have access from the plugin to some of the "Personal
Information"
and "Work information", but could not find any method nor property inside
ExodusController, ExodusRosterItem, ExodusRoster objects. So, I'm not
looking at the right method or what I need is not implemented yet.
Thanks in advance !
Jose Ignacio
Post by Jose Ignacio Rio
Post by Jose Ignacio Rio
Hi All, as the subject says, I'd like to get some personal data of my
contacts from a Plugin, let say that my Plugin needs to know the
published
Post by Jose Ignacio Rio
address of my contacts. My problems is that I can't find any
property or
method returning that kind of information.
Any tips ?
Not sure what you mean by "published address of my contacts". Most of the
internal info that exodus has is accessable by using the methods on
IExodusController which is passed into the Startup method for your
plugin.
Using
this object, you can access the roster, ppdb, preferences, etc.
Check the
Plugin
API docs
(
http://exodus.jabberstudio.org/plugin-docs/
interfaceExodusCOM_1_1IExodusControl
ler.html) for lots more information.
pgm
_______________________________________________
Exodus-dev mailing list
http://mail.jabber.org/mailman/listinfo/exodus-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2142 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/exodus-dev/attachments/20060221/9366f9a6/smime.bin
Loading...