<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WP 2.5 has built-in gravatar support</title>
	<atom:link href="http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/</link>
	<description>blogging about blogging about</description>
	<lastBuildDate>Wed, 21 Jul 2010 03:59:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Aziz Poonawalla</title>
		<link>http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/comment-page-1/#comment-27</link>
		<dc:creator>Aziz Poonawalla</dc:creator>
		<pubDate>Wed, 05 Mar 2008 03:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/#comment-27</guid>
		<description>awesome - i look forward to your next update :) I like the idea of choosing between using an alternate avatar service for all avatars OR letting the custom avatar kick in only if theres no default. To be honest I am not sure which way Id go. I love my Monsters :)  Maybe I should create a Gravatar with my Monster... heh.</description>
		<content:encoded><![CDATA[<p>awesome &#8211; i look forward to your next update <img src='http://www.metablog.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I like the idea of choosing between using an alternate avatar service for all avatars OR letting the custom avatar kick in only if theres no default. To be honest I am not sure which way Id go. I love my Monsters <img src='http://www.metablog.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Maybe I should create a Gravatar with my Monster&#8230; heh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScottS-M</title>
		<link>http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/comment-page-1/#comment-26</link>
		<dc:creator>ScottS-M</dc:creator>
		<pubDate>Tue, 04 Mar 2008 20:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.metablog.us/users/wp-25-has-built-in-gravatar-support/#comment-26</guid>
		<description>I didn&#039;t know about that. From a quick look at the nightly builds, it looks like they implemented it pretty well. First, the &lt;code&gt;get_avatar&lt;/code&gt; function is in &lt;code&gt;pluggable.php&lt;/code&gt; (all functions inside &lt;code&gt;if (!function_exists( $functionName)) :&lt;/code&gt;) so a plugin can just define the function and automatically overwrite the default function. Also, they include a nice filter to catch the default gravatar output and overwrite or mess with it (&lt;code&gt;apply_filters(&#039;get_avatar&#039;, $avatar, $id_or_email, $size, $default);&lt;/code&gt;). It looks like a plugin could hook into that filter and check if &lt;code&gt;$avatar&lt;/code&gt; contained &lt;code&gt;$default&lt;/code&gt; and if so change to a plugin generated avatar (or just rewrite all avatar&#039;s to use plugin generated ones if you don&#039;t like gravatar). 

I&#039;m still surprised gravatar hasn&#039;t implemented their own default avatar generation. It&#039;s really nothing special and even if they don&#039;t want to code it themselves there&#039;s a bunch of open source ones out there.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t know about that. From a quick look at the nightly builds, it looks like they implemented it pretty well. First, the <code>get_avatar</code> function is in <code>pluggable.php</code> (all functions inside <code>if (!function_exists( $functionName)) :</code>) so a plugin can just define the function and automatically overwrite the default function. Also, they include a nice filter to catch the default gravatar output and overwrite or mess with it (<code>apply_filters('get_avatar', $avatar, $id_or_email, $size, $default);</code>). It looks like a plugin could hook into that filter and check if <code>$avatar</code> contained <code>$default</code> and if so change to a plugin generated avatar (or just rewrite all avatar&#8217;s to use plugin generated ones if you don&#8217;t like gravatar). </p>
<p>I&#8217;m still surprised gravatar hasn&#8217;t implemented their own default avatar generation. It&#8217;s really nothing special and even if they don&#8217;t want to code it themselves there&#8217;s a bunch of open source ones out there.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
