<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Christian&#039;s Playground</title>
	<atom:link href="http://christiansplayground.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://christiansplayground.wordpress.com</link>
	<description>Stuff I&#039;m playing with</description>
	<lastBuildDate>Tue, 15 Nov 2011 09:46:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='christiansplayground.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Christian&#039;s Playground</title>
		<link>http://christiansplayground.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://christiansplayground.wordpress.com/osd.xml" title="Christian&#039;s Playground" />
	<atom:link rel='hub' href='http://christiansplayground.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SVN: Filenames with special characters (ä, ö, ü etc.)</title>
		<link>http://christiansplayground.wordpress.com/2011/11/14/svn-filenames-with-special-characters-a-o-u-etc/</link>
		<comments>http://christiansplayground.wordpress.com/2011/11/14/svn-filenames-with-special-characters-a-o-u-etc/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 10:45:16 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=86</guid>
		<description><![CDATA[This message came up once in a while when doing svn diff on one of the repositories I use: svn: Can't convert string from 'UTF-8' to native encoding: Google to the rescue Do something like this: export LC_CTYPE=en_US.UTF-8 and re-run svn diff again. All should be OK now. BTW: I found this hint here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=86&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This message came up once in a while when doing <code>svn diff</code> on one of the repositories I use:</p>
<p><code>svn: Can't convert string from 'UTF-8' to native encoding:</code></p>
<p>Google to the rescue <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Do something like this: <code>export LC_CTYPE=en_US.UTF-8</code> and re-run <code>svn diff</code> again. All should be OK now.</p>
<p>BTW: I found this hint <a href="http://juretta.com/log/2007/05/09/svn_can_t_convert_string_from_utf-8_to_native_encoding_/">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/86/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/86/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/86/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=86&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2011/11/14/svn-filenames-with-special-characters-a-o-u-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>PhpStorm</title>
		<link>http://christiansplayground.wordpress.com/2010/11/19/phpstorm/</link>
		<comments>http://christiansplayground.wordpress.com/2010/11/19/phpstorm/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 14:14:32 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=78</guid>
		<description><![CDATA[Found out about PhpStorm today. It&#8217;s IDE taylored to the needs of PHP developers. I haven&#8217;t really looked at it yet, but it seems like a subset of Jetbrain&#8217;s Java IDE IntelliJ IDEA.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=78&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Found out about <a href="http://www.jetbrains.com/phpstorm/">PhpStorm</a> today. It&#8217;s IDE taylored to the needs of PHP developers. I haven&#8217;t really looked at it yet, but it seems like a subset of Jetbrain&#8217;s Java IDE <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=78&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/11/19/phpstorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS &#8220;Duh!&#8221; moment</title>
		<link>http://christiansplayground.wordpress.com/2010/11/09/css-duh-moment/</link>
		<comments>http://christiansplayground.wordpress.com/2010/11/09/css-duh-moment/#comments</comments>
		<pubDate>Tue, 09 Nov 2010 09:26:15 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=74</guid>
		<description><![CDATA[Yesterday I was checking on this one web page (WP, of course ) I&#8217;m maintaining. What always bugged me, that I always had to put a &#60;div style="text-align:center;"&#62;&#60;/div&#62; around images contained in a post, although they all had a class attribute of &#8220;aligncenter&#8221;. To make a short story even shorter&#8230; In my theme&#8217;s style.css there [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=74&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was checking on this one web page (WP, of course <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) I&#8217;m maintaining.<br />
What always bugged me, that I always had to put a <code>&lt;div style="text-align:center;"&gt;&lt;/div&gt;</code> around images contained in a post, although they all had a class attribute of &#8220;aligncenter&#8221;.<br />
To make a short story even shorter&#8230; In my theme&#8217;s style.css there was no class &#8220;aligncenter&#8221; to be found. Adding these three lines did the job:<br />
<code><br />
.aligncenter {<br />
  display: block;<br />
  margin: auto;<br />
}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/74/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/74/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/74/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=74&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/11/09/css-duh-moment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows XP networking woes</title>
		<link>http://christiansplayground.wordpress.com/2010/09/17/windows-xp-networking-woes/</link>
		<comments>http://christiansplayground.wordpress.com/2010/09/17/windows-xp-networking-woes/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 07:02:57 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[windows]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[nslookup]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=57</guid>
		<description><![CDATA[I was doing a clean install of Windows XP SP3 on an IBM T41 notebook recently. Finding the correct drivers for graphics and WLAN was a bit of a hassle, since there seem to be a gazillion of different models all named &#8220;T41&#8243;. But that&#8217;s not the point here. After I was able to connect [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=57&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was doing a clean install of Windows XP SP3 on an IBM T41 notebook recently.<br />
Finding the correct drivers for graphics and WLAN was a bit of a hassle, since there seem to be a gazillion of different models all named &#8220;T41&#8243;. But that&#8217;s not the point here.<br />
After I was able to connect to my wireless home network (which is set up in a way that I use no domain like &#8220;.local&#8221; or &#8220;.home&#8221;), I discovered some weird thing:<br />
I could not connect to my router through the browser. Evertime I entered <code>http://router</code> as an address IE8 would conduct a search on bing.com for router or router.com or something.<br />
On the command line I discovered that a <code>nslookup router</code> would happily return my router&#8217;s IP address. But a <code>ping router</code> would return something like &#8220;Cannot find server named router&#8221;.<br />
Then I remembered that I had the same trouble with another XP box I set up. And here&#8217;s what I had to do to make the network work correctly:</p>
<ul>
<li>Open the network connections control panel: Start -&gt;Control Panel -&gt; Network connections</li>
<li>Right click on the connection you&#8217;re trying to fix and click on &#8220;Properties&#8221;</li>
<li>Select &#8220;TCP/IP&#8221; and click on &#8220;Properties&#8221;</li>
<li>Click on the &#8220;Advanced&#8221; tab</li>
<li>Click on &#8220;Append these DNS suffixes (in order)&#8221; and then on &#8220;Add&#8221;</li>
<li>Type a &#8220;.&#8221; (dot, full stop) in the text box and close all dialogs with &#8220;OK&#8221;</li>
</ul>
<p>After that everything worked like a charm. I can now browse to <code>http://router</code>, set up my printers by host name instead of using their IP addresses.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=57&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/09/17/windows-xp-networking-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>Widget to display one specified post</title>
		<link>http://christiansplayground.wordpress.com/2010/09/15/widget-to-display-one-specified-post/</link>
		<comments>http://christiansplayground.wordpress.com/2010/09/15/widget-to-display-one-specified-post/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 10:34:02 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=53</guid>
		<description><![CDATA[I replied to a post on the WordPress support forum where someone was trying to put the content of a post into a widget. I think I&#8217;m getting into this WordPress plugin hacking<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=53&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I replied to a post on the <a href="http://wordpress.org/support/topic/widget-to-display-one-specified-post">WordPress support forum</a> where someone was trying to put the content of a post into a widget.<br />
I think I&#8217;m getting into this WordPress plugin hacking <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=53&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/09/15/widget-to-display-one-specified-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress widgets options</title>
		<link>http://christiansplayground.wordpress.com/2010/09/08/wordpress-widgets-options/</link>
		<comments>http://christiansplayground.wordpress.com/2010/09/08/wordpress-widgets-options/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 08:24:21 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=43</guid>
		<description><![CDATA[While coding a small plugin for WordPress, I came across something that took me a while to figure out. The checkboxes in my widget&#8217;s option page were not behaving as I wanted them to. After some searching I found a solution that works for me. In your form method describe the checkbox like this: &#60;input [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=43&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While coding a small plugin for WordPress, I came across something that took me a while to figure out. The checkboxes in my widget&#8217;s option page were not behaving as I wanted them to.<br />
After some searching I found a solution that works for me.<br />
In your form method describe the checkbox like this:<br />
<code><br />
&lt;input type=&quot;checkbox&quot; id=&quot;option_1&quot; name=&quot;option_1&quot; &lt;?php checked((bool) $instance['option_1']) ?&gt;  /&gt;<br />
</code><br />
And in your update method do something like this:<br />
<code><br />
function update($new_instance, $old_instance)<br />
{<br />
&nbsp;$new_instance = (array) $new_instance;<br />
&nbsp;$instance = array('option_1' =&gt; 0);<br />
&nbsp;foreach ($instance as $field =&gt; $val)<br />
&nbsp;{<br />
&nbsp;&nbsp;if (isset($new_instance[$field]))<br />
&nbsp;&nbsp;&nbsp;$instance[$field] = 1;<br />
&nbsp;}<br />
&nbsp;return $instance;<br />
}<br />
</code><br />
This keeps my checkboxes in sync with reality.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/43/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/43/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/43/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=43&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/09/08/wordpress-widgets-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>www.quirksmode.org</title>
		<link>http://christiansplayground.wordpress.com/2010/09/02/www-quirksmode-org/</link>
		<comments>http://christiansplayground.wordpress.com/2010/09/02/www-quirksmode-org/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 13:56:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=40</guid>
		<description><![CDATA[Great for looking up browser compatibility stuff http://www.quirksmode.org/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=40&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Great for looking up browser compatibility stuff<br />
<a href="http://www.quirksmode.org/">http://www.quirksmode.org/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=40&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/09/02/www-quirksmode-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress › Support » [Plugin: NextGEN Gallery] How to envoke a lightbox gallery with just one thumbnail</title>
		<link>http://christiansplayground.wordpress.com/2010/09/01/wordpress_support-%c2%bb-plugin-nextgen-gallery-how-to-envoke-a-lightbox-gallery-with-just-one-thumbnail/</link>
		<comments>http://christiansplayground.wordpress.com/2010/09/01/wordpress_support-%c2%bb-plugin-nextgen-gallery-how-to-envoke-a-lightbox-gallery-with-just-one-thumbnail/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 15:15:14 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=35</guid>
		<description><![CDATA[WordPress › Support » [Plugin: NextGEN Gallery] How to envoke a lightbox gallery with just one thumbnail. Answer: Put these lines into NextGEN Gallery&#8217;s stylesheet: .ngg-gallery-thumbnail-box { display:none; !important;} #ngg-image-1 {display: block; !important;}<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=35&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href='http://wordpress.org/support/topic/plugin-nextgen-gallery-how-to-envoke-a-lightbox-gallery-with-just-one-thumbnail'>WordPress › Support » [Plugin: NextGEN Gallery] How to envoke a lightbox gallery with just one thumbnail</a>.</p>
<p>Answer:<br />
Put these lines into NextGEN Gallery&#8217;s stylesheet:<br />
<code><br />
.ngg-gallery-thumbnail-box { display:none; !important;}<br />
#ngg-image-1 {display: block; !important;}<br />
</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=35&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/09/01/wordpress_support-%c2%bb-plugin-nextgen-gallery-how-to-envoke-a-lightbox-gallery-with-just-one-thumbnail/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>A small WordPress plugin</title>
		<link>http://christiansplayground.wordpress.com/2010/08/30/a-small-wordpress-plugin/</link>
		<comments>http://christiansplayground.wordpress.com/2010/08/30/a-small-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 13:15:51 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[slideshow]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=13</guid>
		<description><![CDATA[This plugin inserts the necessary script and stylesheet for a JavaScript image slideshow found here: http://www.dhtmlgoodies.com/index.html?whichScript=image_slideshow. It works great with the excellent WordPress gallery plugin myGallery. There&#8217;s a couple of steps to make this work: Install the myGallery plugin and make sure it works In your wordpress installation create a folder &#8220;image-slideshow&#8221; under the &#8220;wp-content/plugins&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=13&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This plugin inserts the necessary script and stylesheet for a JavaScript image slideshow found here: <a href="http://www.dhtmlgoodies.com/index.html?whichScript=image_slideshow">http://www.dhtmlgoodies.com/index.html?whichScript=image_slideshow</a>.<br />
It works great with the excellent WordPress gallery plugin <a href="http://www.wildbits.de/mygallery/">myGallery</a>.<br />
There&#8217;s a couple of steps to make this work:</p>
<ul>
<li>Install the myGallery plugin and make sure it works</li>
<li>In your wordpress installation create a folder &#8220;image-slideshow&#8221; under the &#8220;wp-content/plugins&#8221; folder.</li>
<li>Create a file &#8220;image-slideshow.php&#8221; and save the code shown below.</li>
<li>Copy the folders (css and js) and files for the slideshow downloaded from dhtmlgoodies.com into the image-slideshow folder.</li>
<li>You need to make two small patches to the image-slideshow.js file:<br />
Replace this line<br />
<code><br />
this.getElementsByTagName('IMG')[0].src = '/images/' + this.id + '_over.gif';<br />
</code><br />
with these lines<br />
<code><br />
var src = this.getElementsByTagName('IMG')[0].src;<br />
var idx = src.lastIndexOf("/");<br />
var newSrc = src.substr(0, idx);<br />
newSrc = newSrc + "/" + this.id + '_over.gif';<br />
this.getElementsByTagName('IMG')[0].src = newSrc;<br />
</code><br />
and this line<br />
<code><br />
this.getElementsByTagName('IMG')[0].src = '/images/' + this.id + '.gif';<br />
</code><br />
with these<br />
<code><br />
var src = this.getElementsByTagName('IMG')[0].src;<br />
var idx = src.lastIndexOf("/");<br />
var newSrc = src.substr(0, idx);<br />
newSrc = newSrc + "/" + this.id + '.gif';<br />
this.getElementsByTagName('IMG')[0].src = newSrc;<br />
</code>
</li>
<li>Activate the plugin in the WordPress admin panel.</li>
<li>Create a new post or page with a myGallery gallery in it and surround the [mygal] tag with [image-slideshow] and [/image-slideshow] tags.</li>
</ul>
<pre>
&lt;?php
/*
Plugin Name: Image Slideshow Plugin
Plugin URI: http://christiansplayground.wordpress.com/category/image-slideshow/
Description: Includes image slideshow javascript and CSS
Version: 1.0
Author: Christian Schmitt
Author URI: http://christiansplayground.wordpress.com
License: GPL2
*/

if (!class_exists("ImageSlideshow"))
{
  class ImageSlideshow {
  public $theStart;
  public $theEnd;
  public static $search_start = "/\[image-slideshow\]/";
  public static $search_end = "/\[\/image-slideshow\]/";

  function ImageSlideshow() //constructor
  {
    $this-&gt;theStart = '&lt;div id="galleryContainer"&gt;&lt;div id="arrow_left"&gt;&lt;img src="'
. WP_PLUGIN_URL . '/slideshow/images/arrow_left.gif"&gt;&lt;/div&gt;&lt;div id="arrow_right"&gt;&lt;img src="'
. WP_PLUGIN_URL . '/slideshow/images/arrow_right.gif"&gt;&lt;/div&gt;&lt;div id="theImages"&gt;';
    $this-&gt;theEnd = '&lt;div id="slideEnd"&gt;&lt;/div&gt;&lt;/div&gt;';
  }

  function image_slideshow_callback($content)
  {
    $content = preg_replace(ImageSlideshow::$search_start,
      $this-&gt;theStart, $content);
    $content = preg_replace(ImageSlideshow::$search_end,
      $this-&gt;theEnd, $content);

    return $content;
  }
} //End Class ImageSlideshow

if (class_exists("ImageSlideshow"))
{
  $imageSlideshow = new ImageSlideshow();
}
//Actions and Filters
if (isset($imageSlideshow))
{
  if (!is_admin())
  {
    // Styles and scripts
    wp_enqueue_style("image-slideshow",
      WP_PLUGIN_URL . '/slideshow/css/image-slideshow.css',
      null, false, "screen");
    wp_enqueue_script("image-slideshow",
      WP_PLUGIN_URL . '/slideshow/js/image-slideshow.js',
      null, false, false); 

    //Actions

    //Filters
    add_filter('the_content',
      array(&amp;$imageSlideshow, 'image_slideshow_callback'));
  }
}

?&gt;
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=13&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/08/30/a-small-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse Network Preferences</title>
		<link>http://christiansplayground.wordpress.com/2010/08/26/eclipse-network-preferences/</link>
		<comments>http://christiansplayground.wordpress.com/2010/08/26/eclipse-network-preferences/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 13:38:32 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
				<category><![CDATA[Snippets]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[rcp]]></category>

		<guid isPermaLink="false">http://christiansplayground.wordpress.com/?p=8</guid>
		<description><![CDATA[To enable Eclipse&#8217;s network preference sheet in your own RCP application, just add “org.eclipse.ui.net” and “org.eclipse.core.net” as dependencies to your plugin.xml and you have the network preferences sheet available in your own application.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=8&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To enable Eclipse&#8217;s network preference sheet in your own RCP application, just add “org.eclipse.ui.net” and “org.eclipse.core.net” as dependencies to your plugin.xml and you have the network preferences sheet available in your own application.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/christiansplayground.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/christiansplayground.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/christiansplayground.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=christiansplayground.wordpress.com&amp;blog=15425684&amp;post=8&amp;subd=christiansplayground&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://christiansplayground.wordpress.com/2010/08/26/eclipse-network-preferences/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5cc3653ee90016a7050ca9d9a141d22e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">christian</media:title>
		</media:content>
	</item>
	</channel>
</rss>
