NOTE: This is a modified version of hAvatar, modified by John Eckman (eckman.john@gmail.com) just to remove the Gravatar functionality. 
It is distributed with MBLA+ - see http://www.openparenthesis.org/code/wp/ for more info. 

----

hAvatar
=====
hAvatar is a Wordpress plugin for theme authors that enables the display of avatars for users by using their publicly available hCard information. 

hAvatar has functions which can be used as an alternative to gravatar and similar to show avatars of commentors and other users on a wordpress site.

Sample Wordpress 2.3.1 site with this plugin installed and put into the template:
http://wordpresstest.aardverschuiving.com/2_3_1/?p=1

License
-------

hAvatar is made available using the following license: Creative Commons Attribution 3.0
(http://creativecommons.org/licenses/by/3.0/)

hKit is bundled under the LGPL and more information about hKit can be found in hkit.class.php

Usage
-----

The most common use case would be to call the appropriate function in the comment loop of your Wordpress template.

The file to be adjusted is generally: comments.php
The comment loop usually starts with this line: <?php foreach ($comments as $comment) : ?>
and an example of code to be included in the comment block is:
	<style type="text/css">
		.hAvatar {
			width: 75px;
		}
	</style>
	<?php hAvatar(); ?>

You can also call the function getAvatar($url = "") anywhere and pass it the url to scan for an hCard with avatar.

Finally if the function gravatar has not been implemented yet by another plugin, hAvatar implements the gravatar() function by using its own avatar semantics.


Sample webservice
-----------------

A webservice which does the same thing (but does not use hKit):
http://alper.nl/cgi-bin/OpenAvatar.py?url= . $url


TODO
====

* Make a widget for the Wordpress frontpage so people can put their own hCards on their blogs. Don't know yet if that should be in this plugin.
** http://automattic.com/code/widgets/plugins/
** http://automattic.com/code/widgets/api/

* Implement representative hCard discovery on URLs that have multiple hCards (currently take the first)
* Implement [representative hCard discovery](http://microformats.org/wiki/hcard-brainstorming#Representative_hCard_discovery) on URLs that don't have hCard information.
* Implement features from: http://factoryjoe.pbwiki.com/wp-openid-avatars

* hAvatar currently crashes on Solaris hosted Wordpress installs. No clue what is going on there.