hAvatar updated version 0.3
The first release of hAvatar created some exposure and the testing page gathered a lot feedback with strange cases which were not being handled correctly yet.
I implemented some fixes and extra functionality both in hAvatar and in hKit so the entire page renders correctly now. One important update is that it now correctly finds the representative hCard for a page when there are multiple hCards.
That being done I release a new version 0.3 as an archive and into the mercurial repository.
Get it like this:
hg clone static-http://alper.nl/hg/havatar/
Microformats wiki page
The avatar on this page is not displayed using this plugin because of some obscure Solaris bug.
Cristiano Betta http://cristianobetta.com/
February 9th, 2008Cool, will try it out
Cristiano Betta http://cristianobetta.com/
February 9th, 2008Is it right that the code still calls itself 0.2?
Cristiano Betta http://cristianobetta.com/
February 9th, 2008Bug: Code still hangs when user submits a URL like http:/domain.com (only one /)
Cristiano Betta http://cristianobetta.com/
February 9th, 2008And another issue: with the upgrade to 0.3, suddenly MissGeeky.com’s hAvatar stopped working, while sites runnign hAvatar 0.2 dont have that problem.
alper http://www.alper.nl
February 9th, 2008I changed the version number and added a check to the ‘http:/[^/]‘ case. (Both in hg, will make a new zip tomorrow.)
What do you mean by stopped working? It works on the test site, do you have an error message or anything?
Cristiano Betta http://cristianobetta.com/
February 10th, 2008Stopped working as in only shows the generic no-avatar logo. See my blog.
Bruno Silva http://brunosilva.net
February 12th, 2008Hi! I tried hAvatar plugin for Wordpress today, and I noticed it slowed down my website.
It happens, because hAvatar fetches pages in other domains in order to find out the hAvatar image URL to render the image HTML. While this happens, the webpage is not loaded (until this process finishes).
I’ve done some changes in hAvatar WP plugin to avoid this. For each comment, instead of retrieving the hAvatar image URL, I retrive an URL to the plugin PHP page, with the URL and the default URL as a parameter (something like wp-content/plugins/hAvatar.php?url=…&def=… .
This way the page is quickly loaded, and the only hanging is for each image (when the actual hAvatar fetching script is run).
Even if the images take a little bit to load, the page is already readable.
If you want to take a look at my code, just e-mail me, I’ll send you the code.
alper http://www.alper.nl
February 26th, 2008@Bruno: I have made a webservice which does exactly that. It’s fallen somewhat into disuse, but it indeed does serve a need. Like this: http://alper.nl/cgi-bin/OpenAvatar.py?url=http://alper.nl
One of the reasons to keep this like this, is that it points out a real problem which we are going to increasingly face. The solutions are indeed asyncing (like you did with the image load, but it could also be done with other data) and caching.
Could you send me your code?
Pascal Van Hecke http://pascal.vanhecke.name/
May 14th, 2008Came across this plugin
http://singpolyma.net/plugins/diso-profile/
Haven’t tested it, sounds like an extension of the hAvatar plugin.
The author has more related stuff that is branded under the “DISO” umbrella now