<?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>Web Development and Design, Rochester NY</title>
	<atom:link href="http://ostedesign.com/feed" rel="self" type="application/rss+xml" />
	<link>http://ostedesign.com</link>
	<description>Oste Design</description>
	<lastBuildDate>Thu, 10 May 2012 20:21:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Useful Helper Function to Add http:// To a URL If Needed</title>
		<link>http://ostedesign.com/useful-helper-function-to-add-http-to-a-url-if-needed</link>
		<comments>http://ostedesign.com/useful-helper-function-to-add-http-to-a-url-if-needed#comments</comments>
		<pubDate>Thu, 10 May 2012 20:15:02 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=534</guid>
		<description><![CDATA[Have you ever tried to create a link dynamically in php with a URL such as &#8216;facebook.com&#8217;? If you have you know that URLs like that don&#8217;t work so well. It will simply append the URL onto the end of the current page. So if the visitor is on a page like mysite.com/my-page they will get a link like mysite.com/my-pagefacebook.com. This is kind of annoying, so I created a helper function that will add the http:// part if it is missing from the string you are trying to create a link for. Check out the function below. It simply checks to see if the $url contains either http:// or https:// and if it doesn&#8217;t it will append http:// to the end. This function could probably be even better, but it is pretty useful as is. Feel free to suggest any improvements in the comments below. function maybe_add_http($url){ if(!preg_match("~^(?:ht)tps?://~i", $url)) $url = "http://" . $url; return $url; } To use it simply pass your URL into the function and let it do the rest!]]></description>
			<content:encoded><![CDATA[<p>Have you ever tried to create a link dynamically in php with a URL such as &#8216;facebook.com&#8217;? If you have you know that URLs like that don&#8217;t work so well. It will simply append the URL onto the end of the current page. So if the visitor is on a page like mysite.com/my-page they will get a link like mysite.com/my-pagefacebook.com.</p>
<p>This is kind of annoying, so I created a helper function that will add the http:// part if it is missing from the string you are trying to create a link for.</p>
<p>Check out the function below. It simply checks to see if the $url contains either http:// or https:// and if it doesn&#8217;t it will append http:// to the end.</p>
<p>This function could probably be even better, but it is pretty useful as is. Feel free to suggest any improvements in the comments below.</p>
<pre class="prettyprint">
function maybe_add_http($url){
	if(!preg_match("~^(?:ht)tps?://~i", $url))
		$url = "http://" . $url;
	return $url;
}
</pre>
<p>To use it simply pass your URL into the function and let it do the rest!</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/useful-helper-function-to-add-http-to-a-url-if-needed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Current and Future Posts</title>
		<link>http://ostedesign.com/show-current-and-future-posts</link>
		<comments>http://ostedesign.com/show-current-and-future-posts#comments</comments>
		<pubDate>Mon, 07 May 2012 18:30:44 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=528</guid>
		<description><![CDATA[If you would like to disregard the post date and show both future and current posts I would recommend using the following code. function pre_get_posts($query){ $query->set('post_status', array( 'publish', 'future') ) ; } add_filter( 'pre_get_posts', 'my_pre_get_posts' ); Or you can set it up so that it will only be valid for a specific custom post type function pre_get_posts($query){ //this will only alter the query for my_post_type custom post type if ($query->query_vars['post_type'] == 'my_post_type'){ $query->set('post_status', array( 'publish', 'future')); } } add_filter( 'pre_get_posts', 'my_pre_get_posts' ); What are we doing here? Well, we are using the pre_get_posts filter to modify the WP_Query object. The normal functionality is to only show posts with a post_status of publish so we need to add to this by setting the post_status to an array that includes both publish and future]]></description>
			<content:encoded><![CDATA[<p>If you would like to disregard the post date and show both future and current posts I would recommend using the following code.</p>
<pre class="prettyprint">
function pre_get_posts($query){
   $query->set('post_status', array( 'publish', 'future') ) ;
}
add_filter( 'pre_get_posts', 'my_pre_get_posts' );
</pre>
<p>Or you can set it up so that it will only be valid for a specific custom post type</p>
<pre class="prettyprint">
function pre_get_posts($query){
   //this will only alter the query for my_post_type custom post type
   if ($query->query_vars['post_type'] == 'my_post_type'){
      $query->set('post_status', array( 'publish', 'future'));
   }
}
add_filter( 'pre_get_posts', 'my_pre_get_posts' );
</pre>
<p>What are we doing here? Well, we are using the <code>pre_get_posts</code> filter to modify the <a href="http://codex.wordpress.org/Class_Reference/WP_Query" title="WP Query"><code>WP_Query</code></a> object. The normal functionality is to only show posts with a <code>post_status</code> of <code>publish</code> so we need to add to this by setting the post_status to an array that includes both publish and <code>future</code></p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/show-current-and-future-posts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Plugin in its Most Simple Form</title>
		<link>http://ostedesign.com/jquery-plugin-in-its-most-simple-form</link>
		<comments>http://ostedesign.com/jquery-plugin-in-its-most-simple-form#comments</comments>
		<pubDate>Tue, 13 Mar 2012 20:34:48 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=523</guid>
		<description><![CDATA[If you are looking for the absolute bare bones layout for a jQuery plugin, look no further. Below is a basic starting point for any jQuery plugin. (function($) { $.fn.my_plugin = function() { return this.each(function() { //make the magic happen }); } })(jQuery);]]></description>
			<content:encoded><![CDATA[<p>If you are looking for the absolute bare bones layout for a jQuery plugin, look no further. Below is a basic starting point for any jQuery plugin.</p>
<pre class="prettyprint">
(function($) {

   $.fn.my_plugin = function() {

   		return this.each(function() {
   			//make the magic happen
   		});
	}

})(jQuery);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/jquery-plugin-in-its-most-simple-form/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get template directory uri VS get stylesheet directory uri</title>
		<link>http://ostedesign.com/get-template-directory-uri-vs-get-stylesheet-directory-uri</link>
		<comments>http://ostedesign.com/get-template-directory-uri-vs-get-stylesheet-directory-uri#comments</comments>
		<pubDate>Mon, 13 Feb 2012 22:03:55 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=513</guid>
		<description><![CDATA[Have you ever wondered what the difference is between get_template_directory_uri and get_stylesheet_directory_uri? The Codex starts off by telling us that they return the template directory and stylesheet directory of the current theme. This turns out to be exactly the same, if you are only using a parent theme. If you are using a child theme these functions will return different results. //Returns the parent directory. get_template_directory_uri(); //Returns the child directory. get_stylesheet_directory_uri(); This begins to make sense when you recall that Child themes override the parent theme CSS, so it seems right that your stylesheet directory is in the child theme. While you are still probably using most of the functionality from the parent theme so this remains your template directory. Most child themes will simply add or overwrite a few actions or filters in functions.php and almost always override styles in style.css.]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered what the difference is between <a href="http://codex.wordpress.org/Function_Reference/get_template_directory_uri">get_template_directory_uri</a> and <a href="http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri">get_stylesheet_directory_uri</a>? The Codex starts off by telling us that they return the template directory and stylesheet directory of the current theme. This turns out to be exactly the same, <strong>if you are only using a parent theme</strong>.</p>
<p>If you are using a <strong>child</strong> theme these functions will return different results.</p>
<pre class="prettyprint">
//Returns the parent directory.
get_template_directory_uri();
</pre>
<pre class="prettyprint">
//Returns the child directory.
get_stylesheet_directory_uri();
</pre>
<p>This begins to make sense when you recall that Child themes override the parent theme CSS, so it seems right that your <em>stylesheet directory</em> is in the child theme. While you are still probably using most of the functionality from the parent theme so this remains your <em>template directory</em>. </p>
<p>Most child themes will simply add or overwrite a few actions or filters in functions.php and almost always override styles in style.css.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/get-template-directory-uri-vs-get-stylesheet-directory-uri/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove WordPress Admin Bar the Easy Way</title>
		<link>http://ostedesign.com/remove-wordpress-admin-bar-the-easy-way</link>
		<comments>http://ostedesign.com/remove-wordpress-admin-bar-the-easy-way#comments</comments>
		<pubDate>Fri, 10 Feb 2012 20:42:46 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=497</guid>
		<description><![CDATA[Sometimes the WordPress admin toolbar simply gets in the way. Usually when working on design work or if you just want to view your site how a visitor would see it removing the admin bar is a must. Paste the following code in your header.php file just below wp_head();. &#60;style&#62; html { margin-top: 0 !important; } #wpadminbar { display: none; } &#60;/style&#62; This code will not remove the admin bar from the DOM, but it will not be visible or take up any space so by all means it is removed. If this proves to be helpful enough I will convert this into a plugin which will allow you to show/hide the admin bar by activating/deactivating the plugin. Rather than having to add code directly to your theme.]]></description>
			<content:encoded><![CDATA[<p>Sometimes the WordPress admin toolbar simply gets in the way. Usually when working on design work or if you just want to view your site how a visitor would see it removing the admin bar is a must.</p>
<p>Paste the following code in your header.php file just below <code>wp_head();</code>.</p>
<pre class="prettyprint">
<code>&lt;style&gt;</code>
   html { margin-top: 0 !important; }
   #wpadminbar { display: none; }
<code>&lt;/style&gt;</code>
</pre>
<p>This code will not remove the admin bar from the DOM, but it will not be visible or take up any space so by all means it is removed. If this proves to be helpful enough I will convert this into a plugin which will allow you to show/hide the admin bar by activating/deactivating the plugin. Rather than having to add code directly to your theme. </p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/remove-wordpress-admin-bar-the-easy-way/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Ajax on Front End of WordPress Site</title>
		<link>http://ostedesign.com/using-ajax-on-front-end-of-wordpress-site</link>
		<comments>http://ostedesign.com/using-ajax-on-front-end-of-wordpress-site#comments</comments>
		<pubDate>Mon, 30 Jan 2012 20:20:16 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=474</guid>
		<description><![CDATA[Using ajax in the admin of a WordPress site is easy because the variable ajaxurl is provided for you. This allows you to write the following code without issue. var data = { action: 'my_action', whatever: 1234 }; jQuery.post(ajaxurl, data, function(response) { alert('Got this from the server: ' + response); }); However, if you tried to use this same code on the front end of your site you will find that ajaxurl is undefined. The easy way around this might be to write your JavaScript code in a php file and use admin_url( &#8216;admin-ajax.php&#8217; ) like so echo "var data = { action: 'my_action', whatever: 1234 };"; echo "jQuery.post(".admin_url( 'admin-ajax.php' ).", data, function(response) { alert('Got this from the server: ' + response); });"; This approach is just plain ugly and nobody wants to write their JavaScript in a PHP file so I am here to show you a better way. When you enqueue your script you can also localize it using wp_localize_script, and that will allow you to make any variable accessible in your enqueued script. It looks like this. wp_enqueue_script( 'my_js', plugins_url('my-plugin/script.js'), array( 'jquery' ), '' ); wp_localize_script( 'my_js', 'my_ajax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) ); What [...]]]></description>
			<content:encoded><![CDATA[<p>Using ajax in the admin of a WordPress site is easy because the variable <code>ajaxurl</code> is provided for you. This allows you to write the following code without issue.</p>
<pre class="prettyprint">
var data = {
	action: 'my_action',
	whatever: 1234
};

jQuery.post(ajaxurl, data, function(response) {
	alert('Got this from the server: ' + response);
});
</pre>
<p>However, if you tried to use this same code on the front end of your site you will find that <code>ajaxurl</code> is <code>undefined</code>. The easy way around this <em>might</em> be to write your JavaScript code in a php file and use admin_url( &#8216;admin-ajax.php&#8217; ) like so</p>
<pre class="prettyprint">

echo "var data = {
	action: 'my_action',
	whatever: 1234
};";

echo "jQuery.post(".admin_url( 'admin-ajax.php' ).", data, function(response) {
	alert('Got this from the server: ' + response);
});";
</pre>
<p>This approach is just plain ugly and nobody wants to write their JavaScript in a PHP file so I am here to show you a better way. When you enqueue your script you can also localize it using <code>wp_localize_script</code>, and that will allow you to make any variable accessible in your enqueued script. It looks like this.</p>
<pre class="prettyprint">

wp_enqueue_script( 'my_js', plugins_url('my-plugin/script.js'), array( 'jquery' ), '' );
wp_localize_script( 'my_js', 'my_ajax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
</pre>
<p>What this does is it makes a new object called my_ajax and it populates it with a property called ajaxurl. This can be accessed by using <code>my_ajax.ajaxurl</code> inside your <code>script.js</code> file. Which will look something like this.</p>
<pre class="prettyprint">
var data = {
	action: 'my_action',
	whatever: 1234
};

jQuery.post(my_ajax.ajaxurl, data, function(response) {
	alert('Got this from the server: ' + response);
});
</pre>
<p>Notice how much this looks like the first snippet in this post? The only addition is our namespaced object <code>my_ajax</code>. That is more like it! The big idea here is to use wp_localize_script to make a variable accessible in our script.js file so we don&#8217;t have to code our JavaScript files in PHP (just writing that felt wrong, I can&#8217;t imagine actually doing it).</p>
<p>One more thing that should be noted. When you create your action you will need to hook on to the <code>wp_ajax_nopriv_*</code> action hook because <code>wp_ajax_*</code> will only fire for logged in users. So if you posted an action of my_action as we have done above you will hook onto the <code>wp_ajax_nopriv_my_action</code> hook.</p>
<p>Be sure to let me know if this was helpful or if you have any comments or questions below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/using-ajax-on-front-end-of-wordpress-site/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get Categories Even If They Are Not attached To A Post</title>
		<link>http://ostedesign.com/get-categories-even-if-they-are-not-attached-to-post</link>
		<comments>http://ostedesign.com/get-categories-even-if-they-are-not-attached-to-post#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:55:15 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=467</guid>
		<description><![CDATA[WordPress has two helpful functions for getting categories/taxonomies, get_terms and get_categories. The latter uses get_terms inside the function so you can think of these two functions as basically being the same. With the main difference being that get_terms accepts two parameters with the first being the taxonomy name and the second being an array of arguments. While get_categories just accepts an array of arguments. The default return value for these functions is to return only categories that are linked to a post, but what if you want to get all terms even if they have not been attached to a post just yet? You can use hide_empty for just this situation, and it will look like this depending on which function you want to use. $terms = get_categories(array('hide_empty' => false)); or if you prefer get_terms $terms = get_terms( 'my_term', array('hide_empty' => false)); Be sure to check out the codex for more information on these two useful functions, but if you are simply trying to get all terms even if they are not assigned to a post this is your answer. Ask any questions or let me know if this was helpful in the comments below.]]></description>
			<content:encoded><![CDATA[<p>WordPress has two helpful functions for getting categories/taxonomies, <a href="http://codex.wordpress.org/Function_Reference/get_terms">get_terms</a> and <a href="http://codex.wordpress.org/Function_Reference/get_categories">get_categories</a>. The latter uses get_terms inside the function so you can think of these two functions as basically being the same. With the main difference being that get_terms accepts two parameters with the first being the taxonomy name and the second being an array of arguments. While get_categories just accepts an array of arguments.</p>
<p>The default return value for these functions is to return only categories that are linked to a post, but what if you want to get all terms even if they have not been attached to a post just yet?</p>
<p>You can use <code>hide_empty</code> for just this situation, and it will look like this depending on which function you want to use.</p>
<pre class="prettyprint">
$terms = get_categories(array('hide_empty' => false));
</pre>
<p>or if you prefer get_terms</p>
<pre class="prettyprint">
$terms = get_terms( 'my_term', array('hide_empty' => false));
</pre>
<p>Be sure to check out the codex for more information on these two useful functions, but if you are simply trying to get all terms even if they are not assigned to a post this is your answer. Ask any questions or let me know if this was helpful in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/get-categories-even-if-they-are-not-attached-to-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Register Activation Hook with Object Oriented Plugin</title>
		<link>http://ostedesign.com/register-activation-hook-with-object-oriented-plugin</link>
		<comments>http://ostedesign.com/register-activation-hook-with-object-oriented-plugin#comments</comments>
		<pubDate>Fri, 20 Jan 2012 22:01:03 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=455</guid>
		<description><![CDATA[Recently I ran into an issue where I was not able to run activation code for a plugin I was creating. If you code your plugins in an object oriented fashion like me they usually start out something like this. class my_plugin{ function __construct() { //place actions and filters here like add_action('init', array($this, 'init')); } //place class methods for actions and filters here like function init(){ //do stuff on init } } //now we need to create an instance of my_plugin so our actions //and filters fire add_action('init', 'init', 1); function init(){ new my_plugin(); } The issue with all of this is is that we cannot easily register_activation_hook&#8216;s inside of our class, so my solution is to modify the code like so. Notice the new install() function and the register_activation_hook at the bottom of the page. Comments in read explain further. class my_plugin{ function __construct() { //place actoins and filters here like add_action('init', array($this, 'init')); } //place class methods for actions and filters here like function init(){ //do stuff on init } //this is the function that will fire when the plugin is activated function install(){ //you can include more files here //you can create more objects //you can do [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I ran into an issue where I was not able to run activation code for a plugin I was creating. If you code your plugins in an object oriented fashion like me they usually start out something like this.</p>
<pre class="prettyprint">
class my_plugin{

   function __construct() {
      //place actions and filters here like
      add_action('init', array($this, 'init'));
   }

   //place class methods for actions and filters here like
   function init(){
      //do stuff on init
   }

}

//now we need to create an instance of my_plugin so our actions
//and filters fire
add_action('init', 'init', 1);

function init(){
   new my_plugin();
}
</pre>
<p>The issue with all of this is is that we cannot easily <a href="http://codex.wordpress.org/Function_Reference/register_activation_hook">register_activation_hook</a>&#8216;s inside of our class, so my solution is to modify the code like so. Notice the new install() function and the register_activation_hook at the bottom of the page. Comments in read explain further.</p>
<pre class="prettyprint">
class my_plugin{

   function __construct() {
      //place actoins and filters here like
      add_action('init', array($this, 'init'));
   }

   //place class methods for actions and filters here like
   function init(){
      //do stuff on init
   }

   //this is the function that will fire when the plugin is activated
   function install(){
       //you can include more files here
       //you can create more objects
       //you can do anything you might need to do on activation here!
    }

}

//now we need to create an instance of my_plugin so our actions and filters fire
add_action('init', 'init', 1);

function init(){
   new my_plugin();
}

//this tells WordPress to fire the install method of the
//my_plugin class whenever the plugin is activated
//the install function is in the class code above
register_activation_hook( __FILE__, array('my_plugin', 'install') );
</pre>
<p>This is my preferred way for registering activation hooks. Let me know if you have any questions or if this was helpful in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/register-activation-hook-with-object-oriented-plugin/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Search Files For Text On Mac</title>
		<link>http://ostedesign.com/search-files-for-text-on-mac</link>
		<comments>http://ostedesign.com/search-files-for-text-on-mac#comments</comments>
		<pubDate>Thu, 19 Jan 2012 00:16:33 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=442</guid>
		<description><![CDATA[The command line is a very valuable tool, and one of its most valuable commands is the grep command. This command allows you to search within files for a text string. You can use it like the following to search files within your current directory. grep -l "Find Me" * or like the below command in order to search recursively(r) within all folders up the tree from your current directory. So if you are in the root directory the following command will search for every file on your hard drive. grep -lr "Find Me" * You can also search within specific file extensions by changing the * to something like *.html or *.php. Now that is helpful.]]></description>
			<content:encoded><![CDATA[<p>The command line is a very valuable tool, and one of its most valuable commands is the <code>grep</code> command. This command allows you to search within files for a text string.</p>
<p>You can use it like the following to search files within your current directory.</p>
<pre class="prettyprint">
grep -l "Find Me" *
</pre>
<p>or like the below command in order to search recursively(r) within all folders up the tree from your current directory. So if you are in the root directory the following command will search for <strong>every</strong> file on your hard drive.</p>
<pre class="prettyprint">
grep -lr "Find Me" *
</pre>
<p>You can also search within specific file extensions by changing the * to something like *.html or *.php.</p>
<p>Now that is helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/search-files-for-text-on-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Content Precedes Design</title>
		<link>http://ostedesign.com/content-precedes-design</link>
		<comments>http://ostedesign.com/content-precedes-design#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:30:47 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://ostedesign.com/?p=352</guid>
		<description><![CDATA[I ran across a great quote from a well respected member of the web development and design community the other day and I wanted to share it here. The quote comes from Jeffrey Zeldman and it provides some valuable insight on how content should be approached when creating a design. &#8220;Content precedes design. Design in the absence of content is not design, it&#8217;s decoration.&#8221; I like this quote because it emphasis the fact that the web starts with content and that our designs should cater to this content. Not the other way around. Don&#8217;t get me wrong, I love illustrations and graphics, but I think the web is a place for content and we should build our websites around that content. Preferably with a crystal clean responsive design]]></description>
			<content:encoded><![CDATA[<p>I ran across a great quote from a well respected member of the web development and design community the other day and I wanted to share it here. The quote comes from <a href="http://www.zeldman.com/about/">Jeffrey Zeldman</a> and it provides some valuable insight on how content should be approached when creating a design.</p>
<blockquote><p>&#8220;Content precedes design. Design in the absence of content is not design, it&#8217;s decoration.&#8221;</p></blockquote>
<p>I like this quote because it emphasis the fact that the web starts with content and that our designs should cater to this content. Not the other way around. Don&#8217;t get me wrong, I love illustrations and graphics, but I think the web is a place for content and we should build our websites around that content. Preferably with a crystal clean responsive design <img src='http://ostedesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ostedesign.com/content-precedes-design/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

