<?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>Mvied Development</title>
	<atom:link href="http://mvied.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mvied.com</link>
	<description></description>
	<lastBuildDate>Fri, 28 Oct 2011 13:08:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WordPress HTTPS Plugin</title>
		<link>http://mvied.com/wordpress/wordpress-https/</link>
		<comments>http://mvied.com/wordpress/wordpress-https/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 21:51:57 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=338</guid>
		<description><![CDATA[I just wanted to take a minute to introduce my first WordPress plugin, WordPress HTTPS. When viewing a public WordPress page via HTTPS, sometimes images, JavaScript, and CSS files that are loaded on the page are not always loaded via HTTPS. This is primarily due to the way in which many WordPress plugin developers code [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to take a minute to introduce my first WordPress plugin, <a href="http://wordpress.org/extend/plugins/wordpress-https/" target="_blank">WordPress HTTPS</a>. When viewing a public WordPress page via HTTPS, sometimes images, JavaScript, and CSS files that are loaded on the page are not always loaded via HTTPS. This is primarily due to the way in which many WordPress plugin developers code the paths to these elements. My plugin takes care of all elements that are loaded on an HTTPS page and ensure that they are loaded over HTTPS.</p>
<p>If you have any questions or comments, please let me know. The plugin was only released a couple of days ago, so I&#8217;m looking for feedback and suggestions.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/wordpress/wordpress-https/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Biloxi River Paintball</title>
		<link>http://mvied.com/portfolio/biloxi-river-paintball/</link>
		<comments>http://mvied.com/portfolio/biloxi-river-paintball/#comments</comments>
		<pubDate>Wed, 05 May 2010 21:43:49 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=295</guid>
		<description><![CDATA[Biloxi River Paintball is the largest paintball field in south Mississippi. Located in northern Harrison County along the Big Biloxi River, Biloxi River Paintball is a 45+ acre woodsball field built by players for players.]]></description>
			<content:encoded><![CDATA[<p>Biloxi River Paintball is the newest and largest paintball field in south Mississippi. Located in northern Harrison County along the Big Biloxi River, Biloxi River Paintball is a 45+ acre woodsball/scenario field built by players for players. They offer 3 different playing  fields to accommodate different size groups. Biloxi River Paintball feature full equipment  rental, and a well trained refereeing staff. Biloxi River Paintball is a family oriented  park, and is perfect for a weekend experience for anyone, whether you  are new to the sport, or an experienced player, they will provide you  with a safe, exciting, but challenging field of battle.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/portfolio/biloxi-river-paintball/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bobkat&#8217;s Photos</title>
		<link>http://mvied.com/portfolio/bobkats-photos/</link>
		<comments>http://mvied.com/portfolio/bobkats-photos/#comments</comments>
		<pubDate>Wed, 05 May 2010 19:46:55 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Portfolio]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=285</guid>
		<description><![CDATA[Bobby Lollis with Bobkat's Photos is a professional photographer based on the Mississippi Gulf Coast. He operates in Ocean Springs and has performed award-winning photography for more than a decade in the Mississippi Gulf Coast area.]]></description>
			<content:encoded><![CDATA[<p>Bobby Lollis with bobkatsphotos is a Professional Photographer based  on the Mississippi Gulf Coast. He operates in Ocean Springs and has  performed award-winning photography for more than a decade in  Mississippi Gulf Coast Area.</p>
<p>Bob’s digital image specialties involve private and commercial  photography services. Bob works closely with other local professionals  to complete print media, website design and video production editing  services.</p>
<p>Bob has been voted the area’s best professional photographer over the  years in Mississippi Gulf Coast Area. bobkatsphotos maintains its  digital private and  commercial photography studio . Bobby aspires to  provide each customer with the highest level of photography services  achievable within our region.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/portfolio/bobkats-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 7 Z-index Bug</title>
		<link>http://mvied.com/css/internet-explorer-7-zindex-bug/</link>
		<comments>http://mvied.com/css/internet-explorer-7-zindex-bug/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 17:56:26 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=283</guid>
		<description><![CDATA[Today while working on a site, I ran into a really frustrating bug in IE7. While trying to stack absolutely positioned elements on a website, IE7 would not pay attention to z-index what-so-ever. The solution to this problem was to change the z-index of the parent element of what you want to display on top [...]]]></description>
			<content:encoded><![CDATA[<p>Today while working on a site, I ran into a really frustrating bug in IE7. While trying to stack absolutely positioned elements on a website, IE7 would not pay attention to z-index what-so-ever. The solution to this problem was to change the z-index of the parent element of what you want to display on top to a z-index higher than that of what you are trying to display underneath. I have no idea why this is the case, but since we&#8217;ll be supporting IE7 for a long time to come, it&#8217;s something that web developers need to be aware of.</p>
<p>I found a pretty good example of this bug in this article &#8211; <a href="http://brenelz.com/2009/02/03/squish-the-internet-explorer-z-index-bug/">Squish the Internet Explorer Z-Index Bug | Brenelz Web Design Solutions</a></p>
<p>I&#8217;ll be updating this article shortly with an example of my own.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/css/internet-explorer-7-zindex-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Would Happen if Google Ceased to Exist?</title>
		<link>http://mvied.com/internet/google-ceased-exist/</link>
		<comments>http://mvied.com/internet/google-ceased-exist/#comments</comments>
		<pubDate>Thu, 14 May 2009 19:11:19 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=274</guid>
		<description><![CDATA[About 1.6 billion people use the Internet every day. Out of all of those people, about 70% of them use Google as their preferred search engine. My question for you is a simple one: What would happen if Google ceased to exist? This thought came to me today when a Google outage brought the Internet [...]]]></description>
			<content:encoded><![CDATA[<p>About <a href="http://www.internetworldstats.com/stats.htm" class="new-window">1.6 billion people use the Internet</a> every day. Out of all of those people, about 70% of them use Google as their preferred search engine. My question for you is a simple one: What would happen if Google ceased to exist? This thought came to me today when a <a href="http://mvied.com/blog/google-outage-brings-internet-crawl/">Google outage brought the Internet to a crawl</a>.</p>
<p>I&#8217;m sure the first answer that comes to mind is &#8220;Omg, the world would implode!&#8221; Well, I&#8217;m here to tell you that the world <em>probably</em> wouldn&#8217;t implode, but it would have serious repercussions. Almost every major website on the Internet relies on Google in some way. Many sites receive almost all of their traffic directly from Google searches while other use Google services such as Gmail or Adsense for their business. If something critical happened to Google, what would these businesses do? What would the end-users do? What would we all do?</p>
<p>Today some of us <a href="http://mvied.com/blog/google-outage-brings-internet-crawl/">caught a small glimpse</a> of what the Internet would be like if Google suddenly disappeared. Every website that used any Google service almost completely shut down because the external scripts hosted on Google&#8217;s servers were inaccessible (this site included). I personally found myself lost and confused. My Gmail was down and Google was down so I couldn&#8217;t &#8216;Google&#8217; what the problem was. I couldn&#8217;t get on Google Talk to ask any other web heads what was wrong either. I tried using Live Search and Yahoo to no avail. My only savior was &#8216;<a href="http://www.digitalprank.org/google-boss-puts-an-end-to-twitter-deal-rumors/">poor man&#8217;s email</a>&#8216;, Twitter. Twitter was running rampant with people twittering about the Google outage.</p>
<p>On that note, I think the answer is clear as to what we would do without Google: Twitter.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/internet/google-ceased-exist/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google Outage Brings the Internet to a Crawl</title>
		<link>http://mvied.com/internet/google-outage-brings-internet-crawl/</link>
		<comments>http://mvied.com/internet/google-outage-brings-internet-crawl/#comments</comments>
		<pubDate>Thu, 14 May 2009 16:46:21 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[googlefail]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=262</guid>
		<description><![CDATA[As you may or may not have noticed, the Internet ran into a few complications today. Apparently the problem has been linked to an AT&#38;T routing problem somewhere in the Midwest. Some people didn&#8217;t experience any problems, while others were unable to access many large websites, most notably, Google. Several other large website such as [...]]]></description>
			<content:encoded><![CDATA[<p>As you may or may not have noticed, the Internet ran into a few complications today. Apparently the problem has been linked to an AT&amp;T routing problem somewhere in the Midwest. Some people didn&#8217;t experience any problems, while others were unable to access many large websites, most notably, Google. Several other large website such as Wal-Mart, Apple, and Microsoft were unreachable by people in certain locations.</p>
<p>I first noticed the problem while at work, trying to Google something. Google was down, so I used begrudgingly Yahoo!. Afterward, I noticed the website that I went to was also being extremely slow. I figured it was just our terrible T1 connection, but then used my Firebug to inspect the website and see what the problem was. It turned out that the problem was loading the analytics script from Google. Right about that time, I began to get worried. I tried a few trace routes and pings to Google and they all returned a bit dodgy. I then tried to ping other websites such as apple.com and microsoft.com and they too were unreachable. It was about this time that I began to wonder <a href="http://mvied.com/blog/google-ceased-exist/">what would happen if Google ceased to exist</a>.</p>
<p>I decided to check out Twitter to see exactly what was going on as there was no way to find any relevant information on what was happening. What I found was an abundance of news related to &#8216;googlefail&#8217;. You can see a stream of Twitters related to googlefail at the bottom of the post.</p>
<p>Now of course the problem wasn&#8217;t on Google&#8217;s end, but as Google is probably the most visited site on the Internet, when it goes down, people know it. Unfortunately, websites that use Adsense, Google API, Analytics, or any other Google service, became almost unreachable by people who could not reach Google.</p>
<p><strong>11:30 AM (CST)</strong> Google appears to have fixed the problem on their end. They obviously disabled the route that linked the problem with AT&amp;T. Shortly after that, the previously unreachable website began to come back up. This may be because AT&amp;T fixed the problem on their end, or the other websites are taking the same approach as Google and disabling that route. On a side note, the problem seems to be linked to more than just problems at AT&amp;T as <a href="http://www.internetpulse.net/Main.aspx?Metric=PL">keynote is showing packet loss</a> in multiple places.</p>
<p><script src="http://widgets.twimg.com/j/2/widget.js"></script> <script type="text/javascript">// <![CDATA[
new TWTR.Widget({
  version: 2,
  type: 'search',
  search: 'googlefail',
  interval: 6000,
  title: 'Google Fail',
  subject: '',
  width: 560,
  height: 300,
  theme: {
    shell: {
      background: '#B7B7B7',
      color: '#ffffff'
    },
    tweets: {
      background: '#ffffff',
      color: '#444444',
      links: '#1985b5'
    }
  },
  features: {
    scrollbar: false,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().start();
// ]]&gt;</script></p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/internet/google-outage-brings-internet-crawl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Useful Uses of Mod Rewrite</title>
		<link>http://mvied.com/search-engine-optimization/useful-uses-mod-rewrite/</link>
		<comments>http://mvied.com/search-engine-optimization/useful-uses-mod-rewrite/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 19:12:52 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=164</guid>
		<description><![CDATA[In this tutorial, I&#8217;m going to be teaching what mod rewrite is and few examples of its uses. Mod rewrite is a powerful tool and one of the simplest ways to make your website more SEO friendly. What is Mod Rewrite? Mod rewrite is a part of apache servers that can rewrite requested URLs on [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial, I&#8217;m going to be teaching what mod rewrite is and few examples of its uses. Mod rewrite is a powerful tool and one of the simplest ways to make your website more SEO friendly.</p>
<h3>What is Mod Rewrite?</h3>
<p>Mod rewrite is a part of apache servers that can rewrite requested URLs on the fly. As it supports an endless number of rules that in turn have unlimited attached rule conditions it is very flexible and an important URL manipulation mechanism. It can be used for internet users and for search engine friendly URLs. This increases the chance of the database driven website to be indexed.</p>
<h3>Enabling / Installing Mod Rewrite</h3>
<p>The first thing we want to do is make sure that we have mod_rewrite on our server. By default, Apache has mod_rewrite installed, but not enabled. The easiest way to test if mod_rewrite is enabled on your server is to create a .htaccess file in a test directory such as /modrewrite-test/.htaccess with the following inside:</p>
<p>  <code>Options +FollowSymLinks<br />RewriteEngine On</code></p>
<p>Now attempt to browse to the subdirectory. One of two things could happen:</p>
<ul>
<li>No errors Congrats mod_rewrite engine is now enabled.</li>
<li>500, Internal Server Error If you get this message then mod_rewrite was not installed/enabled on your server.</li>
</ul>
<p>If you found that mod_rewrite was not installed on your server, follow these steps.</p>
<ol>
<li>Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)</li>
<li>Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound &#8216;#&#8217; sign from in front of the line)</li>
<li>Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.</li>
</ol>
<p>After these steps, restart your apache server with the following command.</p>
<p>  <code>/etc/init.d/httpd restart</code></p>
<p>You should now have mod_rewrite successfully enabled. Be sure to test mod_rewrite again once apache server has been restarted.</p>
<h3>Using Mod Rewrite To Always Remove / Add WWW</h3>
<p>One easily fixed problem that many websites have is duplicate results in search engines. In any given search engine, http://www.example.com/ and http:// example.com are two completely different websites. This is a big problem because the content in your website is identified as duplicate content, and that brings your search engine rankings down. Using our new friend, mod_rewrite, we can assess this issue.</p>
<p>At the top of any .htaccess file, you need to turn Mod Rewrite on. This should always be at the top of your .htaccess file. You only need to turn Mod Rewrite on once.</p>
<p>  <code>RewriteEngine On</code></p>
<p>Additionally, you need to set your Rewrite Base. This is normally the directory in which the .htaccess file is located. If your .htaccess file is located in your root folder, your Rewrite Base would look like this:</p>
<p>  <code>RewriteBase /</code></p>
<p>Now then, there are two options to choose from. You can either choose to always remove the www, or always keep it. To always remove www (my preferred method), create a .htaccess file in your root directory. Inside of that file, add the following:</p>
<p>  <code>RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]<br />RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]</code></p>
<p>Likewise, if you would like to always add www, add the following to your .htaccess file:</p>
<p>  <code>RewriteCond %{HTTP_HOST} ^example.com$<br />RewriteRule (.*) http://www.example.com$1 [R=301]</code></p>
<p>Be sure to change example.com to your domain.</p>
<h3>Using Mod Rewrite to Clean Up Your URL&#8217;s</h3>
<p>The most popular use of Mod Rewrite is using it to clean up your website&#8217;s URL&#8217;s. As you may or may not know, search engines don&#8217;t particularly care for URL&#8217;s with a lot of arguments like many websites serve.  Example:</p>
<p>  <code>http://www.example.com/index.php?p=about</code></p>
<p>With the power of the mod_rewrite apache module, we can make this URL much cleaner.</p>
<p>  <code>http://www.example.com/about.html</code></p>
<p>To accomplish this, we get to see our good friend regular expressions. I know you&#8217;re really excited now. To accomplish the rewrite above, I added the following to my .htaccess file after the add/remove www lines.</p>
<p>  <code>RewriteRule ^([^/]+).html$ /index.php?p=$1 [QSA,L,NC]</code></p>
<p>Let&#8217;s take a closer look at this line so that we can really understand what it&#8217;s doing.</p>
<p>  <code>([^/]+)</code></p>
<p>This is the regular expression to match anything except a forward slash. This is the easiest way to match anything that will fall between two forward slashes when dealing with rewriting URL&#8217;s.</p>
<p>  <code>.html</code></p>
<p>This rewrites the url to have .html at the end. This gives the appearance of a regular .html file to your php file.</p>
<p>  <code>/index.php?p=$1</code></p>
<p>This is the part of the rewrite which is the originating location. Each time you have a regular expression in the first part matching a certain string, you should have it referenced in this part. The $1 references the first regular expression in the first half of the line. So any value that is assigned to the variable p is placed where the first regular expression is in the first half of the line.</p>
<p>If you wanted your URL to look like a directory, you would use this line instead of the one given previously.</p>
<p>  <code>RewriteRule ^([^/]+)/?$ /index.php?p=$1 [QSA,L,NC]</code></p>
<p>This would return URL&#8217;s like this:</p>
<p>  <code>http://www.example.com/about/</code></p>
<h3>Adding a Trailing Slash To Your URL&#8217;s</h3>
<p>The main point of adding a trailing slash to your URL&#8217;s is that it increases server performance. When a trailing slash is added to the end of a URL that does not end in a file extension, it tells the server to only make on call to itself, thus decreasing server traffic.</p>
<p>To always add a trailing slash to a URL that does not end in a file extention, such as http://www.example.com, add the following to your .htaccess file in your root directory.</p>
<p>  <code>rewriteCond $1 !/$<br />rewriteCond %{REQUEST_FILENAME}/ -d<br />rewriteRule (.+) http://www.example.com/$1/ [R=301,L]</code></p>
<p>The first line checks to see if there is no trailing slash. The second line checks to see if a directory exists with the given URL if the trailing slash is added. The third line adds the trailing slash and redirects the user.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/search-engine-optimization/useful-uses-mod-rewrite/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tips To Make Your Website SEO Friendly</title>
		<link>http://mvied.com/search-engine-optimization/tips-website-seo-friendly/</link>
		<comments>http://mvied.com/search-engine-optimization/tips-website-seo-friendly/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 00:36:18 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=160</guid>
		<description><![CDATA[There are many techniques that web developers use to better their SEO. If you follow these simple steps, you will be ranked very high on every search engine except Google. Google is the ONLY search engine that is difficult to rank high on unless you have a very unique name to your website that people [...]]]></description>
			<content:encoded><![CDATA[<p>There are many techniques that web developers use to better their SEO. If you follow these simple steps, you will be ranked very high on every search engine except Google. Google is the ONLY search engine that is difficult to rank high on unless you have a very unique name to your website that people will search for directly.</p>
<p><strong>1. Place keywords everywhere except the keywords meta tag.</strong> Say what? Yeah, that&#8217;s right. Only Yahoo! uses the keyword meta tag now. Not a single other search engine does. Honestly, Yahoo! is so easy to rank high on, there&#8217;s no reason to even use keywords anymore. Instead, place your keywords in places that truly matter. The URL is quite possible the best place to put your keywords. For instance I did a website for work and its purpose is to sell heavy duty truck parts. Guess what we called the site: heavydutytruckparts.com. Guess where it ranks on every search engine except Google when you search heavy duty truck parts&#8217;: Page numero uno. If you can&#8217;t manage to get keywords in your URL, place them in your title tag, description meta tag, and/or your header tags (preferably your h1.)</p>
<p><strong>2. Organize your Title tag. Search engines look at titles in order from specific to general.</strong> Most people type out their title tag like this: &#8216;Site name > Page title&#8217; or something similar. This will in fact drive less traffic to your website in the case of an informative website. If you have pages with tutorials or blog posts, you will want the more specific title of the page to be first so that it will rank higher when people search for those keywords.</p>
<p><strong>3. Use a different description for every page.</strong> The worst thing you could do is use a static description for all of your website&#8217;s pages. With each page of your site, describe exactly what that page is about. If you&#8217;re like me and run a blog, writing a description for a specific blog will bring search enginge users when they are searching for content that relates to what you&#8217;re writing about. If I described my site as &#8220;Mike Ems&#8217; blog,&#8221; nobody would ever find it because nobody cares about what I have to say.</p>
<p><strong>4. Use valid X/HTML and CSS. Just do it. Search enginges like it.</strong> When crawlers inspect your site, they pay special attention to your header tags and classify parts of your page based on what heading they fall under. Therefore, your primary content should be under an h2 (as the title of your website should be the h1) and then have sub-menus and side navigation (if you have it) should be in h3&#8242;s or lower. This will help the search engine clarify what is more important on your website.</p>
<p><strong>5. Ensure that your website is accessible.</strong> Ensure that your website is safe for screen readers and uses shortcut keys. This does help your SEO, but more importantly it helps your users. There are many other techniques to increase the accessibilty and usability of your website. Another example would be to use buttons that can increase and decrease the font sizes on your site. Just because you can read the font at 0.8em doesn&#8217;t mean the next guy can. Alternate stylsheets are also a very big priority. If you have a website with a dark background and light text, this can hurt the eyes of some users. You should always have an alternate stylesheet for these users even if it just a minimalistic black and white stylesheet. If you don&#8217;t offer this option, it could easily drive users away from your website.</p>
<p><strong>6. Use SEO friendly URLs.</strong> This is most important when you begin using aserver-side programming language such as PHP to create web pages. If you use techniques like me and your URL&#8217;s end up looking like this: &#8216;http://www.example.com/index.php?p=about&#8217;, then there needs to be some changes. Search engines really don&#8217;t like URL&#8217;s like this and sometimes won&#8217;t even follow them. Using apache mod rewrites, you can easily rewrite your URL&#8217;s to be more SEO friendly. The link above could be changed to look like &#8216;http://www.example.com/about.html&#8217; or  &#8216;http://www.example.com/about/&#8217;. Either one of these URL&#8217;s would make the search engine much happier and they don&#8217;t even require any changes to your current pages (other than changing your links to match the new URL format.)</p>
<p><strong>7. Check cross-browser compatibility!</strong> This doesn&#8217;t really help SEO, but you just need to do it. Yes, that means checking in IE6 for the time being. It&#8217;s nothing short of a pain in the ass, but there are still a few people out there using it. The best thing to do is use something like Google Analytics to track visitors to your website and make an assessment after a few months of the site being public. From there you will be able to tell if a considerable portion of your users are IE6-tards. Don&#8217;t forget about checking your stie on a Macintosh. The resolutions and fonts of a Macintosh are very different from a PC. If you want to see how your site looks in Safari on a Macintosh, you can use the free sample service of Browsr Camp. They offer many more browsers, but you have to pay to use the rest.</p>
<p>There are also a few other things that help SEO, but they are out of your control such as the seniority of your website. More times than not, a site that has been around at least a year will rank much higher than a new website. There have been cases where a new website will have many links to it from very popular websites that drive the ranking of the website much higher than a new website usually is.</p>
]]></content:encoded>
			<wfw:commentRss>http://mvied.com/search-engine-optimization/tips-website-seo-friendly/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Unobtrusive Open Link in New Window</title>
		<link>http://mvied.com/javascript/unobtrusive-open-link-window/</link>
		<comments>http://mvied.com/javascript/unobtrusive-open-link-window/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 18:07:16 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=143</guid>
		<description><![CDATA[As many of you know by now, the attribute &#8216;target&#8217; will not validate in an XHTML document. This creates quite a few problems for us because we don&#8217;t always want people leaving our site entirely. With a simple JavaScript code you can easily open external links in new windows unobtrusively! First, make a link with [...]]]></description>
			<content:encoded><![CDATA[<p>As many of you know by now, the attribute &#8216;target&#8217; will not validate in an XHTML document. This creates quite a few problems for us because we don&#8217;t always want people leaving our site entirely. With a simple JavaScript code you can easily open external links in new windows unobtrusively!</p>
<p>First, make a link with the class &#8216;external&#8217;.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;external&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.mvied.com/&quot;</span>&gt;</span>MVied Designs<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span></pre></div></div>

<p>Now apply this to an external JavaScript file named external.js and upload somewhere on your site.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
 <span style="color: #003366; font-weight: bold;">var</span> links <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i <span style="color: #339933;">&lt;</span> links.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>links<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">className</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'external'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   links<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">onclick</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    window.<span style="color: #000066;">open</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">href</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
 window.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> init<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And link to this javascript in your header with a script tag. Don&#8217;t forget to change the location of the javascript file to where you uploaded external.js.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://example.com/js/external.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://mvied.com/javascript/unobtrusive-open-link-window/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unobtrusive Input Clear on Focus</title>
		<link>http://mvied.com/javascript/unobtrusive-input-clear-focus/</link>
		<comments>http://mvied.com/javascript/unobtrusive-input-clear-focus/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 14:54:48 +0000</pubDate>
		<dc:creator>Mike Ems</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://mvied.com/?p=116</guid>
		<description><![CDATA[I&#8217;ve seen a lot of functions out there that handle the much adored input clear on focus. This is a nice feature to have on your site especially on search boxes. Also, according to usability standards, you are not supposed to leave any input field blank. The value of your input fields and textareas should [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen a lot of functions out there that handle the much adored input clear on focus. This is a nice feature to have on your site especially on search boxes. Also, according to usability standards, you are not supposed to leave any input field blank. The value of your input fields and textareas should describe in detail what it is the user should be putting into the form field.</p>
<p>There are many ways to go about accomplishing this feature. The best way to accomplish this is with this code that I found at <a class="external" href="http://perishablepress.com/press/2008/07/22/unobtrusive-javascript-autoclear-restore-multiple-inputs-focus/">Perishable Press</a>. Many others have chosen to do this by adding inline JavaScript to their HTML markup, and we all know that that is a big no-no in today&#8217;s world. Today, with the use of the powerful Document Object Model, or DOM, we are able to manipulate our markup without actually changing anything.</p>
<p>Let&#8217;s get down to business. Now if you&#8217;re like me, you&#8217;ve found this article from Google and you&#8217;re working on a project and you&#8217;re in a rush, so here&#8217;s the code so you can continue your project. Put this into an external file named inputclear.js and upload it to your server.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> init<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
 <span style="color: #003366; font-weight: bold;">var</span> inputs <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
 <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> inputs.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  inputs<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #339933;">,</span>inputs<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">defaultValue</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  inputs<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">onfocus</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'submit'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'reset'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">''</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
  inputs<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #000066;">onblur</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span><span style="color: #339933;">==</span><span style="color: #3366CC;">''</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'submit'</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'type'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'reset'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span>
  inputs<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">ondblclick</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">value</span> <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'rel'</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#125;</span>
 <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">childNodes</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
 window.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> init<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Afterwards, add link to this javascript in your header with a script tag. Don&#8217;t forget to change the location of the javascript file to where you uploaded inputclear.js.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://example.com/js/inputclear.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:0--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>This code can also be used to clear textareas by changing this line:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> inputs <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'input'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>To this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> inputs <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'textarea'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://mvied.com/javascript/unobtrusive-input-clear-focus/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

