<?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>huy&#039;z</title>
	<atom:link href="http://huyz.us/feed/" rel="self" type="application/rss+xml" />
	<link>http://huyz.us</link>
	<description>Everyday Weekend Coder</description>
	<lastBuildDate>Sun, 14 Aug 2011 09:32:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>G+me v5</title>
		<link>http://huyz.us/2011/google-plus-me-v5/</link>
		<comments>http://huyz.us/2011/google-plus-me-v5/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 02:44:58 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[Feature]]></category>
		<category><![CDATA[Google+]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chrome extension]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[G+]]></category>
		<category><![CDATA[G+me]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[v5]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=402</guid>
		<description><![CDATA[Big Release This version 5 has a lot of improvements, almost too many to list. There&#8217;s something for everyone, and almost every top requested feature has been implemented. G+me should work quite well for all of us. I normally prefer to make incremental updates to G+me over time instead of releasing a big update. But [...]]]></description>
			<content:encoded><![CDATA[<h2>Big Release</h2>

<img src="/2011/google-plus-me-v5-images/screenshot-gpme-options2-p1-150x150.png" alt="" width="150" height="150" class="alignright size-thumbnail wp-image-405" />

<p>
This version 5 has a lot of improvements, almost too many to list. There&#8217;s something for everyone, and almost every top requested feature has been implemented.  G+me should work quite well for all of us.
</p>
<p>
I normally prefer to make incremental updates to G+me over time instead of releasing a big update.  But I was pushing a lot of risky changes and the beta testers were a tremendous help.
</p>

<h2>What&#8217;s new</h2>

<p>
Top-requested features:
<ul>
<li>Clicking the G+me icon goes to Google+ notifications</li>
<li>Option to increase the number of teaser lines in a collapsed post</li> 
<li>Mute button on a collapsed post</li>
<li>Collapse bar at the bottom of posts in expanded mode</li>
<li>Option to collapse all comments by default</li>
<li>Option to turn on/off the mouse-over post preview in list or expanded mode</li>
<li>The date/time of a post is back</li>
<li>Compatibility with SGPlus, Usability Boost, Google+ Tweaks (except for &#8220;Fixed Navigation: All Navigation&#8221;) is back</li>
<li>A new separate version of G+me for those who want even more safeguards to their privacy: <a href="http://goo.gl/QCCAJ" target="_blank">G+me (PARANOID Edition)</a>. It has fewer features, but now you don&#8217;t have to take me at my word when I say that G+me does <i>not</i> and <i>never</i> will track your browsing history.</li>
</ul>
</p>
<p>
New features:
<ul>
<li>A new clean look, which by default blends into the vanilla Google+ style</li>
<li>Tracks read posts; plus a mark-as-read button on a collapsed post</li>
<li>Re-shared posts show the original author</li>
<li>Icons for all types of posts: mobile, check-in, games, photo, video, link</li>
<li>A marker for posts shared only to limited circles</li>
<li>Ability to show photo thumbnails in the summary of a collapsed post</li>
<li>Button to mark all posts as read in list mode</li>
<li>Button to collapse/expand all posts in expanded mode</li>
<li>More key shortcuts: &#8216;v&#8217; opens embedded links and shift-C expands long comments</li><li>The extension has been <a href="http://goo.gl/1B2GH" target="_blank">internationalized</a> and <a href="http://goo.gl/mT8EE" target="_blank">translated</a> to many languages</li>
<li>Finally, a separate options page (See below for screenshots).  This also means you can now freely hide the G+me icon if you want.</li>
</ul>
</p>

<p>
As always, G+me can be found at the <a href="http://goo.gl/k8X4C">Chrome Web Store</a>.  It will automatically update after a few hours if you already have it installed, or you can <a href="http://www.howtogeek.com/64525/how-to-manually-force-google-chrome-to-update-extensions/" target="_blank">force an update</a>.
</p>

<h2>What&#8217;s next</h2>
<p>
The next updates will have radical new features.  Stay tuned&#8230;
</p>

<h2>Preview of the options pages</h2>

<p><img src="/2011/google-plus-me-v5-images/screenshot-gpme-options2-p1.png" alt="Screenshots of G+me options page 1" class="aligncenter plain" /></p>
<p><img src="/2011/google-plus-me-v5-images/screenshot-gpme-options2-p2.png" alt="Screenshots of G+me options page 2" class="aligncenter plain" /></p>]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/google-plus-me-v5/feed/</wfw:commentRss>
		<slash:comments>61</slash:comments>
		</item>
		<item>
		<title>Patch for &#8220;Replies and more for Google+&#8221;</title>
		<link>http://huyz.us/2011/patch-for-replies-and-more-google-plus/</link>
		<comments>http://huyz.us/2011/patch-for-replies-and-more-google-plus/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 18:08:31 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[Google+]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chrome extension]]></category>
		<category><![CDATA[G+]]></category>
		<category><![CDATA[Google Plus]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Replies and More]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=364</guid>
		<description><![CDATA[UPDATE: it&#8217;s been fixed by the author. If you&#8217;ve installed this patch, please follow the instructions below to go back to the original version. Today, Google+ seems to have changed its code and broken the extension Replies and more for Google+. It&#8217;s indispensable to me, and seeing how it hasn&#8217;t been updated in a while, [...]]]></description>
			<content:encoded><![CDATA[<p>
UPDATE: it&#8217;s been fixed by the author.  If you&#8217;ve installed this patch, please follow the instructions below to go back to the original version.
</p>
<p>
Today, Google+ seems to have changed its code and broken the extension <a href="https://chrome.google.com/webstore/detail/fgmhgfecnmeljhchgcjlfldjiepcfpea">Replies and more for Google+</a>.  It&#8217;s indispensable to me, and seeing how it hasn&#8217;t been updated in a while, I patched it temporarily until the author, Matt Mastracci, can release a general update.
</p>

<p>
To install:
<ol>
<li>Go to <tt>Tools &gt; Extensions</tt> and disable the original version</li>
<li>Install this patched version: [No longer available]</li>
<li>You&#8217;ll have to re-enter all the options</li>
<li><b>Refresh all Google+ tabs</b></li>
</ol>
</p>

<p>
<b>IMPORTANT</b><br />
There are no automatic updates.  So if the original developer updates his extension or I update this patch, you will have to know about it and update manually.  I suggest you follow both of us (<a href="https://plus.google.com/115459243651688775505">Matt</a> and <a href="https://plus.google.com/111775942615006547057">Huy</a>) on Google+.
</p>

To go back to the original version:
<ol>
<li>Go to <tt>Tools &gt; Extensions</tt> and either disable or uninstall this patched version</li>
<li>Re-enable the original version</li>
<li><b>Refresh all Google+ tabs</b></li>
</ol>
</p>
]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/patch-for-replies-and-more-google-plus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Footnotes anywhere in the content of a WordPress post or page</title>
		<link>http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/</link>
		<comments>http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 05:26:19 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[footnotes]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp-footnotes]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=241</guid>
		<description><![CDATA[Embed footnotes in a WordPress site anywhere in the content with this modified wp-footnotes plugin.]]></description>
			<content:encoded><![CDATA[<a href="http://huyz.us/files/2011/07/screenshot-5.png"><img class="alignright size-full wp-image-242" src="http://huyz.us/files/2011/07/screenshot-5.png" alt="WP-Footnotes embedded with a shortcode" width="280" height="210" /></a>

<p>Footnotes are a convenient way to write blog posts without overwhelming the reader with details that only a few would be interested in.<sup><a href="http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/#footnote_0_241" id="identifier_0_241" class="footnote-link footnote-identifier-link" title="I need to take a shower asap.  See, you didn&#039;t want to know that.">1</a></sup> I use the <a href="http://elvery.net/drzax/wordpress-footnotes-plugin">WP-Footnotes plugin</a> to easily append footnotes into WordPress.</p> <p>Some people have called for the ability to <a href="http://wordpress.org/support/topic/plugin-wp-footnotes-choose-where-to-put-footnotes-on-page">embed footnotes anywhere in the post or page</a>.  You know me, I try to answer the Bat-Signal when I&#8217;m not kicking it with my entourage.</p>

<p>So I implemented a [footnotes] shortcode.<sup><a href="http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/#footnote_1_241" id="identifier_1_241" class="footnote-link footnote-identifier-link" title="Actually, pretty simple fix.">2</a></sup> </p>

<h1 class="footnotes" style="clear:both">
Footnotes:
</h1><ol class="footnotes"><li id="footnote_0_241" class="footnote">I need to take a shower asap.  See, you didn&#8217;t want to know that.</li><li id="footnote_1_241" class="footnote">Actually, pretty simple fix.</li></ol>
<h1>Get the goods</h1> <p>Download from <a href="https://github.com/huyz/wp-footnotes">https://github.com/huyz/wp-footnotes</a>.</p> <p>I <a href="http://teleogistic.net/2011/05/revisiting-git-github-and-the-wordpress-org-plugin-repository/">synced</a> the Subversion repository at the <a href="http://wordpress.org/extend/plugins/">WordPress.org Plugin Directory</a>, so that I&#8217;ll be able to easily merge any upstream changes.</p>]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/wordpress-footnotes-anywhere-in-the-content/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to get OS X screenshots with no spaces in filenames</title>
		<link>http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/</link>
		<comments>http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 20:14:15 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[screencapture]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=168</guid>
		<description><![CDATA[For command-line gurus, this is how to disable spaces in the filenames of screenshots generated by Macs.]]></description>
			<content:encoded><![CDATA[<p>In design, they say space lets layouts breathe.  Well, in filenames, it makes me choke on that Apple.</p>

<p>If you can&#8217;t hang with the filenames that Mac OS X 10.6 (Snow Leopard) and 10.7 (Lion) generate when you do screen captures, here&#8217;s the multi-step process to turn the unfashionable &#8220;<code>Screen shot 2011-07-05 at 5.38.53 AM.png</code>&#8221; into a humble but stylish &#8220;<code>screenshot_2011-07-05_05.38.53.png</code>&#8220;.</p>

<ol>
<li>Change the date format to 24 hours, if applicable, by customizing the Medium times format under <code>System Preferences &gt; Languages &amp; Text &gt; Formats &gt; Times &gt; Customize &gt; Medium</code>. <sup><a href="http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/#footnote_0_168" id="identifier_0_168" class="footnote-link footnote-identifier-link" title="Source:&nbsp;everydaymacsupport.com">1</a></sup></li>
<li>Run:<sup><a href="http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/#footnote_0_168" id="identifier_1_168" class="footnote-link footnote-identifier-link" title="Source:&nbsp;everydaymacsupport.com">1</a></sup><br />
<pre class="brush: bash; title: ; notranslate">defaults write com.apple.screencapture name &quot;screenshot&quot;</pre></li>
<li>Edit the appropriate localization file as root (change <code>English</code> to your language):<sup><a href="http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/#footnote_1_168" id="identifier_2_168" class="footnote-link footnote-identifier-link" title="Source: macworld.com">2</a></sup>
<pre class="brush: bash; title: ; notranslate">sudo vi /System/Library/CoreServices/SystemUIServer.app/Contents/Resources/English.lproj/Localizable.strings</pre><br />
comment out the old filename template and replace with a new one:<sup><a href="http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/#footnote_2_168" id="identifier_3_168" class="footnote-link footnote-identifier-link" title="I tried &quot;screenshot_%2$@_%3$@&quot; but that didn&#039;t work">3</a></sup><br />
<pre class="brush: plain; title: ; notranslate">/* Format screencapture file names */
/* &quot;%@ %@ at %@&quot; = &quot;%1$@ %2$@ at %3$@&quot;; */
&quot;%@ %@ at %@&quot; = &quot;%1$@_%2$@_%3$@&quot;;</pre></li>
<li>Restart the SystemUIServer:<br />
<pre class="brush: bash; title: ; notranslate">killall SystemUIServer</pre></li>
</ol><h1 class="footnotes" style="clear:both">
Footnotes:
</h1><ol class="footnotes"><li id="footnote_0_168" class="footnote">Source: <a href="http://www.everydaymacsupport.com/Everyday_Mac_Support/Blog/Entries/2011/5/20_Change_The_File_Name_Of_Your_Screenshots.html" class="broken_link">everydaymacsupport.com</a></li><li id="footnote_1_168" class="footnote">Source: <a href="http://hints.macworld.com/article.php?story=20091228142521881">macworld.com</a></li><li id="footnote_2_168" class="footnote">I tried <code>"screenshot_%2$@_%3$@"</code> but that didn&#8217;t work</li></ol>]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/os-x-screenshots-with-no-spaces-in-filename/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A &#8220;less&#8221;-like pager with color syntax highlighting</title>
		<link>http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/</link>
		<comments>http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/#comments</comments>
		<pubDate>Mon, 04 Jul 2011 04:53:13 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[vim]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[pager]]></category>
		<category><![CDATA[syntax highlighting]]></category>
		<category><![CDATA[vimpager]]></category>
		<category><![CDATA[vimscript]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=142</guid>
		<description><![CDATA[An improved version of the "less"-like pager replacement based on vim, which gives you full color syntax highlighting and smart quitting behavior.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><img class="size-full wp-image-148  aligncenter" src="http://huyz.us/files/2011/07/screenshot-less.vim_.png" alt="" width="530" height="283" /></p>

<p>
The <a href="http://vim.org/">vim</a> text editor is distributed with a very nice, but not well-known, <a href="http://www.greenwoodsoftware.com/less/">less</a> replacement which allows you to quickly and easily page through files or standard input, with full <strong>color syntax highlighting</strong> based on the type of the file.  You don&#8217;t need to know how to use vi/vim to use this pager; the keybindings are similar to <code>less</code>&apos;s (just hit <code>q</code> to quit).
</p>

<p>
The &ldquo;less.vim&rdquo; pager in distribution had bugs and annoying quitting behavior that I fixed.  I also made it work like <code>less -F</code> by having it quit immediately after displaying, if the specified single file is less than a screenful.  There&#8217;s no need to page something that&#8217;s less than one page, right?
</p>

<h1>Get the Goods</h1>
<p>
You can download from <a href="https://github.com/huyz/less.vim">https://github.com/huyz/less.vim</a>.
</p>

<h1 class="extra">Alternatives</h1>
<p>
There is an alternate fork of less.vim called <a href="http://www.vim.org/scripts/script.php?script_id=1723">vimpager</a> which seems to have some other nice features<sup><a href="http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/#footnote_0_142" id="identifier_0_142" class="footnote-link footnote-identifier-link" title="It can be set as $PAGER as it&#039;s a complete replacement. It displays man pages, perldocs, and python documentation properly. It works on many systems including Cygwin.">1</a></sup>, but it doesn&#8217;t fix the core problems in &#8220;less.vim&#8221;.  I may integrate the two sets of changes.
</p>

<p>
You can also continue to use <code>less</code> by pre-processing the input with <a href="http://linux-tips.org/article/78/syntax-highlighting-in-less" class="broken_link">source-highlight</a>.
</p><h1 class="footnotes" style="clear:both">
Footnotes:
</h1><ol class="footnotes"><li id="footnote_0_142" class="footnote">It can be set as $PAGER as it&#8217;s a complete replacement. It displays man pages, perldocs, and python documentation properly. It works on many systems including Cygwin.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/a-less-like-pager-with-color-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Easiest Way to Embed a Java Applet in WordPress</title>
		<link>http://huyz.us/2011/the-easiest-way-to-embed-java-in-wordpress/</link>
		<comments>http://huyz.us/2011/the-easiest-way-to-embed-java-in-wordpress/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 14:29:25 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[applet]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[java-applet-embed]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JVM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[TRUEedit]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=101</guid>
		<description><![CDATA[This new plugin java-applet-embed is the easiest way to embed a Java applet in a WordPress site.]]></description>
			<content:encoded><![CDATA[<p class="summary">This new plugin <a href="http://wordpress.org/extend/plugins/java-applet-embed/" class="broken_link">java-applet-embed</a> is the easiest way to embed a Java applet in a WordPress site.</p>

<img class="aligncenter size-full wp-image-121 plain" src="http://huyz.us/files/2011/07/wordpress-with-java-textonly.png" alt="" width="540" height="95" />
<h1>The Death of the Java Applet and its Aborted Rebirth(s)</h1>
<p>It&#8217;s a bit depressing when <a href="http://marxsoftware.blogspot.com/2011/05/can-java-applet-be-salvaged.html">people</a> <a href="http://carlfx.wordpress.com/2010/02/15/javafx-java-applets-making-a-comeback/">ponder</a> the <a href="http://rakeshmenonp.wordpress.com/2009/08/31/javafx-applet-startup-time/">comeback</a> of the Java applet.  Java in the browser is dead.  That&#8217;s why this post makes absolutely no sense.  I know you want to discuss HTML5.  You won&#8217;t hurt my feelings if you google your way out of here.
</p>

<h1>WordPress &mdash; Applet Bully</h1>
<p>This is like beating a dead horse: WordPress also does it best to nuke anything resembling an &lt;applet&gt; tag.  Some have figured out that you can protect an applet by putting the &lt;applet&gt; and enclosed &lt;param&gt; tags all <a href="http://mygraphicfriend.wordpress.com/2010/01/27/problem-java-applet-doesnt-load-on-a-wordpress-page/">on a single line</a>.  But if you switch from the Visual to the HTML tab in the &#8220;Edit Post&#8221; page or if you update the post while on the wrong tab, the applet markup will still disappear. Not good.
</p>

<h1>Enter java-applet-embed</h1>
<p>Anthony Mattox has released a well-written plugin which solves the problem of <a href="http://anthonymattox.com/wordpress-processing-embed" class="broken_link">embedding Processing applets</a>. Surprisingly, no one has done the same for embedding any arbitrary Java applet.  The markup and implementation would be almost identical.</p>

<p>Forking and converting his plugin was a matter of hours, and I submitted it to the wordpress.org plugin directory.</p>

<p>An alternative solution would have been to use a plugin such as <a href="http://wordpress.org/extend/plugins/trueedit/">TRUEedit</a>, which allows you to enter anything in a post or page if you are an Admin (or in the case of multisite, a Network Admin).  But this new Java applet plugin inherits a number of automatic features from the Processing applet plugin:
<ul>
	<li>It lets you upload JAR files into the WordPress media library, as with any image.</li>
	<li>It offers several loading modes, including one by which the visitor has to click before the JVM and applet are loaded.  No use pissing off your visitors by forcing Java to start as soon as they happen onto your web page, right?</li>
	<li>It works for multiple types of browsers.</li>
	<li>Thanks to the integration of Oracle&#8217;s <a href="http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit">Deployment Toolkit</a>, it can offer to download the Java Plug-in (this probably needs more testing) or update it if the required JVM version doesn&#8217;t match (this feature hasn&#8217;t yet been implemented but it easily could be, if there is demand.)</li>
</ul>
</p>

<h1>Get the Goods</h1>
<p>If you&#8217;re willing to risk your viewers yelling at you for using dinosaur technology, then download this <strong>java-applet-embed</strong> plugin from the <a href="http://wordpress.org/extend/plugins/java-applet-embed/" class="broken_link">wordpress.org plugin directory</a> or download/fork the latest development sources from <a href="https://github.com/huyz/wp-java-applet-embed">github.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/the-easiest-way-to-embed-java-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Google +1 button for WordPress plugin Sharedaddy</title>
		<link>http://huyz.us/2011/google-1-for-sharedaddy-revised/</link>
		<comments>http://huyz.us/2011/google-1-for-sharedaddy-revised/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 13:47:42 +0000</pubDate>
		<dc:creator>huyz</dc:creator>
				<category><![CDATA[Feature]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[Google +1]]></category>
		<category><![CDATA[Jetpack]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plusone]]></category>
		<category><![CDATA[Sharedaddy]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://huyz.ofb.net/?p=68</guid>
		<description><![CDATA[The best WordPress plugin for adding share buttons right now is Sharedaddy and you can download this fork to have a Google +1 button.]]></description>
			<content:encoded><![CDATA[<p class="summary"><strong>TL;DR</strong> The best WordPress plugin for adding share buttons right now is Sharedaddy and you can <a href="https://github.com/huyz/wp-sharedaddy/archives/master">download</a> this fork to have a Google +1 button.</p>

<h1>Best sharing buttons for WordPress</h1>
<p>The Sharedaddy plugin may very well become the standard for adding share/like buttons to <a href="http://wordpress.org/">self-hosted WordPress</a> blogs.  It&#8217;s authored by Automattic, the creators of WordPress, and offers the same functionality as what you&#8217;ll get on the blog host <a href="http://wordpress.com/">wordpress.com</a>. It comes bundled with the indispensable <a href="http://wordpress.org/extend/plugins/jetpack/">Jetpack</a> plugin. Its strong points are a drag-and-drop interface, a focus on only the most popular sharing services (other than Twitter and Facebook, who the hell actually uses all the share buttons you see on the web?), and importantly, click-tracking integration with WordPress.com Stats, which is another module of Jetpack.</p>

<h1>I want Google to be my +1</h1>
<p>
The only short-term problem is that it currently doesn&#8217;t support the recent <a href="http://www.google.com/+1/button/">Google +1 button</a>.  Marco Newmann <a href="http://p0l0.binware.org/index.php/2011/06/03/google-1-for-sharedaddy/">extended Sharedaddy</a> to add it, so there&#8217;s no need to wait for the inevitable Sharedaddy update.
</p>
<p>
But Marco&#8217;s plugin doesn&#8217;t work quite right.  So I modified his <em>modifications</em> to make the button work consistently with all the other services:
<h1><a href="http://huyz.us/files/2011/06/screenshot-sharedaddy-with-google-1.png"><img class="alignright" style="margin-left: 10px" src="http://huyz.us/files/2011/06/screenshot-sharedaddy-with-google-1.png" alt="Sharedaddy with Google +1 button" width="276" height="173" /></a></h1>
<ul>
	<li>I reverted to the &#8220;smart button&#8221; terminology instead of talking about &#8220;count&#8221;.</li>
	<li>All 3 major display styles (smart button, non-smart with text, non-smart without text) are supported, as much as feasible.</li>
	<li>The smart button is always medium-sized, and the non-smart button is always small-sized.</li>
	<li>In all display styles, the buttons and text are cropped and aligned properly, both within the WP Admin and on the rendered web page.</li>
</ul>
</p>

<h1 id="download">Get the goods</h1>
Download my fork of a fork of Sharedaddy 0.2.12 at <a href="https://github.com/huyz/wp-sharedaddy">https://github.com/huyz/wp-sharedaddy</a>.]]></content:encoded>
			<wfw:commentRss>http://huyz.us/2011/google-1-for-sharedaddy-revised/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: huyz.us @ 2016-09-05 05:56:17 -->