Hi,
I'm using Gajim to connect to a jabber server which is using PyMSNt.
I noticed that not all the avatars are being saved in the spool folder.
While Gajim is showing all the avatars, not all of them are in the spool
folder.
I wonder what is the reason of some of them being saved in the spool
folder, while others not. Is it related to people who may have
registered his avatars in a vCard ? Could it be depending on the version
of the MSN they used to save his avatars?
Finally, regarding your comment on storing the avatars in a folder whith
name the SHA1 of the file ... could it be possible to store it in a
folder named after the user of the avatar?
I'm trying to modify the code to make it store the avatars and rest of
"spooled information" in a MySQL ddbb. So far, I've modified the code,
so it stores the contacts. Now, I'm trying to do the same with the
avatars. However, as main id of the table, I want to use the email of
the user of the avatar, rather than the SHA1 of the image.
"PyMSNt supports sending/receiving of vCard avatars (check the XEP on
jabber.org), and msn->jabber (receiving) of XEP0008 avatars. The
avatars are cached in a global directory by their SHA1 hash, so they
are only downloaded once, ever, to save bandwidth. Jabber clients that
support vCard avatars should see MSN users' avatars, and vice versa
with no effort on the part of the user. "
thank you very much, regards,
Jean
James Bunton wrote:
On 13/11/2006, at 10:01 PM, John McKenzie wrote:
Hi there.
Thank you for the work you put into PyMSNt.
I have a question about its capabilities. Although I am sure you
are busy, they should be quick answers. Your time is appreciated.
Sorry for the slow response :)
Been quite busy with Uni until now. Just finished my exams a week ago.
Hope you don't mind me CCing this to the mailing list for the benefits
of others.
Your website indicates that it allows file transfer between Jabber and
MSN networks. Is this considered experimental or a little better than
that?
Well, it works fine for me. Others have reported success, yet others
have reported failure :)
Also, your web site mentioned avatars. I never used those, so I am a
little unclear on how they would appear/be utilized in cross-network
chat. Could you advise me as to what PyMSNt can do in regards to avatar
use between XMPP and MSN users?
PyMSNt supports sending/receiving of vCard avatars (check the XEP on
jabber.org), and msn->jabber (receiving) of XEP0008 avatars. The
avatars are cached in a global directory by their SHA1 hash, so they
are only downloaded once, ever, to save bandwidth. Jabber clients that
support vCard avatars should see MSN users' avatars, and vice versa
with no effort on the part of the user.
Does PyMSNt allow the use of graphical emoticons between Jabber and
MSN users? (They annoy the hell out of me, but I am asking for the
benefit of someone else.)
They annoy me too, makes pasting code a pain :)
PyMSNt does nothing special. These avatars are usually just ascii that
corresponds to some agreed upon pixmap, eg :-) is a smiley face, (H)
is a heart (I think). PyMSNt just passes this text through. Some
clients have emoticon packs that can interpret them. Look up jisps for
Psi and other clients for the packs. http://jisp.netflint.something...
I realize that your are busy with more relevant questions from other
coders, so I extra appreciate your time. Little things like this
shouldn't be directed towards you, but I could not find this info out
elsewhere and I did try.
Thank you, and thanks again for making such a big contribution to the
XMPP world.
You're welcome :)
Hope that helped.
---
James
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports