<?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>kyleabaker.com &#187; Web Design</title>
	<atom:link href="http://kyleabaker.com/category/web/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://kyleabaker.com</link>
	<description>Web Technologies, Linux, Tips, Tricks and my Life</description>
	<lastBuildDate>Wed, 28 Jul 2010 19:29:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Sputnik: ECMAScript 3 conformance test suite</title>
		<link>http://kyleabaker.com/2010/03/11/sputnik-ecmascript-3-conformance-test-suite/</link>
		<comments>http://kyleabaker.com/2010/03/11/sputnik-ecmascript-3-conformance-test-suite/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 16:53:45 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[ECMAScript]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Picture]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[web browser]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3909</guid>
		<description><![CDATA[Today, The Chromium Blog has officially released their ECMAScript 3 conformance test suite in a form that is more friendly to test in your browser. The test contains over 5,000 tests (currently 5,246) and continues to grow! The Chromium Blog has also posted some initial results among the top web browsers for Windows (emphasis is [...]]]></description>
			<content:encoded><![CDATA[<p>Today, The Chromium Blog has officially released their ECMAScript 3 conformance <a href="http://sputnik.googlelabs.com/">test suite</a> in a form that is more friendly to test in your browser. The test contains over 5,000 tests (currently 5,246) and continues to grow!</p>
<p><a href="http://blog.chromium.org/">The Chromium Blog</a> has also posted some initial results among the top web browsers for Windows (emphasis is mine).﻿﻿</p>
<blockquote><p>In this example, when running Sputnik on a Windows machine, we saw the following results: <strong>Opera 10.50</strong>: 78 failures, <strong>Safari 4</strong>: 159 failures, <strong>Chrome 4</strong>: 218 failures, <strong>Firefox 3.6</strong>: 259 failures and <strong>Internet Explorer 8</strong>: 463 failures.</p></blockquote>
<div id="attachment_3910" class="wp-caption alignnone" style="width: 410px"><a href="http://kyleabaker.com/wp-content/uploads/2010/03/sputnik.png"><img class="size-full wp-image-3910" title="sputnik" src="http://kyleabaker.com/wp-content/uploads/2010/03/sputnik.png" alt="" width="400" height="400" /></a><p class="wp-caption-text">An experimental plot to illustrate how the latest stable browsers compare.</p></div>
<p>Putting that into terms of 100% conformance rates: <strong>Opera 10.50</strong>: 98.5% successful, <strong>Safari 4</strong>: 97.0% successful, <strong>Chrome  4</strong>: 95.9% successful, <strong>Firefox 3.6</strong>: 95.1% successful and <strong>Internet  Explorer 8</strong>: 91.2% successful.</p>
<p>Running the test myself in the latest Opera 10.50 snapshot for Linux (<a href="http://my.opera.com/desktopteam/blog/2010/03/05/new-snapshot">Build 6242</a>) I&#8217;m seeing a solid 77, proof that Opera 10.50 is progressing still!</p>
<p>As explained in their post, the goal of this test is not related to Javascript performance in terms of speed, but in terms of conformance to the spec. Ideally all browsers would be in the center of the bullseye, meaning they all conform and behave (nearly) identically.</p>
<p>The Sputnik tests have been released as an open source project, so if you&#8217;re interested in providing conformance test cases to improve the future web..now is a perfect chance to get involved. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>To run the test yourself or learn more about it, visit: <a href="http://sputnik.googlelabs.com/">http://sputnik.googlelabs.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2010/03/11/sputnik-ecmascript-3-conformance-test-suite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution To WordPress getimagesize() Error</title>
		<link>http://kyleabaker.com/2010/01/14/solution-to-wordpress-getimagesize-error-solution/</link>
		<comments>http://kyleabaker.com/2010/01/14/solution-to-wordpress-getimagesize-error-solution/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 22:36:19 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3838</guid>
		<description><![CDATA[If you&#8217;ve for whatever reason noticed that your WordPress website is generating errors similar to the following then I may have a solution for you. Warning: getimagesize(/home/.some-dir/example.com/folder/httpd.www/wp-content/uploads/some-image.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/.some-dir/example.com/folder/httpd.www/wp-content/blah/blah/blah.php on line 123 I noticed that some pages that generated image information were printing errors out [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve for whatever reason noticed that your WordPress website is generating errors similar to the following then I may have a solution for you.</p>
<p><span style="color: #993300;"><code>Warning:  getimagesize(/home/.some-dir/example.com/folder/httpd.www/wp-content/uploads/some-image.jpg)  [function.getimagesize]: failed to open stream: No such file or  directory in  /home/.some-dir/example.com/folder/httpd.www/wp-content/blah/blah/blah.php  on line 123</code></span></p>
<p>I noticed that some pages that generated image information were printing errors out on my pages with private server file structures included. Generally you don&#8217;t want to see this printed out to the public. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I&#8217;m not guaranteeing a fix for you, but rather what worked for me.</p>
<p>If you are getting an error link the one that I&#8217;ve listed above, more specifically the &#8220;<em>failed to open stream: No such file or  directory</em>,&#8221; then you may be about to fix it in only a few minor steps.</p>
<p><strong>Things you will need:</strong></p>
<ul>
<li>FTP (I use FileZilla)</li>
<li>phpMyAdmin</li>
<li>Ability to add a new plugin to your site</li>
<li>Patience</li>
</ul>
<p><strong>Procedure<br />
</strong><br />
<em>Single quotes must be the normal ascii quotes. Chances are, if you copy and paste from my blog, they will be the wrong type so double check that as it could give you problems. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em></p>
<ol>
<li><strong>First and foremost</strong>, make sure to backup your entire database to a safe place. I&#8217;m not liable in the case that you don&#8217;t backup your database and this procedure borks your blog (or any other case for that matter). <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li><strong>Create a new file</strong> named &#8220;<em>abstest.php</em>&#8221; and upload it to your blog&#8217;s root directory after entering the following code into it:<br />
<code>&lt;?php define('ABSPATH', dirname(__FILE__).'/'); echo ABSPATH; ?&gt;</code></li>
<li><strong>Open a new browser tab</strong> and navigate to &#8220;<em>http://www.your-website.com/abstest.php</em>&#8220;. You should find a short page with the printout of your servers absolute path.</li>
<li><strong>Check that the path provided</strong> by this test file matches the base path printed out by the getimagesize() error exactly. In my case, my server had changed slightly so the differences were similar to the following:<br />
<code>/home/.some-dir/example.com/folder/httpd.www/</code><br />
<code>/home/example.com/folder/httpd.www/</code></li>
<li><strong>If you find a mismatch</strong>, then you&#8217;ve found your problem and the rest is simple. If not, then my tips will most likely not solve your particular WordPress error(s).</li>
<li>If you&#8217;ve found a mismatch, <strong>then continue</strong>: Open a new browser tab and navigate to your phpMyAdmin interface. Select your WordPress database, then click Search. I searched all tables for a match of the path that was different, in my case it was &#8220;<em>.some-dir/</em>&#8220;.</li>
<li><strong>If there are matches found</strong> then you need to click the SQL tab at the top (preferably in a new tab) and paste the following (making sure to edit it to match the table and fields you need) and run it to find and replace that changed part of the path.<br />
<code>update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, ‘find this  string’, ‘replace found string with this string’);</code><br />
For more information on SQL find and replace, either search Google or <a href="http://www.mydigitallife.info/2007/04/23/how-to-find-and-replace-text-in-mysql-database-using-sql/">read this</a>.</li>
<li><strong>After replacing</strong> all of the affected tables and strings, your images should be properly address. You&#8217;re not done yet though.</li>
<li><strong>Open WordPress Plugins</strong> and add/install a plugin named &#8220;<a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/">Regenerate Thumbnails</a>&#8220;. After installing it, make sure to activate it. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>In your Admin panel,<strong> find the Tools menu</strong> and expand it. You should see a menu item labeled &#8220;Regen. Thumbnails&#8221;&#8230;click it. This will open a page with a start button. Clicking this button will begin the process of correcting your thumbnail dimensions as well as other metadata. It will take some time depending on the number of thumbnails you have accumulated.</li>
<li><strong>After the progress bar reaches 100%</strong> it will notify you that it is complete. You&#8217;re all done! You may need to clear your cache to refresh any pages that still generate the previous error message.</li>
</ol>
<p>If you had any problems with the above mentioned procedure, I would suggest restoring your database using your backup copy and either trying again, paying someone to do it for you or just forgetting about it. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If it works then great! If not then sorry you&#8217;ve wasted your time. It worked for me, so maybe it will work for you as well. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2010/01/14/solution-to-wordpress-getimagesize-error-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UserJS: Twitter-Rounded</title>
		<link>http://kyleabaker.com/2010/01/13/userjs-twitter-rounded/</link>
		<comments>http://kyleabaker.com/2010/01/13/userjs-twitter-rounded/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 05:49:11 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Picture]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[userjs]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3833</guid>
		<description><![CDATA[I&#8217;ve thrown together a quick script for Opera that you can use if you&#8217;d like to see rounded corners (aka border-radius). It seems that Twitter currently sends Opera a style sheet with empty settings for rounded corners&#8230; &#8230;so, all I did was write a script that will insert a link to a style sheet that&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve thrown together a <a href="http://www.kyleabaker.com/downloads/opera/scripts/userjs/twitter-rounded/twitter-rounded.user.js">quick script</a> for Opera that you can use if you&#8217;d like to see rounded corners (aka border-radius). It seems that Twitter currently sends Opera a style sheet with empty settings for rounded corners&#8230;</p>
<p><a href="http://kyleabaker.com/wp-content/uploads/2010/01/twitter-css-2-opera.png"><img class="alignnone size-full wp-image-3834" title="twitter-css-2-opera" src="http://kyleabaker.com/wp-content/uploads/2010/01/twitter-css-2-opera.png" alt="" width="234" height="391" /></a></p>
<p>&#8230;so, all I did was write a script that will insert a link to a style sheet that&#8217;s <a href="http://www.kyleabaker.com/downloads/opera/scripts/userjs/twitter-rounded/twitter-rounded.css">stored here</a> at kyleabaker.com which overwrites these empty styles with the correct ones.</p>
<p>If you&#8217;ve never used scripts before then you should first <a href="http://kyleabaker.com/goodies/opera/userjs/#how-to-setup-user-javascript-userjs-in-opera">learn how to setup UserJS</a>. After you&#8217;ve setup Userjs, you may need to enable UserJS for secure pages (https) in Opera&#8217;s internal configuration page&#8230;.&#8221;<a href="opera:config#UserPrefs|UserJavaScriptonHTTPS">opera:config#UserPrefs|UserJavaScriptonHTTPS</a>&#8220;. Just check/enable that option. Make sure to click save!</p>
<p>Lastly, save the &#8220;<a href="http://www.kyleabaker.com/downloads/opera/scripts/userjs/twitter-rounded/twitter-rounded.user.js">Twitter-Rounded</a>&#8221; script to your UserJS folder that you setup in the steps above.</p>
<p>Now you have a more pleasant looking Twitter page in Opera 10.5. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2010/01/13/userjs-twitter-rounded/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-UserAgent and WP-TwitterBadge</title>
		<link>http://kyleabaker.com/2010/01/11/wp-useragent-and-wp-twitterbadge-updates/</link>
		<comments>http://kyleabaker.com/2010/01/11/wp-useragent-and-wp-twitterbadge-updates/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:19:00 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[web browser]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-twitterbadge]]></category>
		<category><![CDATA[wp-useragent]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3831</guid>
		<description><![CDATA[I&#8217;ve just pushed a few updates to my WP-UserAgent and WP-TwitterBadge plugins. If you&#8217;re already using them then you should be able to update via your WordPress Admin area shortly. If you&#8217;re not using them yet, feel free to browse around and check into them!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just pushed a few updates to my <a href="http://kyleabaker.com/goodies/coding/wp-useragent/">WP-UserAgent</a> and <a href="http://kyleabaker.com/goodies/coding/wp-twitterbadge/">WP-TwitterBadge</a> plugins. If you&#8217;re already using them then you should be able to update via your WordPress Admin area shortly.</p>
<p>If you&#8217;re not using them yet, feel free to browse around and check into them!</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2010/01/11/wp-useragent-and-wp-twitterbadge-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WP-TwitterBadge v0.2 Released</title>
		<link>http://kyleabaker.com/2009/09/15/wp-twitterbadge-v0-2-released/</link>
		<comments>http://kyleabaker.com/2009/09/15/wp-twitterbadge-v0-2-released/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 06:31:54 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-twitterbadge]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3704</guid>
		<description><![CDATA[After taking some time to track down a bug that seems to only affect Internet Explorer 6 (why on earth did I bother?) I&#8217;ve finally released an update that fixes the error. After getting several comments about users experiencing errors with this plugin while using IE6 I finally gave in and patched the little bug. [...]]]></description>
			<content:encoded><![CDATA[<p>After taking some time to track down a bug that seems to only affect Internet Explorer 6 (why on earth did I bother?) I&#8217;ve finally released an update that fixes the error.</p>
<p>After getting several comments about users experiencing errors with this plugin while using IE6 I finally gave in and patched the little bug. Why are they still using IE6?</p>
<p>&#8230;well, it works fine now&#8230;as far as I know. I&#8217;ve had a few people test it with no errors as well as myself, so hopefully if you couldn&#8217;t use it before it will work fine now.</p>
<p>To find out more about this WordPress plugin, go to it&#8217;s <a href="http://kyleabaker.com/goodies/coding/wp-twitterbadge/">main page</a>. You will find all released versions there (past and present) as well as a link to the official WordPress Plugin page. Feel free to leave feedback!</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/09/15/wp-twitterbadge-v0-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP-UserAgent v0.9 Released</title>
		<link>http://kyleabaker.com/2009/09/15/wp-useragent-v0-9-released/</link>
		<comments>http://kyleabaker.com/2009/09/15/wp-useragent-v0-9-released/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 06:25:58 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3702</guid>
		<description><![CDATA[I&#8217;ve just released an update for the WordPress plugin WP-UserAgent. The update changelog is as follows: v0.9 Added detection for Venenux GNU Linux and Oracle Linux. Added detection for Laconica and MovableType trackbacks. Cleaned some of the code for trackback detections. You can find out more about WP-UserAgent as well as a download from the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released an update for the WordPress plugin WP-UserAgent. The update changelog is as follows:</p>
<p><strong>v0.9</strong></p>
<ul>
<li>Added detection for Venenux GNU Linux and Oracle Linux.</li>
<li>Added detection for Laconica and MovableType trackbacks.</li>
<li>Cleaned some of the code for trackback detections.</li>
</ul>
<p>You can find out more about WP-UserAgent as well as a download from the <a href="http://kyleabaker.com/goodies/coding/wp-useragent/">main page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/09/15/wp-useragent-v0-9-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New: Netflix Watch Instantly Timer</title>
		<link>http://kyleabaker.com/2009/09/14/new-netflix-watch-instantly-timer/</link>
		<comments>http://kyleabaker.com/2009/09/14/new-netflix-watch-instantly-timer/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 04:47:52 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[netflix]]></category>
		<category><![CDATA[userjs]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3696</guid>
		<description><![CDATA[I&#8217;ve just posted a User Javascript file that allows you to get a quick glance at the total time that you&#8217;ve spent watching Netflix Watch Instantly programs. So far I haven&#8217;t had enough time to make the script Greasemonkey compatible, but it should be shortly. For now, it works great with Opera. Thanks to @fearphage [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just posted a User Javascript file that allows you to get a quick glance at the total time that you&#8217;ve spent watching Netflix Watch Instantly programs.</p>
<p><a href="http://kyleabaker.com/wp-content/uploads/2009/09/netflix-watch-instantly-with-userjs1.png"><img class="alignnone size-medium wp-image-3697" title="netflix-watch-instantly-with-userjs" src="http://kyleabaker.com/wp-content/uploads/2009/09/netflix-watch-instantly-with-userjs1-300x124.png" alt="netflix-watch-instantly-with-userjs" width="300" height="124" /></a></p>
<p><span style="text-decoration: line-through;">So far I haven&#8217;t had enough time to make the script Greasemonkey compatible, but it should be shortly. For now, it works great with Opera.</span></p>
<p>Thanks to @fearphage for helping me get this sorted out with Greasemonkey as well!</p>
<p>Head on over and <a href="http://kyleabaker.com/goodies/opera/userjs/userjs-netflix-watch-instantly-time-counter/">grab the script</a> so you can keep tabs on how much time you spend watching tv&#8230;online&#8230;on netflix. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/09/14/new-netflix-watch-instantly-timer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally updated to phpBB 3.0.5</title>
		<link>http://kyleabaker.com/2009/08/06/finally-updated-to-phpbb-3-0-5/</link>
		<comments>http://kyleabaker.com/2009/08/06/finally-updated-to-phpbb-3-0-5/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 20:00:19 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[phpbb3]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3575</guid>
		<description><![CDATA[After weeks of postponing the phpBB 3.0.5 update, I&#8217;ve finally gotten around to installing it on my BimmerMania.com forums. I&#8217;ve not been very impressed with phpBB since I first started using in way back when the 2.x branch was the latest stable. Now that phpBB3 has been bombarded with spam, I&#8217;ve been forced to try [...]]]></description>
			<content:encoded><![CDATA[<p>After weeks of postponing the phpBB 3.0.5 update, I&#8217;ve finally gotten around to installing it on my <a href="http://www.bimmermania.com/">BimmerMania.com</a> forums.</p>
<p>I&#8217;ve not been very impressed with phpBB since I first started using in way back when the 2.x branch was the latest stable.</p>
<p>Now that phpBB3 has been bombarded with spam, I&#8217;ve been forced to try new anti-spam measures.</p>
<p>I&#8217;m very disappointed in their community support for this issue, but I was able to find a great post that covers several options. It&#8217;s entitled <a href="http://www.phpbb.com/community/viewtopic.php?f=46&amp;t=1437125">Preventing Spam in 3.0</a> and it&#8217;s been the best sort of spam solutions I&#8217;ve found for phpBB3.</p>
<p>If you&#8217;re having problems with spam bots on your phpBB forums, then I would highly suggest that you look into these solutions and pick one that works for you.</p>
<p>In the meantime, I&#8217;ll be waiting for phpBB to release some sort of solution to all of this and become as reliable and stable as WordPress has been.</p>
<p>Easy theme and plugin (a.k.a. mod) installs, updates and uninstalls would also be highly appreciated. As well as a one click automatic update system for phpBB itself.</p>
<p>phpBB still has a long way to go before it will be as friendly as the current WordPress admin panel, but all of this manual work isn&#8217;t enough to convince me that a better solution is available&#8230;so I guess I&#8217;ll be sticking with phpBB3 for a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/08/06/finally-updated-to-phpbb-3-0-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Browser Sniffing is a Bad Idea</title>
		<link>http://kyleabaker.com/2009/07/27/why-browser-sniffing-is-a-bad-idea/</link>
		<comments>http://kyleabaker.com/2009/07/27/why-browser-sniffing-is-a-bad-idea/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 02:36:20 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[ECMAScript]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Web Browsers]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3540</guid>
		<description><![CDATA[For many web developers, browser sniffing has become almost routine. Have you ever noticed that short list of &#8220;supported web browsers&#8221;? While browser sniffing may seem like a good idea at first, you may be setting yourself up for problems later. The biggest problem with browser sniffing is that it is usually relied on far [...]]]></description>
			<content:encoded><![CDATA[<p>For many web developers, browser sniffing has become almost routine. Have you ever noticed that short list of &#8220;supported web browsers&#8221;?</p>
<p>While browser sniffing may seem like a good idea at first, you may be setting yourself up for problems later.</p>
<p>The biggest problem with browser sniffing is that it is usually relied on far too heavily to even consider removing later. The inner workings of a site can be based (unknowingly sometimes) around working specifically for specified web browsers and nothing more.</p>
<p>One poor use of browser sniffing that <a href="http://my.opera.com/desktopteam/blog/show.dml/4166174?startidx=300#comment9748031">I came across today</a> was for EyeWearSelect.com and it just so happens to be an easy fix.</p>
<p>On one of the EyeWearSelect pages, they show a thumbnail preview of a pair of glasses. Below the image is a link entitled &#8220;Click to Enlarge&#8221;, which uses some javascript to show you a larger picture in a pop-up window. Here&#8217;s how they begin the <a href="http://www.eyewearselect.com/templates/basic/js/pop.js">pop-up script</a>..</p>
<p><code>if (parseInt(navigator.appVersion.charAt(0))&gt;=4){<br />
var isNN=(navigator.appName=="Netscape")?1:0;<br />
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}</code></p>
<p>Basically, the script says&#8230;true or false&#8230;this is Netscape? Also, true or false&#8230;this is Microsoft (Internet Explorer)? ..but what if you&#8217;re not using Netscape or Internet Explorer? What if you&#8217;re using Opera? or Konqueror?</p>
<p>If you&#8217;re using a browser that doesn&#8217;t match Netscape or Internet Explorer, then the future checks for isNN and isIE will never match and your browser will be &#8220;incompatible&#8221; with the scripts. In this case, the incompatibility is that the author never made it possible for those that are compatible.</p>
<p>A simple fix for this would be to change that bit of code to the following, which would basically check for Internet Explorer and then treat all others differently..</p>
<p><code>if (parseInt(navigator.appVersion.charAt(0))&gt;=4){<br />
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;<br />
var isNN=!isIE;}</code></p>
<p>They won&#8217;t always be this easy for developers to correct, but this script could actually be cleaned up much more than just that.</p>
<p>In most cases, browser sniffing isn&#8217;t needed. The more efficient method to follow is capability testing.</p>
<p>If your code requires a web browser with capabilities that others (or not all web browsers) have, then you can use browser sniffing which is a form of hard coding the compatible web browsers&#8230;or you can test the browser&#8217;s capabilities and see if the javascript that you need to use will be supported.</p>
<p>By using the second method, you make your script much friendlier to the future of both the web and it&#8217;s browsers. You will also save yourself some work by not having to update the script each time you want to support another browser that would already be capable of using your script if it weren&#8217;t blocked in the first place. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you run compatibility tests and find that a certain feature will not be available, that&#8217;s the time to announce that the user should update their browser or use a different one all together.</p>
<p>Of all of the times that I&#8217;ve seen browser sniffing, only a couple have every been properly used. One of those was a browser sniffer that would display instructions and images explaining how to download and save a file to your computer. The images were of course specific to the browser that I was using for a more useful set of instructions.</p>
<p>If you should happen to come across a web site that suggests that your browser is not compatible, fire off an email and <span style="text-decoration: line-through;">let them know that you would appreciate more accurate scripting and detection for your web browser</span> let them know that you would appreciate more accurate scripting!</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/07/27/why-browser-sniffing-is-a-bad-idea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New WordPress Twitter Badge Plugin!</title>
		<link>http://kyleabaker.com/2009/07/09/new-wordpress-twitter-badge-plugin/</link>
		<comments>http://kyleabaker.com/2009/07/09/new-wordpress-twitter-badge-plugin/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 20:21:04 +0000</pubDate>
		<dc:creator>kyleabaker</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[ECMAScript]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Picture]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-twitterbadge]]></category>

		<guid isPermaLink="false">http://kyleabaker.com/?p=3389</guid>
		<description><![CDATA[After coming across this nifty little Twitter Badge at Techie-Buzz while reading a Google Chrome OS article, I realized how cool their little Twitter link was and I instantly new it was going to be on kyleabaker.com as well. After a quick look at the source code of the page, I had decided to build [...]]]></description>
			<content:encoded><![CDATA[<p>After coming across this nifty little Twitter Badge at Techie-Buzz while reading a Google Chrome OS article, I realized how cool their little Twitter link was and I instantly new it was going to be on kyleabaker.com as well. <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><a href="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-011.png"><img class="size-full wp-image-3391 alignleft" title="wp-twitterbadge-01" src="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-011.png" alt="wp-twitterbadge-01" width="30" height="119" /></a></p>
<p>After a quick look at the source code of <a href="http://techie-buzz.com/discussions/google-chrome-os-microsoft-thoughts.html">the page</a>, I had decided to build a quick plugin for WordPress to insert the same code. So the plugin process began.</p>
<p>I didn&#8217;t want to hard code it into the footer of my K2 theme, because I frequently update to the latest K2 theme nightly builds. This way would save me a lot of trouble and even make this neat little Twitter Badge available to thousands. And so&#8230;<a href="http://kyleabaker.com/goodies/coding/wp-twitterbadge/">WP-TwitterBadge</a> was born.</p>
<p><a href="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-021.png"><img class="alignnone size-medium wp-image-3392" title="wp-twitterbadge-02" src="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-021-300x229.png" alt="wp-twitterbadge-02" width="300" height="229" /></a></p>
<p>I traced the code back to an embeded script from <a href="http://www.go2web20.net/twitterFollowBadge/">go2web20.net</a> and realized how n00b friendly this script would have been to install anyway even without an easier plugin to install it for you, but the fact that it would save me time in the future was well worth it.</p>
<p>Basically, if you&#8217;re not using the WordPress plugin, you just link the script and set a few variables. This made it very easy to make it customizable as well!</p>
<p>Just mimicking their own setup page, I was able to make a quick Options page featuring a live preview (as all of my plugins have so far <img src='http://kyleabaker.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). I even coded the preview with way less script than they used on their own page since extreme error checking is really not needed (everything is live so you can see the problems there).</p>
<p><a href="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-031.png"><img class="alignnone size-medium wp-image-3390" title="wp-twitterbadge-03" src="http://kyleabaker.com/wp-content/uploads/2009/07/wp-twitterbadge-031-300x182.png" alt="wp-twitterbadge-03" width="300" height="182" /></a></p>
<p>At a rate of 20-30+ new downloads per hour I would say that this plugin is by far my most favored project&#8230;considering that it hasn&#8217;t been reviewed yet (no trackbacks thus far) by anyone whereas others already have.</p>
<p>If you&#8217;d like to checkout this little Twitter Badge on your own site, just head over to the <a href="http://kyleabaker.com/goodies/coding/wp-twitterbadge/">plugin page</a> or search for &#8220;WP-TwitterBadge&#8221; from your &#8220;Add New Plugins&#8221; page in WordPress and install it from there. If you like it, pass it on!</p>
]]></content:encoded>
			<wfw:commentRss>http://kyleabaker.com/2009/07/09/new-wordpress-twitter-badge-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
