<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Otto on WordPress &#187; wordpress.com</title>
	<atom:link href="http://ottopress.com/tag/wordpress-com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottopress.com</link>
	<description>You have to use an Ottopress to get fresh squeezed Otto.</description>
	<lastBuildDate>Tue, 08 May 2012 17:46:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20725</generator>
	<atom:link rel='hub' href='http://ottopress.com/?pushpress=hub'/>
<cloud domain='ottopress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Gravatar Hovercards</title>
		<link>http://ottopress.com/2010/gravatar-hovercards/</link>
		<comments>http://ottopress.com/2010/gravatar-hovercards/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 21:56:04 +0000</pubDate>
		<dc:creator>Otto</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gravatar]]></category>
		<category><![CDATA[hovercards]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress.com]]></category>

		<guid isPermaLink="false">http://ottopress.com/?p=291</guid>
		<description><![CDATA[Update: Forget this plugin. Go install Jetpack instead. WordPress.com rolled out a nifty new feature called &#8220;Gravatar Hovercards&#8221; today. Basically it changes gravatar images into popups showing more info when the user hovers over them. In the comments, Andy Peatling mentioned bringing them to self-hosted WordPress blogs soon. I didn&#8217;t feel like waiting. &#60;?php /* Plugin [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://ottopress.com/2010/gravatar-hovercards/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><p><strong>Update</strong>: Forget this plugin. Go install <a href="http://jetpack.me">Jetpack</a> instead.</p>
<p>WordPress.com rolled out a nifty new feature called &#8220;<a href="http://en.blog.wordpress.com/2010/10/06/gravatar-hovercards/">Gravatar Hovercards</a>&#8221; today. Basically it changes gravatar images into popups showing more info when the user hovers over them. In the comments, Andy Peatling mentioned bringing them to self-hosted WordPress blogs soon.</p>
<p><img class="alignnone size-full wp-image-292" title="ottogravbox" src="http://ottopress.com/files/2010/10/ottogravbox.png" alt="" width="542" height="213" /></p>
<p>I didn&#8217;t feel like waiting.</p>
<pre class="brush: php; notranslate">
&lt;?php
/* 
Plugin Name: Gravatar Hovercards
*/
function gravatar_hovercards() {
	wp_enqueue_script( 'gprofiles', 'http://s.gravatar.com/js/gprofiles.js', array( 'jquery' ), 'e', true );
}
add_action('wp_enqueue_scripts','gravatar_hovercards');
</pre>
<p>This is not official.<br />
It&#8217;s not supported.<br />
It may not even work for you.<br />
It certainly won&#8217;t work if they change things.</p>
<p>Still, this blog is about fun things I do with WordPress, so I saw no reason not to post it. I expect they&#8217;ll come out with their own plugin soon, but I&#8217;d be rather surprised if it&#8217;s much more than this. Maybe some extra options or something. I dunno. Switch to that script when it comes out.</p>
<p>But for those people who like experimenting and playing with WordPress <em>on the edge</em>, here you go.</p>
<p>And for you Javascript inclined people, take a look at their code. It&#8217;s got some tricks in it that are pretty neat.</p>
<p>Enjoy. <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Updated as per several comments)</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fotto42.com%2F7p&count=vertical&related=otto42%2Cottodestruct&text=Gravatar Hovercards' class='twitter-share-button' data-text='Gravatar Hovercards' data-url='http://otto42.com/7p' data-counturl='http://ottopress.com/2010/gravatar-hovercards/' data-count='vertical' data-via='ottodestruct' data-related='otto42,ottodestruct'></a><span class="fb_share"><fb:like href="http://ottopress.com/2010/gravatar-hovercards/" layout="box_count"></fb:like></span><div class="plusone"><g:plusone size=tall annotation=bubble align=left href="http://ottopress.com/2010/gravatar-hovercards/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://ottopress.com/2010/gravatar-hovercards/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
	
		<media:thumbnail url="http://ottopress.com/files/2010/10/ottogravbox-200x78.png" />
		<media:content url="http://ottopress.com/files/2010/10/ottogravbox.png" medium="image">
			<media:title type="html">ottogravbox</media:title>
			<media:thumbnail url="http://ottopress.com/files/2010/10/ottogravbox-200x78.png" />
		</media:content>
	</item>
		<item>
		<title>Shortlink trick</title>
		<link>http://ottopress.com/2010/shortlink-trick/</link>
		<comments>http://ottopress.com/2010/shortlink-trick/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 19:00:47 +0000</pubDate>
		<dc:creator>Otto</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[codex]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[shortlink]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[wordpress.com]]></category>
		<category><![CDATA[wp_get_shortlink]]></category>

		<guid isPermaLink="false">http://ottopress.com/?p=57</guid>
		<description><![CDATA[For you people who do your own theme work: &#60;?php if (function_exists('wp_get_shortlink')) { ?&#62; &#60;div&#62;&#60;span class=&#34;post-shortlink&#34;&#62;Shortlink: &#60;input type='text' value='&#60;?php echo wp_get_shortlink(get_the_ID()); ?&#62;' onclick='this.focus(); this.select();' /&#62; &#60;/span&#62;&#60;/div&#62; &#60;?php } ?&#62; Basically that adds a little Shortlink: input box with the shortlink in it. Click the box, and the shortlink becomes selected for easy copy and paste. [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://ottopress.com/2010/shortlink-trick/' send='true' layout='standard' show_faces='true' width='450' height='65' action='recommend' colorscheme='light' font='lucida+grande'></fb:like><p>For you people who do your own theme work:</p>
<pre class="brush: php; notranslate">
&lt;?php if (function_exists('wp_get_shortlink')) { ?&gt;
&lt;div&gt;&lt;span class=&quot;post-shortlink&quot;&gt;Shortlink: 
&lt;input type='text' value='&lt;?php echo wp_get_shortlink(get_the_ID()); ?&gt;' onclick='this.focus(); this.select();' /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;?php } ?&gt;
</pre>
<p>Basically that adds a little Shortlink: input box with the shortlink in it. Click the box, and the shortlink becomes selected for easy copy and paste.</p>
<p>It&#8217;ll also work with any shortlink plugin that uses the &#8220;get_shortlink&#8221; filter to override the shortlink properly (like <a href="http://wordpress.org/extend/plugins/stats/">WordPress.com Stats</a>).</p>
<p>Put it somewhere in <a href="http://codex.wordpress.org/The_Loop">The Loop</a> or on the Single Post pages or what have you.</p>
<a href='http://twitter.com/share?url=http%3A%2F%2Fotto42.com%2F1d&count=vertical&related=otto42%2Cottodestruct&text=Shortlink trick' class='twitter-share-button' data-text='Shortlink trick' data-url='http://otto42.com/1d' data-counturl='http://ottopress.com/2010/shortlink-trick/' data-count='vertical' data-via='ottodestruct' data-related='otto42,ottodestruct'></a><span class="fb_share"><fb:like href="http://ottopress.com/2010/shortlink-trick/" layout="box_count"></fb:like></span><div class="plusone"><g:plusone size=tall annotation=bubble align=left href="http://ottopress.com/2010/shortlink-trick/"></g:plusone></div>]]></content:encoded>
			<wfw:commentRss>http://ottopress.com/2010/shortlink-trick/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
	</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using xcache
Object Caching 586/606 objects using xcache

Served from: ottodestruct.com @ 2012-05-21 06:28:45 -->
