<?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>Coffee on the Keyboard &#187; l10n</title>
	<atom:link href="http://coffeeonthekeyboard.com/tag/l10n/feed/" rel="self" type="application/rss+xml" />
	<link>http://coffeeonthekeyboard.com</link>
	<description>by James Socol</description>
	<lastBuildDate>Fri, 20 Apr 2012 22:17:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>		<item>
		<title>WP: Better Search Widget 1.1</title>
		<link>http://coffeeonthekeyboard.com/wp-better-search-widget-1-1-232/</link>
		<comments>http://coffeeonthekeyboard.com/wp-better-search-widget-1-1-232/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 17:05:05 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/?p=232</guid>
		<description><![CDATA[Better Search Widget 1.1 is a significant upgrade to Better Search Widget that adds new features and fixes an old bug with internationalization. Features (New features in bold.) Optional default value. Optional, custom widget title. Optional onfocus and onblur listeners. Optional, customizable focus and blur colors. Custom button value. Custom field size. The built-in search [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://coffeeonthekeyboard.com/wp-content/uploads/2009/07/better-search-widget.zip">Better Search Widget 1.1</a> is a significant upgrade to <a href="http://coffeeonthekeyboard.com/wp-plugin-better-search-widget-113/" title="Better Search Widget">Better Search Widget</a> that adds new features and fixes an old bug with internationalization.</p>
<h3>Features</h3>
<p>(New features in bold.)</p>
<ul>
<li><strong>Optional default value</strong>.</li>
<li><strong>Optional,</strong> custom widget title<strong>.</strong></li>
<li><strong>Optional onfocus and onblur listeners.</strong></li>
<li><strong>Optional, customizable focus and blur colors.</strong></li>
<li>Custom button value.</li>
<li>Custom field size.</li>
</ul>
<p>The built-in search widget has only one of these features, the optional, custom title.</p>
<h4>Onfocus and Onblur</h4>
<p>In order to use the blur and focus colors, you must enable the onfocus and onblur event listeners. In order to use the listeners, you must specify a default value (otherwise none of this makes sense). Here&#8217;s an example:</p>
<div style="border: 1px solid #333; margin: 0.5em auto; padding: 0.7em 0; width: 50%; text-align: center;">
<form>
<input style="color: #999; width: 80%;" type="text" value="Default" onfocus="this.style.color='#333';if('Default'==this.value)this.value='';" onblur="if(''==this.value){this.style.color='#999';this.value='Default'}" /></form>
</div>
<h3>Bug Fixes</h3>
<p>A pretty serious typo meant that none of the internationalization code worked correctly. This has been fixed, and en_US, en_GB, and fr_FR localizations are available. de_DE is coming. If you&#8217;d like to translate, there is a .pot file included in the languages directory.</p>
<h3>License</h3>
<p>Better Search Widget is released under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT License</a>. If you use it, or have suggestions for new features or bug fixes, let me know!</p>
<h3>Getting It</h3>
<p>You can download <a href="http://coffeeonthekeyboard.com/wp-content/uploads/2009/07/better-search-widget.zip">Better Search Widget 1.1</a> now in a Zip file. Or, to save yourself some trouble,  you can check it out of Subversion from</p>
<pre>svn co svn://jamessocol.com/better-search-widget/tags/1.1.0 ./better-search-widget</pre>
<p>(Run that in your <code>wp-content/plugins</code> directory.) Subversion will make it easiest to upgrade later.</p>
<h3>Roadmap</h3>
<p>Soon, though probably not today, I will be releasing Better Search Widget 2, which will take advantage of the new Widget API in WordPress 2.8. This will add support for multiple instances of the widget, but will require at least WordPress 2.8. You should upgrade, anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/wp-better-search-widget-1-1-232/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Widget l10n</title>
		<link>http://coffeeonthekeyboard.com/widget-l10n-230/</link>
		<comments>http://coffeeonthekeyboard.com/widget-l10n-230/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 04:36:43 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://coffeeonthekeyboard.com/?p=230</guid>
		<description><![CDATA[I spent some of today working on bringing a couple of WordPress widgets up-to-date (Better Search and Most Comments) only to discover there is a new widget API. I guess I haven&#8217;t been paying attention. I&#8217;ll probably start some 2.0 branches tomorrow to take advantage of the new API. I wish I didn&#8217;t know how [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some of today working on bringing a couple of WordPress widgets up-to-date (<a href="http://jamessocol.com/projects/better-search-widget.php">Better Search</a> and <a href="http://jamessocol.com/projects/most-comments-widget.php">Most Comments</a>) only to discover there is a <a href="http://codex.wordpress.org/Widgets_API#Developing_Widgets_on_2.8.2B">new widget API</a>. I guess I haven&#8217;t been paying attention.</p>
<p>I&#8217;ll probably start some 2.0 branches tomorrow to take advantage of the new API. I wish I didn&#8217;t know how many people don&#8217;t keep their WordPress installations up to date, so I wouldn&#8217;t care about backwards compatibility.</p>
<p>At least both widgets got nice new, and functional, internationalization (i18n) code and new localization (l10n) files.</p>
<p>And BSW got a good feature update, incorporating some suggestions from <a href="http://mjml.de/">Marco Jung</a>, who is also, kindly, doing a German localization, and a few of my own. The built-in search widget has stepped up it&#8217;s game, and fixed the thing BSW was originally designed to fix (no widget title) so I have a higher bar to clear to justify the name &#8220;<em>Better</em> Search Widget.&#8221;</p>
<p>I&#8217;ll write up the new features tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://coffeeonthekeyboard.com/widget-l10n-230/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

