<?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>Remkus de Vries</title>
	<atom:link href="http://remkusdevries.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://remkusdevries.com</link>
	<description>Driven by curiosity and questions authority</description>
	<lastBuildDate>Thu, 26 Apr 2012 21:24:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>I think I have found a new hobby</title>
		<link>http://remkusdevries.com/i-think-i-have-found-a-new-hobby/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=i-think-i-have-found-a-new-hobby</link>
		<comments>http://remkusdevries.com/i-think-i-have-found-a-new-hobby/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 09:56:37 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=4304</guid>
		<description><![CDATA[My buddy Noel Tock just shared an awesome video with me that makes me wanna drop every single hobby I have and go for this: Are you with me?]]></description>
			<content:encoded><![CDATA[<p>My buddy <a href="http://noeltock.com" title="Noel Tock">Noel Tock</a> just shared an awesome video with me that makes me wanna drop every single hobby I have and go for this:</p>
<p><iframe src="http://player.vimeo.com/video/35981251" width="640" height="360" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>Are you with me?</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/i-think-i-have-found-a-new-hobby/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Translating Genesis; the easy way</title>
		<link>http://remkusdevries.com/translating-genesis-the-easy-way/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=translating-genesis-the-easy-way</link>
		<comments>http://remkusdevries.com/translating-genesis-the-easy-way/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 21:27:05 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=343</guid>
		<description><![CDATA[A blog post with the title &#8216;Translating Genesis&#8217; could&#8217;ve easily been about Nephilim and / or Sons of the Gods&#8230; but no. Not this time . This post is about translating the WordPress Genesis Framework into your native tongue. For quite a while I have been helping people out in the translations section of the<a class="more-link" href="http://remkusdevries.com/translating-genesis-the-easy-way/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>A blog post with the title &#8216;Translating Genesis&#8217; could&#8217;ve easily been about Nephilim and / or Sons of the Gods&#8230; but no. Not this time <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . This post is about translating the <a href="http://www.forsite.nu/go/genesis/">WordPress Genesis Framework</a> into your native tongue.</p>
<p>For quite a while I have been helping people out in the translations section of the Genesis Support forum as a translations expert, but  one thing that people seemed to find difficult is uploading the (proper) <code>.mo</code> and <code>.po</code> files to the proper folder. Even the <a href="http://remkusdevries.com/maintain-translation-upgrade/">little hack</a> I provided in the Genesis tutorials appeared to be too difficult for most people not too familiar with code.<span id="more-343"></span></p>
<p>So.. a plugin to the rescue right? Right! Introducing the <a title="Genesis Translations" href="http://remkusdevries.com/plugins/genesis-translations/">Genesis Translations</a> plugin. This plugin will take all the hassle away and automagically translate Genesis. Just like that.</p>
<p>Currently the following languages are included:</p>
<ul>
<li>Dutch &#8211; nl_NL (Nederlands)</li>
<li>German &#8211; de_DE (Deutsch)</li>
<li>French &#8211; fr_FR (Français)</li>
<li>Spanish &#8211; es_ES (Español)</li>
<li>Italian &#8211; it_IT (Italiano)</li>
<li>Finnish &#8211; fi</li>
<li>Swedish &#8211; sv_SE</li>
<li>Indonesian id_ID</li>
<li>Portuguese-Brazilian &#8211; pt_BR</li>
<li>Polish &#8211; pl_PL ( 96% ready )</li>
<li>Hebrew &#8211; he_IL ( 95% ready )</li>
<li>Japanese &#8211; ja( 84% ready )</li>
<li>Romanian &#8211; ro_RO ( 84% ready )</li>
</ul>
<p>I will be updating the plugin frequently and not just when Genesis updates. I  also plan to update the plugin when important improvements to translations have been made and when additional languages are ready enough to be added. </p>
<p><iframe src="http://www.screenr.com/embed/pD3s" width="640" height="390" frameborder="0"></iframe></p>
<p>So, what if your native tongue is not currently included? Easy, just register yourself at the <a href="http://translate.studiopress.com/home/">StudioPress Translation site</a> and with that username you can start <a href="http://translate.studiopress.com">translating Genesis here</a> &#8211; after I have added your language as a project.</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/translating-genesis-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>10 Things you did not know about WordPress</title>
		<link>http://remkusdevries.com/10-things-you-did-not-know-about-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=10-things-you-did-not-know-about-wordpress</link>
		<comments>http://remkusdevries.com/10-things-you-did-not-know-about-wordpress/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 14:25:17 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[WordCamp]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=326</guid>
		<description><![CDATA[One thing I love equally as much as WordPress is sharing (my) knowledge. If I&#8217;m asked to share my knowledge about WordPress then I&#8217;m most definitely winning. Big time. Recently I was asked to speak at WordCamp Sevilla in Spain, which I gladly did. WordCamp Sevilla was a two day event and I got to<a class="more-link" href="http://remkusdevries.com/10-things-you-did-not-know-about-wordpress/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>One thing I love equally as much as WordPress is sharing (my) knowledge. If I&#8217;m asked to share my knowledge about WordPress then I&#8217;m most definitely winning. Big time. Recently I was asked to speak at WordCamp Sevilla in Spain, which I gladly did. WordCamp Sevilla was a two day event and I got to do a presentation on both days. Fun times for sure.</p>
<p>This post is about the first presentation I did which I dubbed: 10 Things you did not know about WordPress. I&#8217;m assuming a lot here, but just roll with me <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .<span id="more-326"></span></p>
<ol>
<li>
<h4>Empty Trash Automagically</h4>
<p>WordPress will allow you to delete it&#8217;s Trash can on set intervals. This is extremely handy when you&#8217;ve got clients using your site expecting that hitting <em>delete</em> really means delete. All you have to do is add this piece of code to your <code>wp-config.php</code>:
<pre><code>define( 'EMPTY_TRASH_DAYS', 1 );</code></pre>
<p> Obviously the 1 stands for the number of days you intend to keep the deleted posts and pages available in the WordPress trash can.</p>
</li>
<li>
<h4>Change Your Autosave Interval</h4>
<p>When you&#8217;ve worked on a post before and suddenly you&#8217;ve lost your internet connection and upon reboot discovered your post was nowhere near as complete as you thought you had, then this solution is for you. WordPress will actually allow you to set the autosave interval to the exact amount of seconds you so desire. Pretty nifty eh? Again, <code>wp-config.php</code> comes to the rescue here. Just add the following code and specify the preferred amount of seconds.
<pre><code>define( 'AUTOSAVE_INTERVAL‘, 160 );</code></pre>
</p>
</li>
<li>
<h4>Edit Images</h4>
<p>Most people don&#8217;t know this, but once you&#8217;ve finished uploading your images to WordPress, there are quite a few things left you can do with said images. A while ago I made a screencast demonstrating some of the possibilities.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="345" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="i=73647" /><param name="allowFullScreen" value="true" /><param name="src" value="http://screenr.com/Content/assets/screenr_1116090935.swf" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="345" src="http://screenr.com/Content/assets/screenr_1116090935.swf" allowfullscreen="true" flashvars="i=73647"></embed></object></p>
</li>
<li>
<h4>Maintenance.php</h4>
<p>When you update WordPress, WordPress plugins or WordPress themes you, as a visitor, sometimes will notice a notification that the site is currently under maintenance. This notification will be displayed without any style on a white background. Depending on your server setup this message might actually be displayed a few minutes instead of seconds. This, of course, looks awkward. Luckily WordPress allows for you to change how that plain look. All you need to do is create a <code>maintenance.php</code> file and place that in your <code>/wp-content/</code> folder. An example can be <a href="http://xtremelysocial.com/2010/how-to-make-an-awesome-maintenance-mode-screen-for-wordpress/">found here</a>. Basically, you can use whatever <acronym title="HyperText Markup Language">HTML</acronym> and <acronym title="Pre-Hypertext Processing">PHP</acronym> you like, but no WordPress <acronym title="Pre-Hypertext Processing">PHP</acronym> code as WordPress is not loaded when viewing that page.</p>
</li>
<li>
<h4>oEmbed</h4>
<p>I am amazed how many of you out there are completely ignorant about what I consider one of WordPress&#8217; best <em>media</em> functions. oEmbed allows you to paste a single <acronym title="Uniform Resource Locator">URL</acronym> from, for example, YouTube, Vimeo, Flickr in your <acronym title="HyperText Markup Language">HTML</acronym> editor and WordPress will automagically use the embed code and display the rich media according to plan. No need for WordTube kinda WordPress plugins. Just use core. Check the <a href="http://codex.wordpress.org/Embeds">codex page on oEmbed for a full list</a>.</p>
</li>
<li>
<h4>Media Settings</h4>
<p>Most WordPress installations I come across with don&#8217;t make proper use of the Media settings. What I mean with that you can make use of the settings there. For instance, if your max width for a post is 580px you can set your medium width to that width. This way, when selecting to add media via the editor, you can pick a format that will automatically have your images perfectly fitted to the max with of your theme. No need to fiddle around in photoshop beforehand.</p>
</li>
<li>
<h4>Use Child Themes</h4>
<p>If you&#8217;re still not using child themes in this day and age, then you really need to sit down and think this through. There is not easier way to develop, both in effort and time. One of the many reasons I use Genesis as my parent theme framework is because it&#8217;s fully optimized for working with child themes. <a href="http://remkusdevries.com/go/studiopress-child-theme-tutorial/">Discover more here</a>.</p>
</li>
<li>
<h4>Use the fullscreen mode</h4>
<p>WordPress 3.2 came with a beautiful new and improved fullscreen editor. You can find it your TinyMCE menu bar. Go ahead and try it!</p>
</li>
<li>
<h4>Screen options. Try them.</h4>
<p>One of the things I do by default when handing over a carefully crafted custom WordPress site to my client is making sure his login will show only what is necessary for him. Meaning, I remove everything on each and every single screen WordPress provides that doesn&#8217;t need to be there. How you ask? Easy.. just use the <em>Screen Options</em> menu on the right top of your Dashboard. Every single layout will have some options.</p>
</li>
<li>
<h4>We&#8217;ve got shortcuts.</h4>
<p>For all you shortcut lovers out there, WordPress has a bunch of those too. There are shortcuts for <a href="http://codex.wordpress.org/Keyboard_Shortcuts">WordPress itself</a>, but there are also some <a href="http://en.support.wordpress.com/editors/keyboard-shortcuts/">additional shortcuts</a> for working in <a href="http://nick.boldison.com/wordpress/wordpress-tinymce-text-editor-shortcuts/">TinyMCE</a>.You can even <a href="http://wordpress.stackexchange.com/questions/33444/how-to-add-tinymce-keyboard-shortcut">add your own</a>!</p>
</li>
</ol>
<p>For good measure, my minimal presentation can be found on Slideshare.</p>
<div style="width:425px" id="__ss_10253732"><iframe src="http://www.slideshare.net/slideshow/embed_code/10253732" width="525" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
<h4>Back to you..</h4>
<p>Hope you had some fun discoveries reading through this list and feel free to share your own tips in the comment section.</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/10-things-you-did-not-know-about-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to use GlotPress for your translations</title>
		<link>http://remkusdevries.com/how-to-use-glotpress-for-your-translations/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-glotpress-for-your-translations</link>
		<comments>http://remkusdevries.com/how-to-use-glotpress-for-your-translations/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 09:43:37 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[GlotPress]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=283</guid>
		<description><![CDATA[From the first day I started using GlotPress for translating WordPress into Dutch and Frisian, I fell in love with how GlotPress facilitates the actual process of translating. Before GlotPress I relied on PoEdit, but I felt very little love for how PoEdit worked. GlotPress on the other hand, as a webtool, makes translating software<a class="more-link" href="http://remkusdevries.com/how-to-use-glotpress-for-your-translations/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>From the first day I started using <a title="GlotPress" href="http://glotpress.org">GlotPress</a> for translating WordPress into <a title="Dutch WordPress site" href="http://nl.wordpress.org">Dutch</a> and <a title="Frisian WordPress site" href="http://fy.wordpress.org">Frisian</a>, I fell in love with how GlotPress facilitates the actual process of translating. Before GlotPress I relied on PoEdit, but I felt very little love for how PoEdit worked. GlotPress on the other hand, as a webtool, makes translating software as/with a team an actual possibility. For this very reason alone I installed my own installation about a year ago.</p>
<p>GlotPress is based on <a href="http://backpress.org/">BackPress</a>, but it is still in early stages of development. Stable enough to provide us with <a href="http://translate.wordpress.org">a platform for teams to translate</a>, but it&#8217;s certainly not a finished product. As a translation expert / moderator on the StudioPress forums I installed a GlotPress installation for <a href="http://translate.studiopress.com/">translating Genesis, </a> and when Joost de Valk from <a title="Yoast.com" href="http://yoast.com ">Yoast.com</a> mentioned to me he was working on making his <a title="WordPress SEO" href="http://yoast.com/articles/wordpress-seo/">WordPress SEO</a> Plugin fully translated,  I suggested to him he&#8217;d start using GlotPress as well. A few moments later I had installed Joost a GlotPress installation for <a href="http://translate.yoast.com/">Yoast.com</a>.</p>
<p>So, on to the topic at hand. How to use GlotPress for your translations. Follow the following steps and you should be good to go.<span id="more-283"></span></p>
<h3>Installing GlotPress</h3>
<p>If you know how to install WordPress then you know how to install GlotPress. The exception being that GlotPress doesn&#8217;t have a fancy installer. You need to find the latest version of <a title="Trunk folder on SVN GlotPress" href="http://svn.glotpress.org/trunk/">GlotPress on in <acronym title="Subversion">SVN</acronym> trunk</a>. After you have uploaded all the files you need to edit <code>gp-config-sample.php</code> to <code>gp-config.php</code> and edit the database data. Upload it back to your GlotPress folder and run the installation script by visiting the site url. The only extra thing you have to do is add a <code>.htaccess</code> file with the following content:<br />
<code> # BEGIN GlotPress .<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
# END GlotPress</code></p>
<h3>Configuring GlotPress</h3>
<p>By default GlotPress will allow you to login with username <code>admin</code> and password <code>a</code>, but as you can imagine, this is not the safest solution. Because GlotPress is based on BackPress it does not have a user interface. Fortunately, there is a solution for this. Additionally, since you&#8217;re using GlotPress to provide a platform for people to contribute in translating your software, you will also need a way for people to register. We can solve both those issues by creating a sub-folder in which you&#8217;ll install a WordPress installation. Mind you, the need to share the same database. Why you ask? Well, when you check the <code>gp-config.php</code> file you have just created you&#8217;ll notice that somewhere down the bottom of that file the following code:</p>
<pre class="brush: php; title: ; notranslate">/**
 * Custom users and usermate tables for integration with WordPress user system
 *
 * You might want to delet your current permissions, since they will point to different
 * users in the custom table. You can use `php scripts/wipe-permissions.php` for that.
 *
 * If you start with fresh permissions, you can admins via `php scripts/add-admin.php`
 */
// define('CUSTOM_USER_TABLE', 'wp_users');
// define('CUSTOM_USER_META_TABLE', 'wp_usermeta');</pre>
<p>All you need to do is uncomment the first define and change to wp_users to whatever database prefix you&#8217;ve decided to use for your WordPress installation. This makes GlotPress use the users table of your WordPress installation, and you&#8217;ll notice you can log into GlotPress immediately after you&#8217;ve uploaded <code>gp-config.php</code> again.</p>
<p>Note, though the default WordPress registration function will work, it&#8217;s much cooler to use <a href="http://wpplus.nl/go/gravityforms/">Gravity Forms</a> and their User Registration plugin to do your registering. That&#8217;s what I used for <a href="http://wpplus.nl/go/studiopress/">StudioPress</a>&#8216; and Yoast&#8217;s.</p>
<h3>Create an admin</h3>
<p>You can log in now, but you can&#8217;t actually create projects just yet. You need to do one more thing and you&#8217;ll need <acronym title="Secure Shell">SSH</acronym> access to your GlotPress installation for that. Log-in via ssh on your server, navigate to the <code>/scripts</code> folder and execute the script via</p>
<pre class="brush: plain; title: ; notranslate">$ php /add-admin.php</pre>
<p>. So if <code>remkus</code>is the username you&#8217;re using the script would look like this:</p>
<pre class="brush: plain; title: ; notranslate">$ php add-admin.php remkus</pre>
<p>. This will turn the specified user into the admin. You can now create projects, create sub-projects, translation sets, import <code>.pot</code> files and import existing .po files for current translations.</p>
<h3>Create Validators</h3>
<p>GlotPress works with admin, validators and translator roles. You&#8217;ve already made yourself an admin, and everyone who registered via your WordPress site is automatically made a translator. The only thing left for you to do is upgrade the proper usernames to the validator role. You can do this in the admin menu <em>Permissions</em> per project. This will allow for validators to approve, reject and edit strings. Just the thing you want as you&#8217;re not going to be able to understand every single language you&#8217;re going to have in there <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Tips for creating a solid translation set</h3>
<p>Working with GlotPress is very easy. You can simply double click on the string you&#8217;d like to translate and either manually translate or see what the Google Translate option does. Either way, you have to make sure that the translations you create use the same code / <acronym title="HyperText Markup Language">HTML</acronym> in the translated version of the strings as the original. As a validotor you can check out the Warnings listing. This will show you all the strings that have errors in them. You will want to remove / edit those first before you start bulk approve strings.</p>
<p>When you create a project in GlotPress you have the option to add a Source file <acronym title="Uniform Resource Locator">URL</acronym>. This usually being the <acronym title="Subversion">SVN</acronym> repo link. In Joost&#8217;s WordPress SEO plugin&#8217;s case you&#8217;ll end with this link: <code>http://plugins.trac.wordpress.org/browser/wordpress-seo/trunk/%file%#L%line%</code>. By adding this url you add a reference to the translation strings. You can then click on the reference link and see where in the code the translation string is used.</p>
<h3>There will be bugs</h3>
<p>As you probably have gathered, installing GlotPress is not for you n00bs out there. You need to be familiar with <acronym title="Subversion">SVN</acronym>, <acronym title="Secure Shell">SSH</acronym>, <acronym title="Pre-Hypertext Processing">PHP</acronym> to name but a few acronyms <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Also, GlotPress is not a finished product, so there will be bugs. Find one? Please report them to <a href="http://glotpress.trac.wordpress.org/">GlotPress trac</a>.</p>
<h3>Need more?</h3>
<p>If there&#8217;s a need for more tips in the shape of a screen-cast, just let me know in the comments.</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/how-to-use-glotpress-for-your-translations/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>When sharing WordPress related code snippets, I can haz standards please?</title>
		<link>http://remkusdevries.com/when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please</link>
		<comments>http://remkusdevries.com/when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 15:03:53 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=252</guid>
		<description><![CDATA[I love WordPress. Just absolutely love it. One of the things I love especially is how you can alter the output by adding just a small snippet of code. Turns out I&#8217;m not the only one who loves doing that because when you&#8217;re googling any given WordPress related subject, the pure amount of hits on<a class="more-link" href="http://remkusdevries.com/when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>I love WordPress. Just absolutely love it. One of the things I love especially is how you can alter the output by adding just a small snippet of code. Turns out I&#8217;m not the only one who loves doing that because when you&#8217;re googling any given WordPress related subject, the pure amount of hits on Google can be overwhelming. I love how you can easily copy any of those snippets of code and put &#8216;em to use on your site.</p>
<p>But, I believe there&#8217;s something missing with all those snippets, at least in most cases. Two things: proper <a title="Article about WordPress coding standards on the Codex" href="http://codex.wordpress.org/WordPress_Coding_Standards">WordPress coding standards</a> and <a title="Article on the Codex about Inline Documentation" href="http://codex.wordpress.org/Inline_Documentation">inline documentation</a>. Of those two articles on the Codex there are a few things that you should know about &#8211; <a href="http://codex.wordpress.org/WordPress_Coding_Standards#Space_Usage">whitespace</a>, <a href="http://codex.wordpress.org/WordPress_Coding_Standards#Indentation">indentation</a> &amp; <a href="http://codex.wordpress.org/Inline_Documentation#Function_PHPdoc">DocBlocks</a>.</p>
<p>Here’s why. <span id="more-252"></span>Not only does it make sense to adhere to WordPress coding standards when you’re building code that’s supposed to work with WordPress, but it also makes your code look good. Using function-level DocBlocks makes so much more sense when you think about it. When sharing your snippet – be it long or short – with tags like <code>@author</code> and <code>@link</code>, for example, make a few things a bit more obvious. Specifically, who the author is of the code, copyright information and the url explaining the snippet a bit more (most likely the article you have just written for that snippet). Code standards help especially in these two regards:</p>
<ol>
<li>Consistency between the code you your readers will have in their projects, and the code snippet you&#8217;re giving them &#8211; no odd coding styles to have to reformat.</li>
<li>Consistency when different developers work on the same bit of code &#8211; no time spent having to learn someone else&#8217;s coding style.</li>
</ol>
<p>Consider the following two examples:</p>
<p>Before:</p>
<script src="https://gist.github.com/1234987.js"></script><noscript><p>View the code on <a href="https://gist.github.com/1234987">Gist</a>.</p></noscript>
<p>After:</p>
<script src="https://gist.github.com/1235165.js"></script><noscript><p>View the code on <a href="https://gist.github.com/1235165">Gist</a>.</p></noscript>
<p>Mind you, this is not the most complicated function ever built and could thus probably do without the comments, but I wanted to get a point across here, remember? You&#8217;ll see I&#8217;ve also prefixed my functions properly, but I didn&#8217;t need to point that out to you guys, right? You all were obviously already doing that <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . I am by no means an expert on these matters, but I am inspired by <a title="Gary Jones" href="http://garyjones.co.uk">Gary Jones</a> &#8211; who helped write this post and whose expertise in this matter I hold in very high regard. Seeing him work on updating the code <a href="http://www.forsitemedia.nl/go/genesis" title="Genesis Theme Framework. Go get it!">Genesis</a> uses to the proper standards has inspired me to write this post.</p>
<p>So how about it? I would love to see sites like <a href="http://www.wprecipes.com/">WPRecipes</a>, <a href="http://wp-snippets.com/"><acronym title="WordPress">WP</acronym>-Snippets</a> and <a href="http://www.wpbeginner.com/">WPBeginner</a> adopt this style of writing code. I mean, isn&#8217;t this where the whole <em>Code is Poetry</em> starts? Also, consider pasting snippets on <a href="https://gist.github.com/">Github&#8217;s gists</a>. Kinda like <a href="http://pastebin.com">Pastebin</a>, but cooler in my opinion. Your snippets are automagically turned into a Git repository. Making collaboration and code improving easier to do.</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Looking forward to PJ20</title>
		<link>http://remkusdevries.com/looking-forward-to-pj20/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=looking-forward-to-pj20</link>
		<comments>http://remkusdevries.com/looking-forward-to-pj20/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 11:28:13 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Pearl Jam]]></category>
		<category><![CDATA[PJ20]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=245</guid>
		<description><![CDATA[Need I explain more?]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/26633994" width="640" height="360" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p>Need I explain more?</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/looking-forward-to-pj20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Painting on an iPad</title>
		<link>http://remkusdevries.com/painting-on-an-ipad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=painting-on-an-ipad</link>
		<comments>http://remkusdevries.com/painting-on-an-ipad/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 08:32:39 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Painting]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=201</guid>
		<description><![CDATA[Beautiful proof of that a true artist is not bound by the medium he works with:]]></description>
			<content:encoded><![CDATA[<p>Beautiful proof of that a true artist is not bound by the medium he works with:</p>
<p><span style="text-align:center; display: block;"><a href="http://remkusdevries.com/painting-on-an-ipad/"><img src="http://img.youtube.com/vi/5OLP4nbAVA4/2.jpg" alt="" /></a></span></p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/painting-on-an-ipad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Giving back (more) to the WordPress Community</title>
		<link>http://remkusdevries.com/giving-back-more-to-the-wordpress-community/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=giving-back-more-to-the-wordpress-community</link>
		<comments>http://remkusdevries.com/giving-back-more-to-the-wordpress-community/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 12:30:02 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Genesis]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WooThemes]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=171</guid>
		<description><![CDATA[For quite a few years I&#8217;ve been working with WordPress. Mainly developing and designing sites, but I also like to help out in the mainly the Dutch WordPress Community. I&#8217;m the admin of WordPress NL and WordPress Fy, also administrator for the Dutch WordPress forum and doing my part for WordCamp NL. And I love contributing<a class="more-link" href="http://remkusdevries.com/giving-back-more-to-the-wordpress-community/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p>For quite a few years I&#8217;ve been working with WordPress. Mainly developing and designing sites, but I also like to help out in the mainly the Dutch WordPress Community. I&#8217;m the admin of <a title="WordPress Nederland" href="http://nl.wordpress.org">WordPress NL</a> and <a title="WordPress Frysk" href="http://fy.wordpress.org">WordPress Fy</a>, also administrator for the <a href="http://nl.forums.wordpress.org">Dutch WordPress forum</a> and doing my part for WordCamp NL. And I love contributing in that fashion. You know, in the spirit of giving back to the WordPress project. Even though that seems like quite a bit already, I really like to contribute more.</p>
<p>I&#8217;ve jotted down a few things I&#8217;d like to accomplish this year. My list regarding contributing to WordPress consists of the following:<span id="more-171"></span></p>
<ul>
<li><del datetime="2011-03-31T12:02:39+00:00">Create a WordPress plugin that is of actual use to people</del></li>
<li>Help out and contribute more on trac</li>
<li>Create WordPress themes that people love and enjoy</li>
<li>Blog more about WordPress in English (again)</li>
</ul>
<p>As you can see I&#8217;ve crossed through the first item on the list <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I have released my first two WordPress plugins about a week ago and my also updated one of those plugins to version 0.2. Both plugins are very similar as they both add a menu to the Admin Bar introduced in the WordPress 3.1 version. I have created plugins for clients before, but none of them saw the public light. The two plugins I created add resources to either the Genesis Framework by StudioPress or WooThemes resources.</p>
<p>Feels good to see people actually download something I&#8217;ve created. I don&#8217;t care if it&#8217;s not in the thousands, but anything above 25 downloads is OK in my book <img src='http://remkusdevries.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Do check them out:</p>
<ul>
<li><a title="Genesis Admin Bar Menu Addition" href="http://remkusdevries.com/plugins/genesis-admin-bar-menu-addition/">Genesis Admin Bar Addition</a></li>
<li><a title="WooThemes Admin Bar Addition" href="http://remkusdevries.com/plugins/woothemes-admin-bar-addition/">WooThemes Admin Bar Addition</a></li>
</ul>
<p>I hope you enjoy using them as much I as have creating them.</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/giving-back-more-to-the-wordpress-community/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Insight to our motivation</title>
		<link>http://remkusdevries.com/insight-to-our-motivation/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=insight-to-our-motivation</link>
		<comments>http://remkusdevries.com/insight-to-our-motivation/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 13:33:33 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=148</guid>
		<description><![CDATA[If you have 10 minutes to spare I really would encourage you to watch this video on the surprising truth about what motivates us people.]]></description>
			<content:encoded><![CDATA[<p>If you have 10 minutes to spare I really would encourage you to watch this video on the surprising truth about what motivates us people.<span id="more-148"></span><br />
<iframe title="YouTube video player" width="560" height="345" src="http://www.youtube.com/embed/u6XAPnuFjJc" frameborder="0" allowfullscreen></iframe></p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/insight-to-our-motivation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking Forward to WordCamp NL 2010</title>
		<link>http://remkusdevries.com/looking-forward-to-wordcamp-nl-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=looking-forward-to-wordcamp-nl-2010</link>
		<comments>http://remkusdevries.com/looking-forward-to-wordcamp-nl-2010/#comments</comments>
		<pubDate>Sat, 30 Oct 2010 18:42:41 +0000</pubDate>
		<dc:creator>Remkus</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordCamp NL]]></category>

		<guid isPermaLink="false">http://remkusdevries.com/?p=133</guid>
		<description><![CDATA[Next Saturday will be the 2nd edition of WordCamp NL. Just like last year I&#8217;m part of the team of volunteers helping out getting it all organized although my main focus is everything about the site, plus I will be one of the speakers. My talk will be about the use of WordPress Theme Frameworks.<a class="more-link" href="http://remkusdevries.com/looking-forward-to-wordcamp-nl-2010/" rel="nofollow">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://remkusdevries.com/wp-content/uploads/2010/10/wordcampnl-logo.png" alt="WordCamp NL" title="WordCamp NL" width="203" height="237" class="alignright size-full wp-image-143" />Next Saturday will be the 2nd edition of <a href="http://wordcampnl.org">WordCamp NL</a>. Just like last year I&#8217;m part of the team of volunteers helping out getting it all organized although my main focus is everything about the site, plus I will be one of the <a href="http://wordcampnl.org/2010/sprekers">speakers</a>. My talk will be about the use of <a href="http://www.forsite.nu/328/why-i-choose-the-genesis-theme-framework/">WordPress Theme Frameworks</a>. </p>
<p>Last year was awesome, but I dare say this edition is going to rock just as much, perhaps even more. We&#8217;ve got some great speakers and lots of international WordPress guys showing up. I am very excited to meet international speakers like @Adii (who will also bring along @mjepson and @mark_forrester of @woothemes fame), @Nacin, @w3edge and @JohnONolan and also finally meeting some of the local names like @BoweFrankema and @Milanvanbruggen.<span id="more-133"></span></p>
<p>Also, some of Automattic&#8217;s employees will be there as well. @Isaackeyet will actually be speaking this year also, he attended last year as well, but also @_Zef and someone I forgot right now, sorry.</p>
<p>Last, but certainly not least will have to be the mention of @twittgrinder, an Italian Genesis enthousiast and friend who will visit WordCamp NL from Italy and he&#8217;ll be staying at my place for a few days. Very much looking forward to meeting all of you guys, but also, looking forward to meeting all of you attending. </p>
<p>See you soon!</p>]]></content:encoded>
			<wfw:commentRss>http://remkusdevries.com/looking-forward-to-wordcamp-nl-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

