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?
--
Jamin W. Collins
Was just realizing this. Jumped the gun when one contact came back with
an image.
> It looks like the new php script wants the yahooid, so did you change
> the code that calls getavatar too?
I have not yet delved that deeply into it. If it's a quick change for
you, I can hold off otherwise I'll continue. It's not a rush item, I
just came across some free time and figured I'd see if I could get it
working.
--
Jamin W. Collins
Yea, just need to wrap my head around the code calling it and decipher
which tag(s) I need to look at. Any reference documentation?
--
Jamin W. Collins
Norman Rasmussen wrote:
> On Thu, Sep 4, 2008 at 3:55 PM, Jamin W. Collins
> I have not yet delved that deeply into it. If it's a quick change forwhich tag(s) I need to look at. Any reference documentation?
> you, I can hold off otherwise I'll continue. It's not a rush item, I
> just came across some free time and figured I'd see if I could get it
> working.
> cool, well this turns a complicated image fetch operation, into a
> no-brainer.
Yea, just need to wrap my head around the code calling it and decipher
Awesome that appears to have done it. I'll work up a patch and send it
over if you'd like.
--
Jamin W. Collins
Norman Rasmussen wrote:
> Yea, that would be great.
Here you go.