aid is the avatar id as given in tag 197, which is normally the hash of the
image,

It looks like the new php script wants the yahooid, so did you change the
code that calls getavatar too?

Cheers

Norman

On Thu, Sep 4, 2008 at 3:26 PM, Jamin W. Collins
<[EMAIL PROTECTED]>wrote:

> Looks like the avatar URL for Yahoo has changed from what is in the
> transport code.  Looking at the current repository source it looks like
> the URL was previously changed, but that URL pattern doesn't appear to
> work for me.
>
> A little searching turned up what appears to be a functional URL to
> replace it with, and a two line change later it looks like it's working.
>  For those interested, the change is to the avatar.py file, and the
> following lines:
>
>     #conn = httplib.HTTPConnection("img1.avatar.vip.dcn.yahoo.com")
>     conn = httplib.HTTPConnection("img.msg.yahoo.com")
>     if debug: conn.debuglevel=3
>     try:
>         #conn.request("GET","/users/%s.medium.png"%aid)
>         conn.request("GET","/avatar.php?yids=%s"%aid)
>
> Commented lines are the originals.
>
> What would be needed for the transport to publish the existing Jabber
> avatar to the Yahoo server?
>



-- 
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to