<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>archGFX &#187; tutorials</title>
	<atom:link href="http://archgfx.net/tag/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>http://archgfx.net</link>
	<description>Austin web designer - Adam Freetly</description>
	<lastBuildDate>Wed, 28 Sep 2011 13:50:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adding Gravatars to Posts</title>
		<link>http://archgfx.net/blog/2008/geek/blogging/adding-gravatars-to-posts</link>
		<comments>http://archgfx.net/blog/2008/geek/blogging/adding-gravatars-to-posts#comments</comments>
		<pubDate>Wed, 06 Feb 2008 10:32:43 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[blogging]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gravatars]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://archgfx.net/blog/2008/geek/blogging/adding-gravatars-to-posts</guid>
		<description><![CDATA[With the launch of the Blueprint site, and all the hubbub over the release of Prologue, there are now a couple of good examples of using gravatars for more than just comments. The prologue function is a little weighty to be copied to other themes, since it's built for wordpress.com, so i thought I'd share [...]]]></description>
			<content:encoded><![CDATA[<p>With the launch of the Blueprint site, and all the <a href="http://iammattthomas.com/journal/another-word-on-prologue">hubbub over the release of Prologue</a>, there are now a couple of good examples of using gravatars for more than just comments.  The prologue function is a little weighty to be copied to other themes, since it's built for wordpress.com, so i thought I'd share my simple method.  It's almost identical to the <a href="http://ma.tt/2007/10/gravatar-enabled/#comment-428947">method matt posted</a>,</p>
<pre>
<pre class="brush: php; title: ; notranslate">
&lt;?php $md5 = md5( strtolower(get_the_author_email()) );
$default = urlencode( get_bloginfo(template_directory) .'/icons/author.png' );
echo &quot;&lt;img alt='avatar' class='photo' title='photo' src='http://www.gravatar.com/avatar.php?gravatar_id=$md5&amp;size=50&amp;rating=X&amp;default=$default'  /&gt;&quot;;
?&gt;
</pre>
</pre>
<p>Note that this assumes your theme has an <code>author.png</code> inside an icon folder.  Change that line to reflect the location of your default icon, or use <a href="http://use.perl.org/images/pix.gif">a blank default</a>. If you're using <a href="http://plaintxt.org/themes/sandbox">Sandbox</a>, or any other <a href="http://lorelle.wordpress.com/2007/09/01/microformats-and-wordpress-themes/">hCard-enabled</a> wordpress theme, you can insert this inside <code>&lt;div class="vcard"&gt;</code>, for added microformat-y goodness.  Otherwise, you can put it anywhere you like.  I've also added the same code to the top of my <code>author.php</code> file, inside <code>&lt;div class="archive-meta"&gt;</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2008/geek/blogging/adding-gravatars-to-posts/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Turning down the suck</title>
		<link>http://archgfx.net/blog/2006/geek/turning-down-the-suck</link>
		<comments>http://archgfx.net/blog/2006/geek/turning-down-the-suck#comments</comments>
		<pubDate>Wed, 19 Apr 2006 00:44:38 +0000</pubDate>
		<dc:creator>adam</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://www.archgfx.net/blog/index.php/2006/asides/turning-down-the-suck</guid>
		<description><![CDATA[...on myspace. maybe i'm dumb for not noticing this sooner. from your myspace home page, go to account settings &#62; privacy settings &#62; disable band songs from automatically starting. you can also auto-decline all those bands that spam you. if only there were such an option for the porn site bots. UPDATE: myspace has changed [...]]]></description>
			<content:encoded><![CDATA[<p>...on myspace.  maybe i'm dumb for not noticing this sooner.<br />
from your myspace home page, go to <strong>account settings</strong> &gt; <strong>privacy settings</strong> &gt; <strong>disable band songs from automatically starting</strong>.  you can also auto-decline all those bands that spam you.  if only there were such an option for the porn site bots.</p>
<p><strong>UPDATE:</strong></p>
<p>myspace has changed their music setup.  this trick no longer works. and it never worked for video, so, there ya go.</p>
]]></content:encoded>
			<wfw:commentRss>http://archgfx.net/blog/2006/geek/turning-down-the-suck/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

