<?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>Young Dutch Design</title>
	<atom:link href="http://youngdutchdesign.com/feed" rel="self" type="application/rss+xml" />
	<link>http://youngdutchdesign.com</link>
	<description>Young Dutch Design is a new platform for young designers with frequently new added postings about productdesign, webdesign and other related subjects.</description>
	<lastBuildDate>Sun, 28 Feb 2010 22:16:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Maintain your WordPress plugin using Versions at Mac</title>
		<link>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac</link>
		<comments>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac#comments</comments>
		<pubDate>Sat, 27 Feb 2010 16:49:51 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[Versions]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3222</guid>
		<description><![CDATA[I&#8217;ve updated a couple of the WordPress plugins I&#8217;ve released in the past and I needed new software to do so. After a quick search I&#8217;ve found Versions, a little application for Mac OSX that has a nice user interface which is easy to use.
I&#8217;ll be showing the method to publish your new WordPress plugin [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3243" title="Versions 2" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.37.16-1.png" alt="" width="161" height="147" />I&#8217;ve updated a couple of the <a href="http://wordpress.org/extend/plugins/profile/crispijn" target="_blank">WordPress plugins</a> I&#8217;ve released in the past and I needed new software to do so. After a quick search I&#8217;ve found Versions, a little application for Mac OSX that has a nice user interface which is easy to use.</p>
<p>I&#8217;ll be showing the method to publish your new WordPress plugin in the <a href="http://wordpress.org/extend/plugins/" target="_blank">WordPress Plugin Directory</a>. Read more about the <a href="http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins">folder structure and the basics</a> of the subversion repository.</p>
<p>For this tutorial I&#8217;ll be using <a href="http://www.versionsapp.com/" target="_blank">Versions 2</a> that is available on their website.<br />
<span id="more-3222"></span><!--index--></p>
<h2>Write your plugin</h2>
<p>First of all: write, <a href="http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-plugins/" target="_blank">complete</a> and debug your plugin. There is a lot of documentation in the <a href="http://codex.wordpress.org/Developer_Documentation" target="_blank">WordPress Codex</a> where you can find you to do so and there are also dozens of great tutorials on the web available.</p>
<h2>Add your plugin to the Plugin Directory</h2>
<p>After your plugin is ready you add your plugin to the Plugin Directory by <a href="http://wordpress.org/extend/plugins/add/" target="_blank">sending the form on WordPress.org</a>. You&#8217;ll receive an email when your new plugin is accepted.</p>
<h2>Actions explained</h2>
<p>Just a few basic actions that are necessary for your to release your plugin in the plugin directory.</p>
<h3>Checkout</h3>
<p>Get all the files from your subversion account. You&#8217;ll download all the files and the file structure of your repository.</p>
<h3>Commit</h3>
<p>Upload all the new and modified files.</p>
<h3>Update</h3>
<p>Get only the updated files and folders</p>
<h2>Set the server settings</h2>
<p>After downloading Versions 2 just open the application and press the upper <strong>Repository </strong>button.</p>
<p><img class="alignnone size-full wp-image-3230" title="Screen shot 2010-01-05 at 04.03.56" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-05-at-04.03.56--e1262660710223.png" alt="" width="600" height="394" /></p>
<p>Enter all the fields that are requierd. Note, these are only the WordPress server settings.</p>
<p>The location is the url to the WordPress subversion server. You&#8217;ll find this url in the email that you&#8217;ve received when your plugin has been accepted. The username is automatically been placed after the <strong>http:// </strong>when you enter your username in the specified field. Enter your password en hit the <strong>Create</strong> button.</p>
<p><img class="alignnone size-full wp-image-3244" title="Screen shot 2010-01-09 at 17.40.36" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.40.36-.png" alt="" width="445" height="375" /></p>
<p>Your repository will be verified and if everything is alright the repository is added to the toolbar on the left of the interface.<br />
<!--adsense--></p>
<h2>Set up local settings</h2>
<p>Just select the bookmak and the main folder in the right column of the interface and press Checkout (The third icon on the left upper corner).</p>
<p><img class="alignnone size-full wp-image-3246" title="Screen shot 2010-01-09 at 17.51.12" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.51.12--e1263055977686.png" alt="" width="600" height="394" /></p>
<p>Browse to a local folder that you&#8217;d like to store your plugin. You do not need to create a subfolder, Versions will do this automatically. Press Checkout and Versions will copy the file structure from the WordPress server to your local machine.</p>
<p>In my case I&#8217;ll use the folder: <strong> </strong></p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/</strong></p>
<p><img class="alignnone size-full wp-image-3247" title="Screen shot 2010-01-09 at 17.54.12" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/Screen-shot-2010-01-09-at-17.54.12-.png" alt="" width="551" height="392" /></p>
<p>In this case it&#8217;s a existing plugin so there are some folders in the directories but that isn&#8217;t interfering this tutorial.</p>
<h2>Update or release your plugin</h2>
<p>Before we go any further, please be aware of the <a href="http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins">subverion folder structure</a>. I&#8217;ve published an article about this. Read this and you&#8217;ll understand what I&#8217;m going to do now.</p>
<h3>Copy the files to the local folders</h3>
<p>Just copy overwrite the plugin files to the local branche folder you&#8217;ve selected before you&#8217;ve pushed the checkout button so in my example it&#8217;s</p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/wordpress-easy-todo/branche/</strong></p>
<p>Create a new folder in the tags for the version you would like to share.</p>
<p style="padding-left: 30px;"><strong>Desktop/10002 WordPress plugins/wordpress-easy-todo/tags/1.1.5/</strong></p>
<h3>Do the versions magic</h3>
<p>Go to the Versions application and you&#8217;ll see the folder wordpress-easy-todo whith several files with questionmarks or edit icons in the left column.</p>
<ul>
<li>Select the files with a questionmark and press the <strong>Add</strong> button on the upper right.</li>
<li>Check if all the files are correct and if you do not have any overload in the folders. If so, mark them as deleted with the <strong>Delete </strong>button on the upper right.<br />
<strong>do not remove these files with finder, you&#8217;ll be ruin your repository bookmark and have to create a new one.</strong></li>
</ul>
<p>I&#8217;m going to update my plugin so I&#8217;ll have to add the folder 1.1.5.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.32.10-.png"><img class="alignnone size-full wp-image-3419" title="Update the file status" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.32.10--e1267288415670.png" alt="" width="600" height="370" /></a></p>
<p>The question mark for folder 1.1.5 is now changed into a plus icon.</p>
<p>Now move the folder of the previous version to the branches folder. Do not change the name so it stays a good version identifier in the future.</p>
<p><img class="alignnone size-full wp-image-3420" title="Screen shot 2010-02-27 at 17.35.32" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.35.32-.png" alt="" width="344" height="256" /></p>
<p>After you hit the OK button the folder will be moved to the branches folder after we&#8217;ve commited all the changes we&#8217;ve made.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.37.43-.png"><img class="alignnone size-full wp-image-3421" title="Screen shot 2010-02-27 at 17.37.43" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.37.43--e1267288701961.png" alt="" width="600" height="370" /></a></p>
<h3>Commit changes</h3>
<p>Select all the changed files and folders. The question mark identifier for the trunk folder is only mentioning that there are files in it with changes.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.39.43-.png"><img class="alignnone size-full wp-image-3422" title="Select all the modified files and folders" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.39.43--e1267288877342.png" alt="" width="600" height="370" /></a></p>
<p>Hit the <strong>Commit</strong> button on the left upper corner. Describe what the changes are and press the commit button.</p>
<p><strong><img class="alignnone size-full wp-image-3423" title="Describe the changes and press commit" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.42.14-.png" alt="" width="449" height="306" /><br />
</strong></p>
<p>The files are commited to the server and after that everything has to look like this</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.45.47-.png"><img class="alignnone size-full wp-image-3424" title="Screen shot 2010-02-27 at 17.45.47" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-27-at-17.45.47--e1267289213303.png" alt="" width="600" height="370" /></a></p>
<p>The WordPress server updates every 15 minutes so grab a cup of coffee or a beer and try to install your new plugin via your WordPress admin panel.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-28-at-23.12.30-.png"><img class="alignnone size-full wp-image-3433" title="Screen-shot-2010-02-28-at-23.12.30-" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-28-at-23.12.30--e1267395347147.png" alt="" width="600" height="135" /></a></p>
<h2>Notes</h2>
<p>Be sure you only <strong>add</strong> files and folders via the Finder interface. Please do not delete or move files and folders because this will ruin your plugin structure. You&#8217;ll get an error and in that case you have to remove the subversion bookmark from the Versions interface.</p>
<p>If your plugin isn&#8217;t updated you&#8217;ll have to check the status of all the files. When there are no icon&#8217;s shown in the left column of Version everything will be alright but be sure the <strong>tags </strong>folder only contains the folder of your latest version!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/maintain-your-wordpress-plugin-using-versions-at-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official release of WordPress Easy Archive!</title>
		<link>http://youngdutchdesign.com/official-release-of-wordpress-easy-archive</link>
		<comments>http://youngdutchdesign.com/official-release-of-wordpress-easy-archive#comments</comments>
		<pubDate>Sat, 27 Feb 2010 01:34:54 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3411</guid>
		<description><![CDATA[Today I&#8217;ve finished my new plugin, WordPress Easy Archive. This plugin will generate an image based archive for your WordPress blog. I&#8217;ve tried to make the plugin as useful and fast as possible so I hope it it exceeds your expectations.
Words are not enough to describe this plugin so just take a look at the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-21.13.00-.png"><img class="alignright size-medium wp-image-3412" title="Screen-shot-2010-02-22-at-21.13.00-" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-22-at-21.13.00--300x184.png" alt="" width="300" height="184" /></a>Today I&#8217;ve finished my new plugin, WordPress Easy Archive. This plugin will generate an image based archive for your WordPress blog. I&#8217;ve tried to make the plugin as useful and fast as possible so I hope it it exceeds your expectations.</p>
<p>Words are not enough to describe this plugin so just take a look at the <a href="http://www.crispijnverkade.nl/blog/wordpress-easy-archive" target="_blank">WordPress Easy Archive plugin page</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/official-release-of-wordpress-easy-archive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cvLinkSelect class v1.3 released!</title>
		<link>http://youngdutchdesign.com/cvlinkselect-class-v1-3-released</link>
		<comments>http://youngdutchdesign.com/cvlinkselect-class-v1-3-released#comments</comments>
		<pubDate>Wed, 24 Feb 2010 21:34:12 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[cvLinkSelect]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3357</guid>
		<description><![CDATA[The last week I&#8217;ve completed the development of the cvLinkSelect class. I&#8217;ve added the option to disable the select elements that are not active because the previous values are not set. This is great feedback for the user!
Check the updated page for the cvLinkSelect class!
I&#8217;m searching for a easy way to style the select elements [...]]]></description>
			<content:encoded><![CDATA[<p>The last week I&#8217;ve completed the development of the <a href="http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class">cvLinkSelect class</a>. I&#8217;ve added the option to disable the select elements that are not active because the previous values are not set. This is great feedback for the user!</p>
<p>Check the updated page for the <a href="http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class">cvLinkSelect class</a>!</p>
<p>I&#8217;m searching for a easy way to style the select elements to a custum layout just like the <a href="http://theuiguy.blogspot.com/2008/09/ultimate-dropdowns-v10.html" target="_blank">Select Box Factory</a> or something like that. Also I&#8217;m going to figure out if this class is usefull with a multiple select box. Anyway, I&#8217;m finished with this for the moment!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/cvlinkselect-class-v1-3-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion folder structure for WordPress plugins</title>
		<link>http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins</link>
		<comments>http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins#comments</comments>
		<pubDate>Tue, 23 Feb 2010 13:25:26 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3262</guid>
		<description><![CDATA[Last year I&#8217;ve released several WordPress plugins for the Plugin Directory. I was using a very old, not graphical program to update all the plugins and something strange happened: the file structure for all the plugins was messed up so it was not possible to add plugins on the fly via the normal install procedure.
Therefore, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3346" title="image.axd" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/image.axd_-e1266854798852.png" alt="" width="250" height="216" />Last year I&#8217;ve released several WordPress plugins for the <a href="http://wordpress.org/extend/plugins/" target="_blank">Plugin Directory</a>. I was using a very old, not graphical program to update all the plugins and something strange happened: the file structure for all the plugins was messed up so it was not possible to add plugins on the fly via the normal install procedure.</p>
<p>Therefore, I&#8217;m going to tell you something about the file structure of subversion so you can easily maintain your plugin on the subversion repository.</p>
<p><span id="more-3262"></span>There are three folders that will help separate development versions from stable versions.</p>
<p style="padding-left: 30px;"><strong>Branches<br />
</strong>This is where the previous versions are stored. For example: you are maybe working on version 1.2 in <em>Trunk </em>but you could have a subdirectory for the development of version 1.1 in <em>branches</em>. This is done to restore bugs or security reasons.</p>
<p style="padding-left: 30px;"><strong>Tags<br />
</strong>When the plugin is ready for release, copy the files into a sub-directory in the tags folder. The name of the sub-directory is the version name.</p>
<p style="padding-left: 30px;"><strong>Trunk</strong><br />
This is where the files for your latest version are stored. This is most likely the bleeding edge version of your plugin.</p>
<p><!--adsense--></p>
<p>With this knowlegde I can build my own imaginary folder/file structure for a wordpress plugin:</p>
<ul>
<li>WordPress-YDD-Plugin
<ul>
<li>Branches
<ul>
<li>1.0.0
<ul>
<li>wordpress-ydd-plugin.css</li>
<li>wordpress-ydd-plugin.php</li>
<li>etc.</li>
</ul>
</li>
</ul>
<ul>
<li>1.1.0
<ul>
<li>wordpress-ydd-plugin.css</li>
<li>wordpress-ydd-plugin.php</li>
<li>etc.</li>
</ul>
</li>
</ul>
</li>
<li>Tags
<ul>
<li>1.0.0</li>
<li>1.1.0
<ul>
<li>wordpress-ydd-plugin.css</li>
<li>wordpress-ydd-plugin.php</li>
<li>etc.</li>
</ul>
</li>
</ul>
</li>
<li>Trunk
<ul>
<li>wordpress-ydd-plugin.css</li>
<li>wordpress-ydd-plugin.php</li>
<li>etc.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>I&#8217;m searching for a good subversion client on Mac. Which one do you guys recommend?</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/subversion-folde-structure-for-wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php part for cvLinkSelect class</title>
		<link>http://youngdutchdesign.com/php-part-for-cvlinkselect-class</link>
		<comments>http://youngdutchdesign.com/php-part-for-cvlinkselect-class#comments</comments>
		<pubDate>Sat, 20 Feb 2010 17:57:11 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[cvLinkSelect]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3315</guid>
		<description><![CDATA[I&#8217;m very happy that a lot of developers have found my cvLinkSelect class and found it useful. cvLinkSelect is a simple Mootools 1.2 class that links form select elements based on the previous value via JSON requests. The php part was very basic though and a visitor pointed me to write the php part better, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://youngdutchdesign.com/examples/cvlinkselect.php"><img class="alignright size-full wp-image-3334" title="cvLinkSelect Example" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-20-at-19.34.57-.png" alt="" width="253" height="135" /></a>I&#8217;m very happy that a lot of developers have found my <a href="http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class">cvLinkSelect class</a> and found it useful. cvLinkSelect is a simple Mootools 1.2 class that links form select elements based on the previous value via JSON requests. The php part was very basic though and a visitor pointed me to write the php part better, shorter and more functional. And here we are, just a simple 10 line php function.</p>
<p>In most cases you&#8217;ll get the data from a SQL database or something like that and in therefore it&#8217;s an array.</p>
<pre class="php">/* $arr = array from the database */
$arr = array(//array(id,name),
			 	array(15,'15 inch'),
				array(17,'17 inch'),
				array(19,'19 inch')
			);</pre>
<p><span id="more-3315"></span>Make sure that the you&#8217;ll only get the id and the name or another identifier. The total has to be two otherwise it don&#8217;t work.</p>
<p>To get the JSON request in the right format I&#8217;ve written a small function that will add the <strong>value</strong> and <strong>html</strong> key to the arrays.</p>
<pre class="php">/**
* Function to set the key for each value
* Requires: array(array())
* Returns: JSON format for cvLinkSelect class
*/
function json_cvLinkSelect($arr = array()){
	$json = array(); /* temporary array */

	foreach($arr as $ob){ /*walk trough the original array */
		$keys = array('value','html'); /*define the two keys */
		array_push($json,array_combine($keys,$ob)); /* push the new array to the temporary array, $json */
	}

	return json_encode($json); /* return the $json array */
}</pre>
<p>The output will be:</p>
<pre class="html">[{"value":"hard","html":"Hard"},{"value":"soft","html":"Soft"}]</pre>
<p>I&#8217;ve updated the zipfile with the working example if you guys need more info.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/php-part-for-cvlinkselect-class/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Download Section!</title>
		<link>http://youngdutchdesign.com/new-download-section</link>
		<comments>http://youngdutchdesign.com/new-download-section#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:37:56 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Website News]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3287</guid>
		<description><![CDATA[Today I&#8217;ve added a download section to Young Dutch Design. There are already several zipfiles with working examples for all the mootools classes that are released on this site and I&#8217;ll make the whole list complete this week.
Check it out!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-19.36.14-.png"><img class="alignright size-full wp-image-3298" title="Screen shot 2010-02-16 at 19.36.14" src="http://youngdutchdesign.com/wp-content/uploads/2010/02/Screen-shot-2010-02-16-at-19.36.14--e1266345509738.png" alt="" width="200" height="180" /></a>Today I&#8217;ve added a download section to Young Dutch Design. There are already several zipfiles with working examples for all the mootools classes that are released on this site and I&#8217;ll make the whole list complete this week.</p>
<p><a href="http://youngdutchdesign.com/download-examples">Check it out</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/new-download-section/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Young Dutch Design on the iPhone</title>
		<link>http://youngdutchdesign.com/young-dutch-design-on-the-iphone</link>
		<comments>http://youngdutchdesign.com/young-dutch-design-on-the-iphone#comments</comments>
		<pubDate>Tue, 05 Jan 2010 16:18:51 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Website News]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=3239</guid>
		<description><![CDATA[I&#8217;ve added the plugin WPtouch iPhone Theme to Young Dutch Design so the website is really fast and smooth on the iPhone.
It&#8217;s also possible to view the website in the normal layout.
Check out the great features on the iPhone or check all the screenshots on the plugin page!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://youngdutchdesign.com/wp-content/uploads/2010/01/foto.jpg"><img class="alignright size-full wp-image-3240" title="foto" src="http://youngdutchdesign.com/wp-content/uploads/2010/01/foto-e1262708076780.jpg" alt="" width="200" height="300" /></a>I&#8217;ve added the plugin <a href="http://wordpress.org/extend/plugins/wptouch/" target="_blank">WPtouch iPhone Theme</a> to Young Dutch Design so the website is really fast and smooth on the iPhone.</p>
<p>It&#8217;s also possible to view the website in the normal layout.</p>
<p>Check out the great features on the iPhone or check all the screenshots on the plugin page!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/young-dutch-design-on-the-iphone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Depth of Field with Photoworks</title>
		<link>http://youngdutchdesign.com/depth-of-field-with-photoworks</link>
		<comments>http://youngdutchdesign.com/depth-of-field-with-photoworks#comments</comments>
		<pubDate>Wed, 30 Dec 2009 22:46:00 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[SolidWorks]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[PhotoWorks]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1821</guid>
		<description><![CDATA[In this tutorial I&#8217;ll show you how to create a nice Depth of Field with PhotoWorks to set the focus on special parts. It&#8217;s not that hard to understand but this tutorial may save you some critical time when you&#8217;re almost at your deadlines.
I&#8217;ll use a SolidWorks file that I used for rendering the logo [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/very-off-focus.jpg"><img class="alignright size-full wp-image-1829" title="very off focus" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/very-off-focus-e1262213081547.jpg" alt="" width="250" height="185" /></a>In this tutorial I&#8217;ll show you how to create a nice Depth of Field with PhotoWorks to set the focus on special parts. It&#8217;s not that hard to understand but this tutorial may save you some critical time when you&#8217;re almost at your deadlines.</p>
<p><span id="more-1821"></span>I&#8217;ll use a SolidWorks file that I used for rendering the logo of Young Dutch Design.</p>
<p>Add a camera by right clicking on the Lights, Camera and Scene folder in the Feature Tree.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-22.53.04-.png"><img class="alignnone size-full wp-image-1822" title="Screen shot 2009-12-30 at 22.53.04" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-22.53.04-.png" alt="" width="322" height="297" /></a></p>
<p>Set up the view you prefer and set the target point. This is the point the lens will focus on so I&#8217;ll manually select the first grey sphere. In the image below you&#8217;ll see a top view of the sphere&#8217;s.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-22.58.13-.png"><img class="alignnone size-full wp-image-1823" title="Screen shot 2009-12-30 at 22.58.13" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-22.58.13-.png" alt="" width="474" height="390" /></a></p>
<p>Scroll to the bottom of all the options and turn on &#8216;Depth of Field&#8217;.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-23.04.12-.png"><img class="alignnone size-full wp-image-1824" title="Screen shot 2009-12-30 at 23.04.12" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-23.04.12-.png" alt="" width="209" height="248" /></a></p>
<p>This is the most important part. Set the <em>d </em>value so that the solid blue rectangular surface is on the part that need the focus. Set the <em>f </em>value such that the surrounding components are quickly faded/off focus.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-23.11.00-.png"><img class="alignnone size-full wp-image-1825" title="Screen shot 2009-12-30 at 23.11.00" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/Screen-shot-2009-12-30-at-23.11.00-.png" alt="" width="344" height="265" /></a></p>
<p>Hit the apply button on top and start rendering after you&#8217;ve set the scene and the appearances. If you need some info about this part read <a href="http://youngdutchdesign.com/solidworks-rendering-realistic-chrome">Rendering realistic chrome with SolidWorks.</a></p>
<p>This is my result! Be careful, don&#8217;t make the <em>f </em>value too small because it will look very unnatural.</p>
<p><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/off-focus-e1262212338129.jpg"></a><a href="http://youngdutchdesign.com/wp-content/uploads/2009/12/off-focus-e1262212338129.jpg"><img class="alignnone size-full wp-image-1827" title="off focus" src="http://youngdutchdesign.com/wp-content/uploads/2009/12/off-focus-e1262212530379.jpg" alt="" width="539" height="291" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/depth-of-field-with-photoworks/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mootools 1.2 cvLinkSelect class 1.2</title>
		<link>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class-1-2</link>
		<comments>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class-1-2#comments</comments>
		<pubDate>Thu, 26 Nov 2009 20:46:01 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Json]]></category>
		<category><![CDATA[XML / XHTML]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1765</guid>
		<description><![CDATA[I&#8217;ve updated the cvLinkSelect class. Some minor tweaks are added so you can control even more with the class. I hope you like it!
Changes

 Maintain an empty element with a short discription and an empty value in your html page and the class willÂ  not remove this one while you change the parent select box
Set [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated the cvLinkSelect class. Some minor tweaks are added so you can control even more with the class. I hope you like it!</p>
<h2>Changes</h2>
<ul>
<li> Maintain an empty element with a short discription and an empty value in your html page and the class willÂ  not remove this one while you change the parent select box</li>
<li>Set the value of the first select box to the empty option after page reload</li>
<li>Comments added for developers and curious people</li>
<li>Updated the example</li>
<li>Removed some overhead in the class</li>
</ul>
<p>Go the the original page of the <a href="http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class">cvLinkSelect class</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/mootools-1-2-cvlinkselect-class-1-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewrite $_GET variables for WordPress plugins</title>
		<link>http://youngdutchdesign.com/rewrite-multiple-get-variables-for-wordpress-plugins</link>
		<comments>http://youngdutchdesign.com/rewrite-multiple-get-variables-for-wordpress-plugins#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:29:23 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1566</guid>
		<description><![CDATA[A while ago I was figuring out how to rewrite GET variables for a wordpress plugin. For example:
http://mysite.com/mypage/?myvar=test
rewriting to
http://mysite.com/mypage/test
After a long search on the WordPress forums and the whole internet I&#8217;ve found this topic: using an extra parameter in an URL but it wasn&#8217;t very sufficient in my opinion. So that&#8217;s why I&#8217;ll explain the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-1570" title="get" src="http://youngdutchdesign.com/wp-content/uploads/2009/08/get1.jpg" alt="get" width="200" height="100" />A while ago I was figuring out how to rewrite GET variables for a wordpress plugin. For example:</p>
<p style="padding-left: 30px;">http://mysite.com/mypage/?myvar=test</p>
<p>rewriting to</p>
<p style="padding-left: 30px;">http://mysite.com/mypage/test</p>
<p>After a long search on the WordPress forums and the whole internet I&#8217;ve found this topic: <a href="http://wordpress.org/support/topic/208830" target="_blank">using an extra parameter in an URL</a> but it wasn&#8217;t very sufficient in my opinion. So that&#8217;s why I&#8217;ll explain the use of multiple parameters in the url.<br />
<span id="more-1566"></span></p>
<h2>One $_GET variable</h2>
<pre class="php">function add_mypage_var($public_query_vars) {
$public_query_vars[] = 'myvar1';
return $public_query_vars;
}

//add a rewrite rule
function do_rewrite_mypage() {
add_rewrite_rule('brands/([^/]+)/?$', 'index.php?pagename=mypage&amp;myvar1=$matches[1]','top');
}

add_filter('query_vars', 'add_mypage_var');
add_action('init', 'do_rewrite_brands');</pre>
<p>You can use this variable in a plugin like this:</p>
<pre class="php">$slug = get_query_var('myvar');</pre>
<h2>Multiple $_GET variables</h2>
<p>There was just one thing that cost me a headache&#8230; I&#8217;d like to add multiple parameters to the url and this method I just described isn&#8217;t sufficient. I&#8217;ve checked the basic url rewrite trough mod_rewrite and this method needs several lines to declare all the possible amount of variables in the url. I&#8217;ve tried this method also for the url rewrites via WordPress and here we are: a simple working function:</p>
<pre class="php">function add_mypage_var($public_query_vars) {
	$public_query_vars[] = 'myvar1';
	$public_query_vars[] = 'myvar2';

	return $public_query_vars;
}

//add a rewrite rule
function do_rewrite_mypage() {
	add_rewrite_rule('brands/([^/]+)/?$', 'index.php?pagename=mypage&amp;myvar1=$matches[1]&amp;myvar2=$matches[2]','top');
	add_rewrite_rule('brands/([^/]+)/?$', 'index.php?pagename=mypage&amp;myvar1=$matches[1]','top');
}

add_filter('query_vars', 'add_mypage_var');
add_action('init', 'do_rewrite_mypage');</pre>
<p>You can check all the url rewrites that are used for your WordPress post.</p>
<pre class="php">function get_rewrite_urls(){
	global $wp_rewrite;

	return $wp_rewrite-&gt;wp_rewrite_rules(); /* Returns an array */
}

print_r(get_rewrite_urls());</pre>
<p>And in some cases you&#8217;d like to remove all your custom rewrites. Just use this function:</p>
<pre class="php">function do_flush_gear(){
	global $wp_rewrite;

	$wp_rewrite-&gt;flush_rules();
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/rewrite-multiple-get-variables-for-wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
