<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Brenelz Web Design Solutions</title> <link>http://brenelz.com</link> <description>a winnipeg website design company.</description> <lastBuildDate>Mon, 12 Dec 2011 13:00:57 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/BrenelzsWebDevelopmentTips" /><feedburner:info uri="brenelzswebdevelopmenttips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><image><link>http://blog.brenelz.com</link><url>http://feeds.feedburner.com/~fc/BrenelzsWebDevelopmentTips?bg=99CCFF&amp;amp;fg=444444&amp;amp;anim=0</url><title>Brenelz's Subscribers</title></image><feedburner:emailServiceId>BrenelzsWebDevelopmentTips</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>How To Create CSS3 Gradients Using An Image</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/EIGJchwPKxA/</link> <comments>http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/#comments</comments> <pubDate>Mon, 12 Dec 2011 13:00:57 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2931</guid> <description><![CDATA[TweetQuick tip screencast on how to make easy CSS3 Gradients: What do you guys think of this method? Or do you still use a repeating background image? Related posts: IE Filter Bug When Using Creating CSS3 Gradients CSS3 Pie Creating Columns using CSS3 Related posts:<ol><li><a href='http://brenelz.com/blog/css3-gradients-filter-bug/' rel='bookmark' title='IE Filter Bug When Using Creating CSS3 Gradients'>IE Filter Bug When Using Creating CSS3 Gradients</a></li><li><a href='http://brenelz.com/blog/css3-pie/' rel='bookmark' title='CSS3 Pie'>CSS3 Pie</a></li><li><a href='http://brenelz.com/blog/creating-columns-using-css3/' rel='bookmark' title='Creating Columns using CSS3'>Creating Columns using CSS3</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2931" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fhow-to-create-css3-gradients-using-an-image%2F&amp;via=brenelz&amp;text=How%20To%20Create%20CSS3%20Gradients%20Using%20An%20Image&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fhow-to-create-css3-gradients-using-an-image%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Quick tip screencast on how to make easy CSS3 Gradients:</p><p><iframe src="http://www.screenr.com/embed/4Zfs" width="500" height="304" frameborder="0"></iframe></p><p>What do you guys think of this method?  Or do you still use a repeating background image?</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/css3-gradients-filter-bug/' rel='bookmark' title='IE Filter Bug When Using Creating CSS3 Gradients'>IE Filter Bug When Using Creating CSS3 Gradients</a></li><li><a href='http://brenelz.com/blog/css3-pie/' rel='bookmark' title='CSS3 Pie'>CSS3 Pie</a></li><li><a href='http://brenelz.com/blog/creating-columns-using-css3/' rel='bookmark' title='Creating Columns using CSS3'>Creating Columns using CSS3</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=EIGJchwPKxA:ytR_hnl3ND4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=EIGJchwPKxA:ytR_hnl3ND4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=EIGJchwPKxA:ytR_hnl3ND4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/EIGJchwPKxA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/</feedburner:origLink></item> <item><title>IE Filter Bug When Using Creating CSS3 Gradients</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/o0w1EfwYGS4/</link> <comments>http://brenelz.com/blog/css3-gradients-filter-bug/#comments</comments> <pubDate>Wed, 30 Nov 2011 18:19:59 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Web Programming]]></category><guid isPermaLink="false">http://brenelz.com/?p=2918</guid> <description><![CDATA[TweetWell it has been awhile since I have posted on this blog. I would love to be posting more, but my hectic work schedule isn&#8217;t allowing me much time at all. Well enough of that. Today I am going to help you figure out how to fix an annoying little ie bug. If you haven&#8217;t [...] Related posts:<ol><li><a href='http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/' rel='bookmark' title='How To Create CSS3 Gradients Using An Image'>How To Create CSS3 Gradients Using An Image</a></li><li><a href='http://brenelz.com/blog/creating-columns-using-css3/' rel='bookmark' title='Creating Columns using CSS3'>Creating Columns using CSS3</a></li><li><a href='http://brenelz.com/blog/creating-semantic-css-navigation/' rel='bookmark' title='Creating Semantic CSS Navigation'>Creating Semantic CSS Navigation</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2918" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fcss3-gradients-filter-bug%2F&amp;via=brenelz&amp;text=IE%20Filter%20Bug%20When%20Using%20Creating%20CSS3%20Gradients&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fcss3-gradients-filter-bug%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Well it has been awhile since I have posted on this blog.  I would love to be posting more, but my hectic work schedule isn&#8217;t allowing me much time at all.</p><p>Well enough of that.  Today I am going to help you figure out how to fix an annoying little ie bug.  If you haven&#8217;t already checked out my <a href="http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/">ie z-index bug</a> page, do it now.</p><h3>The Problem</h3><p>Most of you by now I am guessing have started to implement CSS3 gradients in your projects instead of repeating background images.  If not, I suggest you check out this <a href="http://www.colorzilla.com/gradient-editor/">handy css3 generator</a> that converts an image into its very own CSS3 gradient.</p><p>Now in my example, I have a navigation bar that is using a CSS3 gradient, and then I also have an active state for a link that expands outside of the navigation&#8217;s boundaries.  See below:</p><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2011/11/filterbug-example.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/11/filterbug-example.jpg" alt="" title="filterbug-example" width="399" height="99" class="size-full wp-image-2920" /></a></div><p>The following is the HTML code I used:</p><pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;global-nav&quot;&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;index.html&quot; class=&quot;active&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;testimonials.html&quot;&gt;Testimonials&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;contact.html&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</pre><p>and the import CSS relevant to our issue:</p><pre class="brush: css; title: ; notranslate">
#global-nav ul {
    background: #d2d6da; /* Old browsers */
    background: -moz-linear-gradient(top, #d2d6da 0%, #c9ccd1 21%, #a1a3a7 75%, #95979a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d2d6da), color-stop(21%,#c9ccd1), color-stop(75%,#a1a3a7), color-stop(100%,#95979a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #d2d6da 0%,#c9ccd1 21%,#a1a3a7 75%,#95979a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #d2d6da 0%,#c9ccd1 21%,#a1a3a7 75%,#95979a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #d2d6da 0%,#c9ccd1 21%,#a1a3a7 75%,#95979a 100%); /* IE10+ */
    background: linear-gradient(top, #d2d6da 0%,#c9ccd1 21%,#a1a3a7 75%,#95979a 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2d6da', endColorstr='#95979a',GradientType=0 );

   height:54px;
   line-height:54px;
}
#global-nav li {
    display: inline;
    float:left;
}
#global-nav a.active {
    margin-top: -12px;
    background: url(../images/active-bg.png) no-repeat;
}
</pre><p>So in this case everything would look great except IE.  Here is what would show up in IE:</p><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2011/11/filterbug-problem.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/11/filterbug-problem.jpg" alt="" title="filterbug-problem" width="399" height="99" class="size-full wp-image-2922" /></a></div><h3>The Solution</h3><p>As you can see our nice overlapping feature is cut-off.  To me I thought I must have assigned &#8220;overflow:hidden&#8221; to the ul as that is what it looks like.  Turns out that is not the issue.</p><p>All you have to do to fix this error is remove the following line of CSS:</p><pre class="brush: css; title: ; notranslate">
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d2d6da', endColorstr='#95979a',GradientType=0 );
</pre><p>Now the problem is that you will not have your nice CSS3 gradient in IE, but in some cases the overlapping if more crucial to the design.  Don&#8217;t ask me to explain why filter does this.  Filter works great until you have to push out of the boundaries.</p><p>If you have any better solutions/fix for this issue, please let me know in the comments.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/' rel='bookmark' title='How To Create CSS3 Gradients Using An Image'>How To Create CSS3 Gradients Using An Image</a></li><li><a href='http://brenelz.com/blog/creating-columns-using-css3/' rel='bookmark' title='Creating Columns using CSS3'>Creating Columns using CSS3</a></li><li><a href='http://brenelz.com/blog/creating-semantic-css-navigation/' rel='bookmark' title='Creating Semantic CSS Navigation'>Creating Semantic CSS Navigation</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=o0w1EfwYGS4:DRsWjLj7qvs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=o0w1EfwYGS4:DRsWjLj7qvs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=o0w1EfwYGS4:DRsWjLj7qvs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/o0w1EfwYGS4" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/css3-gradients-filter-bug/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/css3-gradients-filter-bug/</feedburner:origLink></item> <item><title>Using Firebug To Modify :hover State</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/oSlY5YAIDXQ/</link> <comments>http://brenelz.com/blog/using-firebug-to-modify-hover-state/#comments</comments> <pubDate>Tue, 02 Aug 2011 19:23:21 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2893</guid> <description><![CDATA[TweetI didn&#8217;t know for the longest time how to easily modify hover states on-the-fly. I thought Firebug had no features like this, but I guess I was wrong. Take a look at this quick video that shows how this can be done! If you have any other hidden Firebug secrets, please share them in the [...] Related posts:<ol><li><a href='http://brenelz.com/blog/firebug-in-ie-a-dream-come-true/' rel='bookmark' title='Firebug for IE&#8230; a dream come true!'>Firebug for IE&#8230; a dream come true!</a></li><li><a href='http://brenelz.com/blog/firebug-1-5-inspector-stuck-firequery-fix/' rel='bookmark' title='Firebug 1.5 Inspector Stuck (FireQuery Fix)'>Firebug 1.5 Inspector Stuck (FireQuery Fix)</a></li><li><a href='http://brenelz.com/blog/cssjavascript-hover-menu-screencast/' rel='bookmark' title='CSS/JavaScript Hover Menu (screencast)'>CSS/JavaScript Hover Menu (screencast)</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2893" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fusing-firebug-to-modify-hover-state%2F&amp;via=brenelz&amp;text=Using%20Firebug%20To%20Modify%20%3Ahover%20State&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fusing-firebug-to-modify-hover-state%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I didn&#8217;t know for the longest time how to easily modify hover states on-the-fly.  I thought Firebug had no features like this, but I guess I was wrong.</p><p>Take a look at this quick video that shows how this can be done!</p><p><iframe src="http://www.screenr.com/embed/XUds" width="500" height="305" frameborder="0"></iframe></p><p>If you have any other hidden Firebug secrets, please share them in the comments below!</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/firebug-in-ie-a-dream-come-true/' rel='bookmark' title='Firebug for IE&#8230; a dream come true!'>Firebug for IE&#8230; a dream come true!</a></li><li><a href='http://brenelz.com/blog/firebug-1-5-inspector-stuck-firequery-fix/' rel='bookmark' title='Firebug 1.5 Inspector Stuck (FireQuery Fix)'>Firebug 1.5 Inspector Stuck (FireQuery Fix)</a></li><li><a href='http://brenelz.com/blog/cssjavascript-hover-menu-screencast/' rel='bookmark' title='CSS/JavaScript Hover Menu (screencast)'>CSS/JavaScript Hover Menu (screencast)</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=oSlY5YAIDXQ:I_GeQa6p3gY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=oSlY5YAIDXQ:I_GeQa6p3gY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=oSlY5YAIDXQ:I_GeQa6p3gY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/oSlY5YAIDXQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/using-firebug-to-modify-hover-state/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://brenelz.com/blog/using-firebug-to-modify-hover-state/</feedburner:origLink></item> <item><title>Swamp Ass PSA starring Nathan Fillion</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/DdSEjJdbQ4g/</link> <comments>http://brenelz.com/blog/swamp-ass-psa-starring-nathan-fillion/#comments</comments> <pubDate>Wed, 20 Jul 2011 13:00:11 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2875</guid> <description><![CDATA[TweetThe Nerd Machine has created some pretty hilarious short videos. Check this one out for some tips on Swamp Ass Related posts: NERD Machine T-Shirt Giveaway! Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/' rel='bookmark' title='NERD Machine T-Shirt Giveaway!'>NERD Machine T-Shirt Giveaway!</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2875" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fswamp-ass-psa-starring-nathan-fillion%2F&amp;via=brenelz&amp;text=Swamp%20Ass%20PSA%20starring%20Nathan%20Fillion&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fswamp-ass-psa-starring-nathan-fillion%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><a href="http://thenerdmachine.com">The Nerd Machine</a> has created some pretty hilarious short videos.  Check this one out for some tips on Swamp Ass <img src='http://brenelz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p><object width="464" height="289" id="2079470" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" alt="Unknown Title free videos"><param name="movie" value="http://embed.break.com/MjA3OTQ3MA=="></param><param name="allowScriptAccess" value="always"></param><embed src="http://embed.break.com/MjA3OTQ3MA==" type="application/x-shockwave-flash" allowScriptAccess=always width="464" height="289"></embed></object></p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/' rel='bookmark' title='NERD Machine T-Shirt Giveaway!'>NERD Machine T-Shirt Giveaway!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=DdSEjJdbQ4g:mo7SfBMZDrU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=DdSEjJdbQ4g:mo7SfBMZDrU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=DdSEjJdbQ4g:mo7SfBMZDrU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/DdSEjJdbQ4g" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/swamp-ass-psa-starring-nathan-fillion/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/swamp-ass-psa-starring-nathan-fillion/</feedburner:origLink></item> <item><title>Getting started with YQL and AJAX</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/8dotV5dMhek/</link> <comments>http://brenelz.com/blog/getting-started-with-yql-and-ajax/#comments</comments> <pubDate>Mon, 18 Jul 2011 13:00:00 +0000</pubDate> <dc:creator>Alex</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2850</guid> <description><![CDATA[TweetIn this tutorial I will be showing you how to build a simple tool that will use Yahoo!&#8217;s YQL query tool to search for some tracks from their music website. These results will then be displayed on our website all using AJAX to make it seamless along with a link to buy the album off Amazon. [...] Related posts:<ol><li><a href='http://brenelz.com/blog/ajax-json-guide/' rel='bookmark' title='AJAX / JSON Guide'>AJAX / JSON Guide</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2850" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fgetting-started-with-yql-and-ajax%2F&amp;via=brenelz&amp;text=Getting%20started%20with%20YQL%20and%20AJAX&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fgetting-started-with-yql-and-ajax%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>In this tutorial I will be showing you how to build a simple tool that will use Yahoo!&#8217;s <a href="http://developer.yahoo.com/yql/">YQL</a> query tool to search for some tracks from their music website. These results will then be displayed on our website all using AJAX to make it seamless along with a link to buy the album off Amazon.<br /> <a id="live_demo" href="http://demo.alexbor.com/yql_music_search">Live Demo</a><br /> <a id="download_file" href="http://demo.alexbor.com/downloads/getting_started_with_yql_and_ajax.zip">Download</a><br /> <img src="https://img.skitch.com/20110717-rr1j8x5mysku5ycm378327ek1t.png" alt="" /></p><h2>What is YQL?</h2><p>YQL stands for Yahoo! Query Language, it lets you query, filter, and join data across most of Yahoo!&#8217;s (and a few other&#8217;s) services with a similar structure to SQL. This is useful as its all written in one language making it easier to build sites and web apps that will use different services but join them all together. To get started with seeing what YQL looks like its a good idea to try out their <a href="http://developer.yahoo.com/yql/console/">YQL Console</a>. From this we can see that it will deliver our content back in either XML or JSON, in this tutorial we will be using JSON. The format of YQL was built to be very similar to that of SQL so it makes learning it even easier.</p><p><span id="more-2850"></span></p><p><span class="Apple-style-span" style="font-size: 20px;font-weight: bold">Getting started</span></p><p>To get started we need a blank HTML document, CSS file, JS file and a few images for the design. I used <a href="http://html5boilerplate.com/">HTML Boilerplate</a> to provide the base structure of my files. In the index.html file we want to add the following HTML:</p><pre class="brush: xml; title: ; notranslate">
&lt;!doctype html&gt;
&lt;html lang=&quot;en&quot; class=&quot;no-js&quot;&gt;
&lt;head&gt;
	&lt;meta charset=&quot;UTF-8&quot;&gt;
	&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge,chrome=1&quot;&gt;

	&lt;title&gt;Search Using YQL and AJAX | Brenelz.com&lt;/title&gt;
	&lt;meta name=&quot;author&quot; content=&quot;Alex Bor&quot;&gt;

	&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;

	&lt;link rel=&quot;shortcut icon&quot; href=&quot;/favicon.ico&quot;&gt;
	&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;/apple-touch-icon.png&quot;&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;css/style.css?v=2&quot;&gt;

	&lt;!--[if lt IE 9]&gt;
	&lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;
	&lt;![endif]--&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div id=&quot;container&quot;&gt;
		&lt;div id=&quot;search_cover&quot;&gt;
			&lt;div id=&quot;search_box&quot;&gt;
				&lt;input type=&quot;text&quot; placeholder=&quot;Search using YQL and AJAX&quot; id=&quot;music_search&quot; /&gt;
				&lt;img src=&quot;images/loader.gif&quot; id=&quot;loader&quot; alt=&quot;Loading...&quot; width=&quot;16&quot; height=&quot;11&quot; /&gt;
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div id=&quot;search_results&quot;&gt;
			&lt;!-- Our search results will be places in this area --&gt;
		&lt;/div&gt;
	&lt;/div&gt;

	&lt;script src=&quot;//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js&quot;&gt;&lt;/script&gt;
	&lt;script&gt;!window.jQuery &amp;&amp; document.write(unescape('%3Cscript src=&quot;js/libs/jquery-1.5.1.min.js&quot;%3E%3C/script%3E'))&lt;/script&gt;
	&lt;script src=&quot;js/script.js&quot;&gt;&lt;/script&gt;
&lt;?php  include_once($_SERVER['DOCUMENT_ROOT'].&quot;/includes/meta.php&quot;); ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre><p>In the HTML we are simply getting jQuery from Google&#8217;s library in the footer after we have created a basic structure for our site. The following CSS will then style our page.</p><pre class="brush: css; title: ; notranslate">
/*  HTML5 ✰ Boilerplate  */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }

sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type=&quot;radio&quot;] { vertical-align: text-bottom; }
input[type=&quot;checkbox&quot;] { vertical-align: bottom; }
.ie7 input[type=&quot;checkbox&quot;] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=&quot;button&quot;], input[type=&quot;submit&quot;], input[type=&quot;image&quot;], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

body, select, input, textarea {  color: #444; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

/*
    // ========================================== \\
   ||                                              ||
   ||               Your styles !                  ||
   ||                                              ||
    \\ ========================================== //
*/
.clear { clear: both; }
#container { width: 600px; height: 100%; margin: 0 auto; background: url(../images/music_note.jpg) top center no-repeat; min-height: 470px; padding-top: 50px; }
#search_cover { background: #e4eeff; border: 1px solid #90b9ff; padding: 5px; position: relative; }
#music_search { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #BFBFBF;  color: #595959;  font-family: Arial, &quot;Helvetica Neue&quot;, Helvetica, sans-serif; font-size: 17px; font-weight: bold; height: 25px; padding: 10px 60px 10px 10px; width: 515px; }
#loader {  height: 20px;   position: absolute;  right: 18px;  top: 17px;  width: 30px; display: none;}
.music_item { background: none repeat scroll 0 0 #90B9FF;
    border: 1px solid blue;
    float: left;
    margin: 7px;
    padding: 3px;
    text-align: center;
    width: 175px; }
.music_item span img { display: block; display: block; margin-left: auto; margin-right: auto; }
</pre><p>This CSS will style our page and also provide a reset for default behaviours that some browsers set. After this we should now have a base to start working with.</p><p><img src="http://farm7.static.flickr.com/6015/5944409366_67da713878.jpg" alt="Our structure" /></p><p>In the HTML and CSS we can see that we will fill our results into the &#8220;#search_results&#8221; div. I have also linked to a gif loading image that we will show when we are searching for content and hide once its finished.</p><h2>Getting the content with JavaScript</h2><p>I will be using the JavaScript framework <a href="http://jquery.com">jQuery</a> which we loaded in towards the bottom of our index.html file. Here is the JavaScript which has a few comments in the code.</p><pre class="brush: jscript; title: ; notranslate">
$(function(){

	//Default variables and objects so we don't need to
	//select them each time
	var search_box = $('#music_search'), 		//Where we will write the text
		loader = $('#loader'),					//Loading gif
		search_results = $('#search_results'),	//Where the results will be places
		runner = '';							//A variable to check if a request is running

	var music = {
		search: function(string){
			runner = $.ajax({
			  url: 'http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20music.track.search%20where%20keyword%3D%22'+string+'%22&amp;format=json&amp;diagnostics=true&amp;callback=',
			  dataType: 'json',
			  success: function(json){ parse_results(json.query) }
			});
		},
		show_loader: function(){
			loader.fadeIn();
		},
		hide_loader: function(){
			loader.fadeOut();
		}
	}

	function parse_results(json){
		search_results.html('');
		if(json.results === null){
			search_results.html('No results found.');
			music.hide_loader();
			return;
		}
		//Loop through tracks
		var ii = 0;
		$.each(json.results.Track, function(i, item){
			if( typeof item.Album != 'undefined' &amp;&amp; item.Album != null ) {
				if( typeof item.Album.Release != 'undefined'){
					if( typeof item.Album.Release.Image == 'undefined'){
						$image_url = 'images/no_image.jpg';
					}else{
						$image_url = item.Album.Release.Image[5].url;
					}
				search_results.append('&lt;p class=&quot;music_item&quot;&gt;&lt;span&gt;&lt;img src=&quot;'+$image_url+'&quot; /&gt;&lt;span class=&quot;album_title&quot;&gt;'+item.Album.Release.title+'&lt;/span&gt;&lt;/span&gt; - &lt;a href=&quot;http://www.amazon.com/s/ref=nb_ss_d?url=search-alias%3Ddigital-music&amp;field-keywords='+item.Album.Release.title+', '+item.Artist.name+'&quot;&gt;Buy&lt;/a&gt;&lt;/p&gt;');
				}
				ii++;
				if(ii == 3)
				{
					search_results.append('&lt;p class=&quot;clear&quot;&gt;&lt;/p&gt;');
					ii = 0;
				}
			}
		});

	}

	search_box.keyup(function(){

		music.show_loader();
		if(runner != ''){
			runner.abort();
			//console.log('Aborted');
		}
		setTimeout( function() {
			music.search(search_box.val());
		}, 1000 );
		music.hide_loader();
	});

});
</pre><h3>Overview of the JavaScript</h3><p>At the top of this file we create some of our default variables which we are going to use throughout the script.</p><p>After this we create our variable object &#8220;music&#8221;. I chose to create this part similarly to a plugin for ease of use later on. Next we will create 3 functions in this object, on to search Yahoo! using the YQL, and two to show and hide the loader. Our music.search function requires a string which will be the value of the search box, which will be used to search the YQL database. In the music.search we need to set up our AJAX request which requires 3 parameters: URL, datatype and the success callback.</p><p>We can use the <a href="http://developer.yahoo.com/yql/console/">YQL Console</a> to produce our request URL. From the drop down on the right hand side if we select &#8220;music&#8221; we can see a list and few examples of what we can search/do with Yahoo!&#8217;s music tool and YQL. We are using &#8220;music.track.search&#8221; to provide our search results.</p><p><img src="https://img.skitch.com/20110717-ncftjub8umbpw3abxx82dhdpwp.png" alt="" /></p><p>From above all we need to do is copy the URL and replace &#8220;Madonna&#8221; with our string we want to search.</p><p>The parse_results function will then handle all the work of making sure there is a track and displaying it in the results area along with a handy link to buy it from Amazon.com. While printing out each of our tracks if an image isn&#8217;t found we show default &#8220;no image&#8221; instead.</p><p>Our final bit of code ties it all together adding an event listener on the search box. The listener checks for a &#8220;key up&#8221; on the search box so when someone starts to type a search is fired (and if search is currently running it is aborted).</p><h3>Wrapping up</h3><p>That&#8217;s about all we need to get started with using YQL. As we can see its a very useful tool and this is just a short guide to what can be done with it. I hope that this gave a good overview of an example and explain a bit about YQL.<br /> For more information be sure to read the <a href="http://developer.yahoo.com/yql/guide/">Yahoo! guide</a> as this is a really powerful tool with many possibilities with what can be done with it!</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/ajax-json-guide/' rel='bookmark' title='AJAX / JSON Guide'>AJAX / JSON Guide</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=8dotV5dMhek:yomFU6JRaaM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=8dotV5dMhek:yomFU6JRaaM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=8dotV5dMhek:yomFU6JRaaM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/8dotV5dMhek" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/getting-started-with-yql-and-ajax/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/getting-started-with-yql-and-ajax/</feedburner:origLink></item> <item><title>Brenelz.com Changes Hosting!</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/IcdonN4vY3w/</link> <comments>http://brenelz.com/blog/brenelz-com-changes-hosting/#comments</comments> <pubDate>Mon, 06 Jun 2011 19:44:07 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2838</guid> <description><![CDATA[TweetBrenelz.com is proud to announce we have switched over from Dreamhost to OnCallSoftware.net for our hosing. Dreamhost just seemed too slow, and had way too many server outages. Hopefully this will help us grow this blog to new heights! We would love to know if you see a speed difference, hit the comments! Related posts: [...] Related posts:<ol><li><a href='http://brenelz.com/blog/giveaways-galore-as-brenelz-com-is-re-launched/' rel='bookmark' title='Giveaways Galore as Brenelz.com is Re-Launched!'>Giveaways Galore as Brenelz.com is Re-Launched!</a></li><li><a href='http://brenelz.com/blog/win-some-chuck-swag-with-brenelz-web-solutions/' rel='bookmark' title='Win Some Chuck Swag with Brenelz Web Solutions&#8230;'>Win Some Chuck Swag with Brenelz Web Solutions&#8230;</a></li><li><a href='http://brenelz.com/blog/brenelz-web-solutions-on-facebook/' rel='bookmark' title='Brenelz Web Solutions on Facebook!'>Brenelz Web Solutions on Facebook!</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2838" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fbrenelz-com-changes-hosting%2F&amp;via=brenelz&amp;text=Brenelz.com%20Changes%20Hosting%21&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fbrenelz-com-changes-hosting%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Brenelz.com is proud to announce we have switched over from Dreamhost to <a href="http://oncallsoftware.net/" target="_blank">OnCallSoftware.net</a> for our hosing.  Dreamhost just seemed too slow, and had way too many server outages.  Hopefully this will help us grow this blog to new heights!</p><p><strong>We would love to know if you see a speed difference, hit the comments!</strong></p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/giveaways-galore-as-brenelz-com-is-re-launched/' rel='bookmark' title='Giveaways Galore as Brenelz.com is Re-Launched!'>Giveaways Galore as Brenelz.com is Re-Launched!</a></li><li><a href='http://brenelz.com/blog/win-some-chuck-swag-with-brenelz-web-solutions/' rel='bookmark' title='Win Some Chuck Swag with Brenelz Web Solutions&#8230;'>Win Some Chuck Swag with Brenelz Web Solutions&#8230;</a></li><li><a href='http://brenelz.com/blog/brenelz-web-solutions-on-facebook/' rel='bookmark' title='Brenelz Web Solutions on Facebook!'>Brenelz Web Solutions on Facebook!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=IcdonN4vY3w:-JFOkqyrTD4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=IcdonN4vY3w:-JFOkqyrTD4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=IcdonN4vY3w:-JFOkqyrTD4:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/IcdonN4vY3w" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/brenelz-com-changes-hosting/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://brenelz.com/blog/brenelz-com-changes-hosting/</feedburner:origLink></item> <item><title>Using .htaccess To Make Testing Easier</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/NNDHdY86O24/</link> <comments>http://brenelz.com/blog/using-htaccess-to-make-testing-easier/#comments</comments> <pubDate>Tue, 31 May 2011 13:00:38 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2814</guid> <description><![CDATA[TweetDo you have trouble implementing a phase II of a website? I know it can be a pain having to develop a phase II on top of an existing live site. Obviously you can&#8217;t just modify the live server without testing; but other alternatives can be troublesome as well. Its not fun having 2-3 different [...] Related posts:<ol><li><a href='http://brenelz.com/blog/usability-testing-the-easy-way/' rel='bookmark' title='Usability Testing: The easy way!'>Usability Testing: The easy way!</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2814" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fusing-htaccess-to-make-testing-easier%2F&amp;via=brenelz&amp;text=Using%20.htaccess%20To%20Make%20Testing%20Easier&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fusing-htaccess-to-make-testing-easier%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Do you have trouble implementing a phase II of a website?  I know it can be a pain having to develop a phase II on top of an existing live site.  Obviously you can&#8217;t just modify the live server without testing; but other alternatives can be troublesome as well.</p><p><a href="http://brenelz.com/wp-content/uploads/2011/05/apache-http-server-logo1.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/05/apache-http-server-logo1.jpg" alt="" title="apache-http-server-logo1" width="200" height="150" class="alignright size-full wp-image-2823" /></a><br /> Its not fun having 2-3 different copies of a website.  Get&#8217;s confusing which is live, what changes have been done on which, etc.  Well I found one way to somewhat ease the pain.  I know some of you out there have more in depth solutions such as <a href="http://zookeeper.apache.org/">ZooKeeper</a> or <a href="https://github.com/capistrano/capistrano/wiki">Capistrano</a>, but both didn&#8217;t really suit my needs and are a bit complex.<br /> <span id="more-2814"></span></p><h3>The Folder Structure</h3><p>My solution would be to have two folders in the public_html of your website.  Have one named &#8220;staging&#8221; and the other named &#8220;production&#8221;.</p><pre>
/public_html
    /staging
    /production
</pre><p>Each folder would be a &#8220;copy&#8221; of your site, and each would have its own db.  I would suggest you name your db&#8217;s yoursite_staging, and yoursite_production respectively.</p><h3>The .htaccess</h3><p>The only real requirement for this is that must have a unix server as that is the only server that supports .htaccess.  You also have the <a href="http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html">mod_rewrite module</a> installed.</p><p>Once you are sure the requirements are met, put the following in your .htaccess:</p><pre class="brush: plain; title: ; notranslate">
# enable module_rewrite
RewriteEngine On

# make sure the host is what you expect, and don't rewrite subdomains
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$

# make sure they aren't requesting the actual production directory.  Otherwise it would be a continuous loop.
RewriteCond %{REQUEST_URI} !^/production/

# rewrite any request file to the production directory
RewriteRule ^(.*)$ /production/$1
</pre><p>The following are some examples of how the above will redirect:</p><pre>
/index.php =>  /production/index.php
/css/styles.css?v=1  =>  /production/css/styles.css?v=1
/images/gallery/myimage.jpg => /production/images/gallery/myimage.jpg
</pre><h3>Switching Folders</h3><p>Now if you ever need to change the folder that is shown live on your site, just change any line that has &#8220;production&#8221; in it.  Alternatively you could just rename the &#8220;production&#8221; folder to &#8220;staging&#8221; and vice versa.</p><h3>Your Thoughts?</h3><p>What do you think of this concept?  Is it too simple?  If you got a better way to do something like this please sure it in the comments!</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/usability-testing-the-easy-way/' rel='bookmark' title='Usability Testing: The easy way!'>Usability Testing: The easy way!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=NNDHdY86O24:-ZiOo3X6EcA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=NNDHdY86O24:-ZiOo3X6EcA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=NNDHdY86O24:-ZiOo3X6EcA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/NNDHdY86O24" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/using-htaccess-to-make-testing-easier/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://brenelz.com/blog/using-htaccess-to-make-testing-easier/</feedburner:origLink></item> <item><title>Brenelz Web Solutions on Facebook!</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/JwWi2KNI2_A/</link> <comments>http://brenelz.com/blog/brenelz-web-solutions-on-facebook/#comments</comments> <pubDate>Wed, 04 May 2011 19:03:00 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2801</guid> <description><![CDATA[TweetJust a little FYI for all of you following my blog. Please consider &#8220;liking&#8221; my facebook page below. I might be offering exclusive content on Facebook in the near future. Stay tuned! Related posts: Brenelz Web Solutions Re-Vamp Happy Holidays from Brenelz Web Solutions! Win Some Chuck Swag with Brenelz Web Solutions&#8230; Related posts:<ol><li><a href='http://brenelz.com/blog/brenelz-web-solutions-re-vamp/' rel='bookmark' title='Brenelz Web Solutions Re-Vamp'>Brenelz Web Solutions Re-Vamp</a></li><li><a href='http://brenelz.com/blog/happy-holidays-from-brenelz-web-solutions/' rel='bookmark' title='Happy Holidays from Brenelz Web Solutions!'>Happy Holidays from Brenelz Web Solutions!</a></li><li><a href='http://brenelz.com/blog/win-some-chuck-swag-with-brenelz-web-solutions/' rel='bookmark' title='Win Some Chuck Swag with Brenelz Web Solutions&#8230;'>Win Some Chuck Swag with Brenelz Web Solutions&#8230;</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2801" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fbrenelz-web-solutions-on-facebook%2F&amp;via=brenelz&amp;text=Brenelz%20Web%20Solutions%20on%20Facebook%21&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fbrenelz-web-solutions-on-facebook%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Just a little FYI for all of you following my blog.  Please consider &#8220;liking&#8221; my facebook page below.</p><p><strong>I might be offering exclusive content on Facebook in the near future.  Stay tuned!</strong></p><div id="fb-root" style="margin:20px 0px;"></div><p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like-box href="http://www.facebook.com/brenelzwebsolutions" width="292" show_faces="true" stream="false" header="false"></fb:like-box></p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/brenelz-web-solutions-re-vamp/' rel='bookmark' title='Brenelz Web Solutions Re-Vamp'>Brenelz Web Solutions Re-Vamp</a></li><li><a href='http://brenelz.com/blog/happy-holidays-from-brenelz-web-solutions/' rel='bookmark' title='Happy Holidays from Brenelz Web Solutions!'>Happy Holidays from Brenelz Web Solutions!</a></li><li><a href='http://brenelz.com/blog/win-some-chuck-swag-with-brenelz-web-solutions/' rel='bookmark' title='Win Some Chuck Swag with Brenelz Web Solutions&#8230;'>Win Some Chuck Swag with Brenelz Web Solutions&#8230;</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=JwWi2KNI2_A:bT9e6VSfcsM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=JwWi2KNI2_A:bT9e6VSfcsM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=JwWi2KNI2_A:bT9e6VSfcsM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/JwWi2KNI2_A" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/brenelz-web-solutions-on-facebook/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/brenelz-web-solutions-on-facebook/</feedburner:origLink></item> <item><title>IP Mapping in PHP Using MaxMind</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/3n3uHhL7clI/</link> <comments>http://brenelz.com/blog/ip-mapping-in-php-using-maxmind/#comments</comments> <pubDate>Mon, 02 May 2011 15:10:51 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2776</guid> <description><![CDATA[Tweet In todayâ€™s tutorial we will be learning how to do some simple ip mapping using MaxMindâ€™s database.Â  This is handy if for example your client wants different things to show for the east and west side of the country.Â  This could also be handy if you have a special going on in only one [...] No related posts.]]></description> <content:encoded><![CDATA[<div id="tweetbutton2776" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fip-mapping-in-php-using-maxmind%2F&amp;via=brenelz&amp;text=IP%20Mapping%20in%20PHP%20Using%20MaxMind&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fip-mapping-in-php-using-maxmind%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><div class="wp-caption"><a href="http://brenelz.com/wp-content/uploads/2011/05/geo-targeting_11.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/05/geo-targeting_11.jpg" alt="" title="geo-targeting_11" width="333" height="221" class="alignnone size-full wp-image-2793" /></a></div><p>In todayâ€™s tutorial we will be learning how to do some simple ip mapping using MaxMindâ€™s database.Â  This is handy if for example your client wants different things to show for the east and west side of the country.Â  This could also be handy if you have a special going on in only one state, and you donâ€™t want it to show up to visitors outside of that state.</p><p><span id="more-2776"></span></p><h3>Step 1 â€“ Purchase MaxMind Queries</h3><p>Head on over to MaxMindâ€™s web services page &#8211; <a href="http://www.maxmind.com/app/web_services#city" target="_blank">http://www.maxmind.com/app/web_services#city</a> and purchase a few queries.Â  Take into consideration how many visitors your site will have because each visit will use up a query.Â  Once this is done you should have received a license key for which you can use in your PHP code.</p><h3>Step 2 â€“ Plan Your Code</h3><p>This is a step a lot of PHP developers donâ€™t do (myself included).Â  It is important, especially in larger projects to have a plan of attack.Â  Letâ€™s create a new php file (ipmapping.php) and enter our plan of action in the comments.</p><pre class="brush: php; title: ; notranslate">
&lt;?php
// start session

// get the users ip address

// request ip information from our maxmind db

// store the received information in the session

// show link if conditions are met

?&gt;
</pre><h3>Step 3 â€“ Write Code</h3><p>Now begin coding the different sections.</p><pre class="brush: php; title: ; notranslate">
&lt;?php
// start session
session-start();

// get the users ip address
$current_ip= $_SERVER['REMOTE_ADDR'];

// request ip information from our maxmind db
$license_key = 'YOUR_LICENSE_KEY_HERE';
$query = &quot;http://geoip3.maxmind.com/b?l=&quot; . $license_key
. &quot;&amp;amp;i=&quot; . $current_ip;

$url = parse_url($query);
$host = $url[&quot;host&quot;];
$path = $url[&quot;path&quot;] . &quot;?&quot; . $url[&quot;query&quot;];
$timeout = 1;
$fp = fsockopen ($host, 80, $errno, $errstr, $timeout);

if ($fp) {
fputs ($fp, &quot;GET $path HTTP/1.0\nHost: &quot; . $host . &quot;\n\n&quot;);

while (!feof($fp)) {
$buf .= fgets($fp, 128);
}

$lines = split(&quot;\n&quot;, $buf);
$data = $lines[count($lines)-1];
fclose($fp);
}
else {
# enter error handing code here
}

// store the received information in the session
$geo = explode(&quot;,&quot;,$data);
$current_country = $geo[0];
$current_region = $geo[1];
$current_city = $geo[2];
$current_lat = $geo[3];
$current_lon = $geo[4];

$_SESSION['current_region'] = $current_region;
$_SESSION['current_city'] = $current_city;
$_SESSION['current_lat'] = $current_lat;
$_SESSION['current_lon'] = $current_lon;
$_SESSION['current_country'] = $current_country;

// show link if conditions are met
?&gt;
&lt;?php if( $current_region == 'NY' ) : ?&gt;
&lt;a href=&quot;pdfs/new-york-brochure.pdf&quot;  target=&quot;_blank&quot;&gt;
Download New York Brochure  &amp;raquo;
&lt;/a&gt;
&lt;?php endif; ?&gt;
</pre><h3>Step 4 â€“ Test Code</h3><p>One of the biggest headaches about IP Mapping is testing.Â  Just because it works for your IP doesnâ€™t mean it works for everyone.Â  The rule of testing is to make sure you test all the different scenarios.Â  Use one ip from inside your test region, and one from outside.Â  Once you have these test ips put them into $current_region so it is static.Â  Once things are tested you can change $current_ip back to the way it was before.</p><h3>Conclusion</h3><p>So what do you think of our application?Â  Hopefully this is something you can use in your projects down the line.</p><p>No related posts.</p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=3n3uHhL7clI:t_ttGrwXfdk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=3n3uHhL7clI:t_ttGrwXfdk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=3n3uHhL7clI:t_ttGrwXfdk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/3n3uHhL7clI" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/ip-mapping-in-php-using-maxmind/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/ip-mapping-in-php-using-maxmind/</feedburner:origLink></item> <item><title>Web Hosting Basics: Choosing the Right Plan</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/obd3HfmReYw/</link> <comments>http://brenelz.com/blog/web-hosting-basics-choosing-the-right-plan/#comments</comments> <pubDate>Mon, 25 Apr 2011 13:00:09 +0000</pubDate> <dc:creator>Brian Flores</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2764</guid> <description><![CDATA[Tweet It is common for even the most experienced website developers to have difficulty in choosing the ideal hosting plan to meet their requirements. An endless number of web hosting companies exist, each offering their own unique packages and additional features. The process of choosing a web hosting plan can become quite complicated. What is [...] Related posts:<ol><li><a href='http://brenelz.com/blog/20-source-code-hosting-sites-you-should-know/' rel='bookmark' title='20 Source Code Hosting Sites You Should Know'>20 Source Code Hosting Sites You Should Know</a></li><li><a href='http://brenelz.com/blog/deploy-a-dedicated-server-in-the-cloud/' rel='bookmark' title='Deploy a dedicated server in the cloud *'>Deploy a dedicated server in the cloud *</a></li><li><a href='http://brenelz.com/blog/5-questions-to-ask-before-choosing-a-web-developer/' rel='bookmark' title='5 Questions To Ask Before Choosing a Web Developer'>5 Questions To Ask Before Choosing a Web Developer</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2764" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fweb-hosting-basics-choosing-the-right-plan%2F&amp;via=brenelz&amp;text=Web%20Hosting%20Basics%3A%20Choosing%20the%20Right%20Plan&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fweb-hosting-basics-choosing-the-right-plan%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2011/04/Servers_500x425.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/04/Servers_500x425.jpg" alt="" title="OLYMPUS DIGITAL CAMERA" width="500" height="425" class="alignnone size-full wp-image-2766" /></a></div><p>It is common for even the most experienced website developers to have difficulty in choosing the ideal hosting plan to meet their requirements.  An endless number of web hosting companies exist, each offering their own unique packages and additional features.  The process of choosing a web hosting plan can become quite complicated.<br /> <span id="more-2764"></span></p><h3>What is Shared Hosting, VPS Hosting and Dedicated Hosting Anyway?</h3><p>The easiest way to overcome confusion about web hosting plans is to understand the difference between dedicated server hosting, virtual private server (VPS) hosting, and shared hosting options. Once the differences are understood, choosing the most advantageous hosting plan will become fairly simple.  The ideal host and plan will be determined by what the web developer expects to accomplish with the website.</p><h4>Shared Server Hosting</h4><p>Shared server hosting plans are appropriate for small websites without much traffic or data transfer.  Shared hosting means that the server is shared with several other websites, each using the same IP address.  Websites hosted on shared servers literally share the serverâ€™s resources with many other websites.  This fact means less reliable performance and security than one would expect with a dedicated server.  Email process and data transfer will be noticeably slower, and software and firewalls are not customizable.</p><p>Keep in mind that when using a shared server, transferring your website to a new server can be time-consuming, difficult and frustrating.  The main benefit of using a shared server is the low cost, but the overall service of a shared server leaves much to be desired.  Shared hosting is perfect for a small or medium sized project that does not require a great deal of customization and will remain relatively static over time.  Any developer or website owner that is looking for an economical, efficient hosting option will find a shared server a worthy choice.</p><h4>Dedicated Hosting</h4><p>A dedicated server refers to a hosting plan in which the website owner pays for their own personal server.  This server and its resources are completely dedicated to one website, and it does not share space with any other websites.  A dedicated server comes complete with its own software and operating system.  Dedicated servers are extremely powerful and efficient, and remain the best choice for projects requiring a high level of customization.</p><p>Dedicated hosting plans have been created to cater to very resource-driven websites.  These include websites that consume a great amount of bandwidth to offer streaming music or videos, or those that provide a large amount of data to thousands of visitors monthly.  Dedicated servers are also a good option for expansive corporate or employee intranets.</p><h4>VPS Hosting</h4><p>Virtual private server, or VPS, hosting provides many of the same features that dedicated hosting does.  These features include an operating system, dedicated IP addresses, unlimited domain capability, and an abundant amount of data transfer.  The only real difference is that VPS hosting shares the same physical server with other websites and files.  The serverâ€™s space and resources are divided among virtual partitions.</p><p>VPS hosting offers some customization with security and performance concerns.  It also allows customization of firewalls and the ability to dictate important permissions for sensitive files and data.  VPS resources permit the capability for a larger server capacity, while allowing much faster speeds and better efficiency than traditional shared servers.  This makes them appropriate for high traffic websites and those with high bandwidth applications that donâ€™t require the power of a fully dedicated server.</p><h3>Understanding the Advantages of Each Type Of Hosting Plan</h3><p>Both VPS and dedicated servers provide increased functionality for any website project.  With both types of plans, an efficient email server offers improved performance and security.  This includes the possibility of advanced email campaigns.  Another benefit of VPS and dedicated hosting is the ability to choose and customize the operating system you prefer, as well as the option of installing and configuring software to your specific needs.</p><p>Shared servers do not offer benefits such as custom operating systems and software configuration.   Shared server hosting can also potentially pose problems with reliability and security concerns, since server resources are shared.  Another user can easily damage the serverâ€™s functionality, although most experienced hosting providers have implemented safeguards to keep such issues from occurring.</p><p>When selecting a potential new website host, it is crucial to understand what level of customer support will be offered for dedicated and virtual private servers.  Is the technical support department available by several modes of communication?  Twenty-four hours a day or just during business hours?  A full technical support package will provide support for any software that has been installed on the server.  Shared hosting providers can only operate tested, bug-free software.</p><p>Developers who require features such as LAMP or a control panel to be installed on their dedicated or  VPS should become aware of some additional potential issues.  It is important to understand these and address concerns with the new host before finalizing any decision.  LAMP and the control panel may be pre-installed on the server as part of the package plan, or they may have to be installed.  Either the web host or the developer may hold the responsibility for the installation.  In this situation, the developer may incur additional fees for such an installation.  Some less desirable web hosts will charge an additional fee for the installation of such features, while providing absolutely no installation support throughout the process.  Keep in mind that when choosing a web host that offers minimal technical support, a fairly high level of technical ability is a necessity to keep the server and software running properly and securely.</p><p>Another crucial consideration when choosing a particular type of server is its speed.  This depends on several factors, including the machineâ€™s internal power, the location of the server, and often the operating system.  The final decision about whether to use shared, dedicated or VPS hosting depends on a variety of factors, but most important are the project budget, the type of website being planned, and the expected or desired rate of traffic and growth of the website.</p><h3>Some Last Things to Consider Before Making A Final Decision</h3><p>Before making any final decision, it is essential to begin communication with the potential new host to obtain specific company policies and information regarding support, terms of service, and other users. Opt for VPS hosting over a shared plan, this is generally a more feasible and reliable choice.  VPS is ideal for a company that would like to upgrade their business operations and website presence, and who will require enhanced functionality and support to reach that goal.  Dedicated servers are the right option for any developer who requires a full array of features, including complete customization ability, high levels of rapid data transfer, powerful email options, custom firewalls and IP addresses, and responsive and reliable technical support.</p><p>When selecting a potential new web host and hosting plan, reliability is often the most important concern.  Any potential host should be researched regarding uptime and stability.  The best way to get an idea of a hostâ€™s customer satisfaction rate is to begin by checking out online reviews.  Investigate the host company thoroughly, and check out the other businesses it represents before making a commitment to service.  A wealth of information is available online to begin researching hosting providers and service plans.  Consider your needs and expectations, your budget, and your future plans along with the providerâ€™s stated plans and additional value-added features.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/20-source-code-hosting-sites-you-should-know/' rel='bookmark' title='20 Source Code Hosting Sites You Should Know'>20 Source Code Hosting Sites You Should Know</a></li><li><a href='http://brenelz.com/blog/deploy-a-dedicated-server-in-the-cloud/' rel='bookmark' title='Deploy a dedicated server in the cloud *'>Deploy a dedicated server in the cloud *</a></li><li><a href='http://brenelz.com/blog/5-questions-to-ask-before-choosing-a-web-developer/' rel='bookmark' title='5 Questions To Ask Before Choosing a Web Developer'>5 Questions To Ask Before Choosing a Web Developer</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=obd3HfmReYw:9G97ETb471s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=obd3HfmReYw:9G97ETb471s:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=obd3HfmReYw:9G97ETb471s:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/obd3HfmReYw" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/web-hosting-basics-choosing-the-right-plan/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/web-hosting-basics-choosing-the-right-plan/</feedburner:origLink></item> <item><title>Fifteen Reasons To Use Video For Your Business</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/joovLGHIVCQ/</link> <comments>http://brenelz.com/blog/fifteen-reasons-to-use-video-for-your-business/#comments</comments> <pubDate>Mon, 11 Apr 2011 13:00:42 +0000</pubDate> <dc:creator>Dave Wowchuk</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2741</guid> <description><![CDATA[Tweet 1. According to a study by the (University of Pennsylvania) Wharton school of Business, prospects are 72% more likely to purchase a product or service when video is used and they make their buying decisions faster. After seeing a video, most prospects will have a greater understanding of the subject or product. 89 percent [...] Related posts:<ol><li><a href='http://brenelz.com/blog/how-ecommerce-adds-value-to-your-business/' rel='bookmark' title='How eCommerce Adds Value To Your Business'>How eCommerce Adds Value To Your Business</a></li><li><a href='http://brenelz.com/blog/new-video-edit-app-for-iphone-3gs/' rel='bookmark' title='New Video Edit iPhone App!'>New Video Edit iPhone App!</a></li><li><a href='http://brenelz.com/blog/registering-a-business-name/' rel='bookmark' title='Registering  A Business Name'>Registering  A Business Name</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2741" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Ffifteen-reasons-to-use-video-for-your-business%2F&amp;via=brenelz&amp;text=Fifteen%20Reasons%20To%20Use%20Video%20For%20Your%20Business&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Ffifteen-reasons-to-use-video-for-your-business%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><br style="clear:both"/><div class="wp-caption"><a href="http://brenelz.com/wp-content/uploads/2011/04/camera.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/04/camera.jpg" alt="" title="camera" width="400" height="289" class="alignnone size-full wp-image-2753" /></a></div><p>1. According to a study by the (University of Pennsylvania) Wharton school of Business, <strong>prospects are 72% more likely to purchase a product</strong> or service when video is used and they make their buying decisions faster. After seeing a video, most prospects will have a greater understanding of the subject or product.<br /> 89 percent of consumers will review a video the same day it is received, and about 94 percent of those people will share it with a friend or relative. Industry reports suggest the response rates for video promotions are six times greater than those for printed direct mail pieces.<br /> <span id="more-2741"></span><br /> 2. <strong>&#8220;Video brochures&#8221; have a high-perceived value</strong> so they rarely get tossed like a lot of junk mail. People also tend to keep them and pass them along to friends. Most people will watch a marketing video in its entirety &#8211; out of curiosity, if nothing else.</p><p>3. Video can help present a <strong>consistent message every time</strong> for every viewer. Put forward a consistent orientation, training, sales, or marketing message to enable wider audiences and on demand viewing.</p><p>4. <strong>Video is affordable.</strong> It&#8217;s no longer just for large corporations. A carefully scripted 3-5 minute video can be more effective and convey as much information as a stack of printed materials.</p><p>5. Video can help you <strong>reach markets that live training or sales people can&#8217;t reach</strong>. Video helps you deliver your message to smaller market segments that may never be able to afford your live training services or markets to far away to reach.</p><p>6. Filmmaking and its offspring, video, has become the most powerful communications tool of the last 100 years. Video on the Internet is growing quickly, and<strong> viewing content online has actually surpassed traditional TV viewing</strong>.</p><p>7. Some videos are <strong>powerful sales devices in themselves</strong>. You&#8217;ve probably seen the exercise machine commercials that offer a free video. Bowflex sells a $2,000 exercise system. The free video they send to prospective customers cost $6.50 each, but nearly half of those who view the DVD order a system.</p><p>8. Video can <strong>show your product or service in actio</strong>n, something brochures can&#8217;t do. You could have one or more actual customers being filmed using your product or even stage a re-creation. In either case you want to show the real benefits of using your product.</p><p>9. Even though your video may be produced for one or two primary uses, you&#8217;re likely to <strong>find many other uses for this same video</strong>. Your video can be used in trade shows, one-on-one sales calls, shown to groups, or streamed over the Internet from your website. It can be used to attract investors and for other uses. Have the video designed so it can be easily updated to include new products, services and people without redoing the entire video.</p><p>10. Video can help a relatively <strong>small company look like a much larger national or international firm</strong>. You could film some of your suppliers or customer&#8217;s businesses. You could show your products (or services) being manufactured and used.</p><p>11.  Video can be a perfect way to <strong>explain a complex process</strong> or technical product where the inner workings are hidden from view. Using computer generated graphics or an animation can clearly explain how a product or process works.</p><p>12. Video is a cost-effective way to sell or train people on products that <strong>require a demonstration</strong> in order to be sold or serviced, especially for products that are expensive to move or demonstrate.</p><p>13. Video is an ideal way to give <strong>â€œvirtual toursâ€</strong> of your organization.  By using close-ups and careful lighting you can put your best foot forward, and the viewer doesn&#8217;t have to see anything you don&#8217;t want them to see. Highlight those aspects of your organization that are most important to your customers such as quality control or pride of workmanship.</p><p>14. One reason video is such a powerful medium is because it involves the <strong>viewer&#8217;s emotions</strong>. The ability to reach an audience with images and sound can be incredibly persuasive. The combination of sights and sounds appeals both to those who learn visually and to those who respond more to auditory learning styles.</p><p>15. <strong>&#8220;Before and after&#8221; shots</strong> are another way to use video. For example, a company that restores water wells used &#8220;before and after&#8221; video shots that dramatically demonstrate how their patented system improved the clarity of the water. These &#8220;before and after&#8221; shots can be the most effective way to concisely express the benefits of your product or service.</p><h3>Does your business use video?  If not, what has prevented you from doing so.</h3><p>Related posts:<ol><li><a href='http://brenelz.com/blog/how-ecommerce-adds-value-to-your-business/' rel='bookmark' title='How eCommerce Adds Value To Your Business'>How eCommerce Adds Value To Your Business</a></li><li><a href='http://brenelz.com/blog/new-video-edit-app-for-iphone-3gs/' rel='bookmark' title='New Video Edit iPhone App!'>New Video Edit iPhone App!</a></li><li><a href='http://brenelz.com/blog/registering-a-business-name/' rel='bookmark' title='Registering  A Business Name'>Registering  A Business Name</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=joovLGHIVCQ:IXHW-d2ZkDU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=joovLGHIVCQ:IXHW-d2ZkDU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=joovLGHIVCQ:IXHW-d2ZkDU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/joovLGHIVCQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/fifteen-reasons-to-use-video-for-your-business/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/fifteen-reasons-to-use-video-for-your-business/</feedburner:origLink></item> <item><title>Top 5 WordPress SEO Tips</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/a4mWlxuWQfA/</link> <comments>http://brenelz.com/blog/top-5-wordpress-seo-tips/#comments</comments> <pubDate>Mon, 21 Mar 2011 20:08:00 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2711</guid> <description><![CDATA[TweetThere are dozens of specific effective search engine optimization tips for your WordPress site. To a newcomer in web development and publishing, these â€˜helpâ€™ lists of 100+ SEO techniques are daunting and sometimes out of reach. These Top 5 WordPress SEO Tips are a great first, valuable step. 1. Content. Content. Content. Creating interesting, genuine [...] Related posts:<ol><li><a href='http://brenelz.com/blog/five-seo-writing-tips-for-your-blog-or-website/' rel='bookmark' title='Five SEO Writing Tips for Your Blog or Website'>Five SEO Writing Tips for Your Blog or Website</a></li><li><a href='http://brenelz.com/blog/50-wordpress-resources/' rel='bookmark' title='50 WordPress Resources'>50 WordPress Resources</a></li><li><a href='http://brenelz.com/blog/wordpress-more-than-just-a-blogging-platform/' rel='bookmark' title='WordPress: More than just a blogging platform?'>WordPress: More than just a blogging platform?</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2711" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Ftop-5-wordpress-seo-tips%2F&amp;via=brenelz&amp;text=Top%205%20WordPress%20SEO%20Tips&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Ftop-5-wordpress-seo-tips%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>There are dozens of specific effective search engine optimization tips for your WordPress site. To a newcomer in web development and publishing, these â€˜helpâ€™ lists of 100+ SEO techniques are daunting and sometimes out of reach.  These Top 5 WordPress SEO Tips are a great first, valuable step.</p><p>1. <strong>Content. Content. Content.</strong> Creating interesting, genuine and sometimes controversial content is the first step in having visitors return to your site. Donâ€™t just use the plug-and-chug method of loading poorly written articles with keywords. Instead, write content worth reading while consciously including keywords.</p><p>2. <strong>Keywords are key.</strong> Be selective and specific when choosing keyword phrases. Keyword phrases should at least appear in the title and in beginning and ending paragraphs. Putting keyword phrases in your title tag and page title, as well as in your HTML code (META tags) are beneficial for SEO.</p><p>3. <strong>Use clean URLs.</strong> URLs that are easily readable by humans are also more easily accessed by search engine spiders.<br /> Ditch the www.fakeseocorp.com/=3365d9647b?&#038;category=tipsandtricks style, and adopt the much more aesthetically pleasing www.fakeseocorp.com/tipsandtricks.</p><p>4. <strong>Link your site internally. </strong>Linking different pages within your site is one of the simplest SEO techniques. By linking visitors around your site, you are increasing individual page traffic, increasing PageRank, and allowing spiders to access all pages on your website.</p><p>5. <strong>Spread the word. </strong>Create social media accounts, such as Twitter and Facebook, for your website. Also, submit your website to social news sites like Digg, discovery engines like StumbleUpon, and reputable search engines. These all allow search engines to find your site more readily and will increase traffic.</p><p>Thereâ€™s an enormous amount of SEO tips, tricks and tools available on the Internet. Itâ€™s important for a web development newcomer to realize that SEO is not a set one technique, five techniques or 500 techniques. SEO is a varying, synergistic structure, with a strong base of simple techniques.</p><p>Think of this Top 5 WordPress SEO Tips as the necessary starter kit for an evolving search engine optimization toolbox.  When implementing more complicated SEO techniques, it is beneficial to consult an SEO specialist or veteran web developer.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/five-seo-writing-tips-for-your-blog-or-website/' rel='bookmark' title='Five SEO Writing Tips for Your Blog or Website'>Five SEO Writing Tips for Your Blog or Website</a></li><li><a href='http://brenelz.com/blog/50-wordpress-resources/' rel='bookmark' title='50 WordPress Resources'>50 WordPress Resources</a></li><li><a href='http://brenelz.com/blog/wordpress-more-than-just-a-blogging-platform/' rel='bookmark' title='WordPress: More than just a blogging platform?'>WordPress: More than just a blogging platform?</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=a4mWlxuWQfA:arNcTz_cTms:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=a4mWlxuWQfA:arNcTz_cTms:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=a4mWlxuWQfA:arNcTz_cTms:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/a4mWlxuWQfA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/top-5-wordpress-seo-tips/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://brenelz.com/blog/top-5-wordpress-seo-tips/</feedburner:origLink></item> <item><title>5 Questions To Ask Before Choosing a Web Developer</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/kxfGQjSMYps/</link> <comments>http://brenelz.com/blog/5-questions-to-ask-before-choosing-a-web-developer/#comments</comments> <pubDate>Wed, 09 Mar 2011 17:21:55 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2705</guid> <description><![CDATA[TweetWeb developers have different levels of expertise. While two different web developers may claim five years of experience, one might be more capable and match your needs more closely. In addition to the usual interview questions, try asking these questions to find the right web developer for your next project: 1. What is your keyword [...] Related posts:<ol><li><a href='http://brenelz.com/blog/website-start-up-20-questions/' rel='bookmark' title='Website Start-up: 20 Questions'>Website Start-up: 20 Questions</a></li><li><a href='http://brenelz.com/blog/web-hosting-basics-choosing-the-right-plan/' rel='bookmark' title='Web Hosting Basics: Choosing the Right Plan'>Web Hosting Basics: Choosing the Right Plan</a></li><li><a href='http://brenelz.com/blog/become-a-better-web-developer-using-rss/' rel='bookmark' title='Become a Better Web Developer Using RSS'>Become a Better Web Developer Using RSS</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2705" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2F5-questions-to-ask-before-choosing-a-web-developer%2F&amp;via=brenelz&amp;text=5%20Questions%20To%20Ask%20Before%20Choosing%20a%20Web%20Developer&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2F5-questions-to-ask-before-choosing-a-web-developer%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Web developers have different levels of expertise. While two different web developers may claim five years of experience, one might be more capable and match your needs more closely. In addition to the usual interview questions, try asking these questions to find the right web developer for your next project:</p><h3>1.	What is your keyword strategy?</h3><p>If you&#8217;re practicing search marketing, you need to have a web developer who will work with you to make sure their back-end SEO strategy matches the work you&#8217;re putting into optimizing the site&#8217;s content. If they don&#8217;t have a solid strategy for making your keywords work, you should look at other candidates.</p><h3>2.	Do you have a portfolio?</h3><p>All web developers should have a portfolio, so not having a professional portfolio put together is a sure sign that you should find someone else. Their portfolio should give you a good idea of their aesthetic and whether or not their coding is up to snuff. Ask them to bring the complete code for one of their recent projects (not just a few snippets). This will give you an idea of how clean their code is.</p><h3>3.	What are your favorite websites? Least favorite?</h3><p>You can get a good idea on how current the candidate&#8217;s knowledge is by asking them about their favorite and least favorite websites. This also helps you learn more about their aesthetic, as well as where they draw their inspiration.</p><h3>4.	Do you follow current web standards?</h3><p>Any good developer should follow current web standards to ensure that the site works on every OS and across multiple web browsers. This is a great time to find out how well versed they are in HTML &#8211; all developers can write HTML, but some can&#8217;t work without a reference manual. If they make simple errors or oversights in writing HTML, they may not have the level of detail and knowledge you want in a web developer.</p><h3>5.	Do you typically work on larger websites or smaller ones?</h3><p>You&#8217;ll want to get an idea of the scope they&#8217;re used to working in. If they typically create larger websites, and you want a smaller one, they may miss some of the little details. If you&#8217;re looking for a large site, and they&#8217;re used to smaller ones, they may not be capable of taking on a larger project. You want to make sure your web developer&#8217;s experience level matches the project you&#8217;re working on.</p><p>When choosing a web developer, it&#8217;s important to make sure they&#8217;ll be a good fit for your company or project. Asking just a few simple questions can help you weed out the worst candidates â€“ and find the best person for the job.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/website-start-up-20-questions/' rel='bookmark' title='Website Start-up: 20 Questions'>Website Start-up: 20 Questions</a></li><li><a href='http://brenelz.com/blog/web-hosting-basics-choosing-the-right-plan/' rel='bookmark' title='Web Hosting Basics: Choosing the Right Plan'>Web Hosting Basics: Choosing the Right Plan</a></li><li><a href='http://brenelz.com/blog/become-a-better-web-developer-using-rss/' rel='bookmark' title='Become a Better Web Developer Using RSS'>Become a Better Web Developer Using RSS</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=kxfGQjSMYps:aYDSSa_-kPE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=kxfGQjSMYps:aYDSSa_-kPE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=kxfGQjSMYps:aYDSSa_-kPE:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/kxfGQjSMYps" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/5-questions-to-ask-before-choosing-a-web-developer/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://brenelz.com/blog/5-questions-to-ask-before-choosing-a-web-developer/</feedburner:origLink></item> <item><title>Scaling WordPress for High-Traffic</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/nkK3zRn_3h4/</link> <comments>http://brenelz.com/blog/scaling-wordpress-for-high-traffic/#comments</comments> <pubDate>Wed, 02 Mar 2011 18:01:50 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2700</guid> <description><![CDATA[TweetHere is a nice talk by Ryan Allen. He gives you a ton of great tips on how to allow your blog to receive high traffic. Isn&#8217;t that what we all want for our blogs? Related posts: Top 5 WordPress SEO Tips Blog Marketing: Is it needed? WordPress 3.0 Custom Posts Related posts:<ol><li><a href='http://brenelz.com/blog/top-5-wordpress-seo-tips/' rel='bookmark' title='Top 5 WordPress SEO Tips'>Top 5 WordPress SEO Tips</a></li><li><a href='http://brenelz.com/blog/blog-marketing-is-it-needed/' rel='bookmark' title='Blog Marketing: Is it needed?'>Blog Marketing: Is it needed?</a></li><li><a href='http://brenelz.com/blog/wordpress-3-0-custom-posts/' rel='bookmark' title='WordPress 3.0 Custom Posts'>WordPress 3.0 Custom Posts</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2700" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fscaling-wordpress-for-high-traffic%2F&amp;via=brenelz&amp;text=Scaling%20WordPress%20for%20High-Traffic&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fscaling-wordpress-for-high-traffic%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Here is a nice talk by <a href="http://twitter.com/ryanfaceryan" target="_blank">Ryan Allen</a>.  He gives you a ton of great tips on how to allow your blog to receive high traffic.  Isn&#8217;t that what we all want for our blogs?</p><p><embed src="http://blip.tv/play/AYKnsiYC" type="application/x-shockwave-flash" width="480" height="390" allowscriptaccess="always" allowfullscreen="true"></embed></p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/top-5-wordpress-seo-tips/' rel='bookmark' title='Top 5 WordPress SEO Tips'>Top 5 WordPress SEO Tips</a></li><li><a href='http://brenelz.com/blog/blog-marketing-is-it-needed/' rel='bookmark' title='Blog Marketing: Is it needed?'>Blog Marketing: Is it needed?</a></li><li><a href='http://brenelz.com/blog/wordpress-3-0-custom-posts/' rel='bookmark' title='WordPress 3.0 Custom Posts'>WordPress 3.0 Custom Posts</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=nkK3zRn_3h4:hKJxybyAqS0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=nkK3zRn_3h4:hKJxybyAqS0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=nkK3zRn_3h4:hKJxybyAqS0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/nkK3zRn_3h4" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/scaling-wordpress-for-high-traffic/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/scaling-wordpress-for-high-traffic/</feedburner:origLink></item> <item><title>IE Cleartype (Blurry Text) Solution</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/gCCJez1PlfY/</link> <comments>http://brenelz.com/blog/ie-cleartype-blurry-text-solution/#comments</comments> <pubDate>Wed, 02 Feb 2011 18:12:36 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2666</guid> <description><![CDATA[TweetThe Problem Have you ever made a dropdown menu using JavaScript and found your text to be real ugly in IE? Well the problem probably is caused by cleartype. ClearType attempts to improve the appearance of text on certain types of computer display screens by sacrificing color fidelity for additional intensity variation. - Wikipedia Turns [...] Related posts:<ol><li><a href='http://brenelz.com/blog/plain-text-xml-and-json-transfer-formats/' rel='bookmark' title='Plain Text, XML, and JSON Transfer Formats'>Plain Text, XML, and JSON Transfer Formats</a></li><li><a href='http://brenelz.com/blog/cross-browser-placeholder-text-for-input-fields/' rel='bookmark' title='Cross Browser Placeholder Text For Input Fields'>Cross Browser Placeholder Text For Input Fields</a></li><li><a href='http://brenelz.com/blog/animate-text-with-jquery-easing-screencast/' rel='bookmark' title='Animate Text with jQuery Easing (screencast)'>Animate Text with jQuery Easing (screencast)</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2666" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fie-cleartype-blurry-text-solution%2F&amp;via=brenelz&amp;text=IE%20Cleartype%20%28Blurry%20Text%29%20Solution&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fie-cleartype-blurry-text-solution%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><h3>The Problem</h3><p>Have you ever made a dropdown menu using JavaScript and found your text to be real ugly in IE?  Well the problem probably is caused by cleartype.</p><blockquote><p> ClearType attempts to improve the appearance of text on certain types of computer display screens by sacrificing color fidelity for additional intensity variation.<br /> - Wikipedia</p></blockquote><p>Turns out animating text causes this issue; functions like fadeIn() and fadeOut() in jQuery are usually the cause.</p><pre class="brush: jscript; title: ; notranslate">
// This causes the cleartype problem
$(&quot;#message&quot;).fadeIn();
</pre><h3>The Solution</h3><p>How do you fix this issue you ask?  Well all you have to do is remove the &#8220;filter&#8221; attribute from the troublesome element.</p><pre class="brush: jscript; title: ; notranslate">
$('#message').fadeIn(function(){
    this.style.removeAttribute(&quot;filter&quot;);
});
</pre><p>If you are doing animations outside of jQuery you would use this raw JavaScript:</p><pre class="brush: jscript; title: ; notranslate">
document.getElementById(&quot;#message&quot;).style.removeAttribute(&quot;filter&quot;);
</pre><h3>Before Fix</h3><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2011/02/cleartype-before.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/02/cleartype-before.jpg" alt="" title="cleartype-before" width="172" height="200" class="alignnone size-full wp-image-2689" /></a></div><h3>After Fix</h3><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2011/02/cleartype-after.jpg"><img src="http://brenelz.com/wp-content/uploads/2011/02/cleartype-after.jpg" alt="" title="cleartype-after" width="171" height="204" class="alignnone size-full wp-image-2690" /></a></div><p><strong><br /> You can notice the difference in the &#8220;CARDIO&#8221; text the most.</strong></p><p>Hopefully this helps you out!  Let me know if it worked&#8230;</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/plain-text-xml-and-json-transfer-formats/' rel='bookmark' title='Plain Text, XML, and JSON Transfer Formats'>Plain Text, XML, and JSON Transfer Formats</a></li><li><a href='http://brenelz.com/blog/cross-browser-placeholder-text-for-input-fields/' rel='bookmark' title='Cross Browser Placeholder Text For Input Fields'>Cross Browser Placeholder Text For Input Fields</a></li><li><a href='http://brenelz.com/blog/animate-text-with-jquery-easing-screencast/' rel='bookmark' title='Animate Text with jQuery Easing (screencast)'>Animate Text with jQuery Easing (screencast)</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=gCCJez1PlfY:y1ctxxmYbQo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=gCCJez1PlfY:y1ctxxmYbQo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=gCCJez1PlfY:y1ctxxmYbQo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/gCCJez1PlfY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/ie-cleartype-blurry-text-solution/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://brenelz.com/blog/ie-cleartype-blurry-text-solution/</feedburner:origLink></item> <item><title>Lettering.js jQuery Plugin</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/3HllSG7Bjyk/</link> <comments>http://brenelz.com/blog/lettering-js-jquery-plugin/#comments</comments> <pubDate>Tue, 04 Jan 2011 13:00:02 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2668</guid> <description><![CDATA[TweetWhen I first saw this jQuery plugin I thought I would never be able to find a use for it. I mean on most of my sites I don&#8217;t need to do any crazy typography. Usually if I need something I would just do it using an image. Recently however, I found a use for [...] Related posts:<ol><li><a href='http://brenelz.com/blog/3-screencasts-for-building-your-own-jquery-plugin/' rel='bookmark' title='3 Screencasts For Building Your Own jQuery Plugin'>3 Screencasts For Building Your Own jQuery Plugin</a></li><li><a href='http://brenelz.com/blog/creating-a-simple-tooltip-using-jquery/' rel='bookmark' title='Creating a Simple Tooltip jQuery Plugin'>Creating a Simple Tooltip jQuery Plugin</a></li><li><a href='http://brenelz.com/blog/animate-text-with-jquery-easing-screencast/' rel='bookmark' title='Animate Text with jQuery Easing (screencast)'>Animate Text with jQuery Easing (screencast)</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2668" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Flettering-js-jquery-plugin%2F&amp;via=brenelz&amp;text=Lettering.js%20jQuery%20Plugin&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Flettering-js-jquery-plugin%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>When I first saw this jQuery plugin I thought I would never be able to find a use for it.  I mean on most of my sites I don&#8217;t need to do any crazy typography.  Usually if I need something I would just do it using an image.  Recently however, I found a use for this library.  It happened that I wanted to add a <span /> tag around the first word of Joomla titles, so I could change the color.  After finding out you couldn&#8217;t hard-code HTML in the titles, I was instructed to try out this library.  Worked like a charm!</p><p><a id="download_file" href="https://github.com/davatron5000/Lettering.js" target="_blank">Download Lettering.js</a></p><h3>How Lettering.js Works</h3><p>Let&#8217;s try and create the scenario I mentioned above.  Imagine this simple html:</p><pre class="brush: xml; title: ; notranslate">
&lt;h1&gt;The Long Joomla Title&lt;/h1&gt;
</pre><p>Along with this JS:</p><pre class="brush: jscript; title: ; notranslate">
&lt;script src=&quot;path/to/jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt; // remember to change the paths
&lt;script src=&quot;path/to/jquery.lettering.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
$(function() {
  $(&quot;h1&quot;).lettering();
});
&lt;/script&gt;
</pre><p>Above code is pretty straight forward.  First we include jQuery, then the lettering plugin, and finally we call the lettering function.</p><p>By default the outputted code would look like this after the JS is ran:</p><pre class="brush: xml; title: ; notranslate">
&lt;h1&gt;
&lt;span class=&quot;char1&quot;&gt;T&lt;/span&gt;
&lt;span class=&quot;char2&quot;&gt;h&lt;/span&gt;
&lt;span class=&quot;char3&quot;&gt;e&lt;/span&gt;
&lt;span class=&quot;char4&quot;&gt; &lt;/span&gt;
&lt;span class=&quot;char5&quot;&gt;L&lt;/span&gt;
&lt;span class=&quot;char6&quot;&gt;o&lt;/span&gt;
&lt;span class=&quot;char7&quot;&gt;n&lt;/span&gt;
&lt;span class=&quot;char8&quot;&gt;g&lt;/span&gt;
&lt;span class=&quot;char9&quot;&gt; &lt;/span&gt;
&lt;span class=&quot;char10&quot;&gt;J&lt;/span&gt;
&lt;span class=&quot;char11&quot;&gt;o&lt;/span&gt;
&lt;span class=&quot;char12&quot;&gt;o&lt;/span&gt;
&lt;span class=&quot;char13&quot;&gt;m&lt;/span&gt;
&lt;span class=&quot;char14&quot;&gt;l&lt;/span&gt;
&lt;span class=&quot;char15&quot;&gt;a&lt;/span&gt;
&lt;span class=&quot;char16&quot;&gt; &lt;/span&gt;
&lt;span class=&quot;char17&quot;&gt;T&lt;/span&gt;
&lt;span class=&quot;char18&quot;&gt;i&lt;/span&gt;
&lt;span class=&quot;char19&quot;&gt;t&lt;/span&gt;
&lt;span class=&quot;char20&quot;&gt;l&lt;/span&gt;
&lt;span class=&quot;char21&quot;&gt;e&lt;/span&gt;
&lt;/h1&gt;
</pre><p>Wouldn&#8217;t you hate to have to do this manually?  Would make for very default to maintain code.  Now if we change the title the <span>&#8216;s automatically regenerate.</p><p>This still doesn&#8217;t quite do what we want it to do.  We actually want to separate it into words instead of characters.  Change the JS to this:</p><pre class="brush: jscript; title: ; notranslate">
&lt;script src=&quot;path/to/jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt; // remember to change the paths
&lt;script src=&quot;path/to/jquery.lettering.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
$(function() {
  $(&quot;h1&quot;).lettering('words');
});
&lt;/script&gt;
</pre><p>Now our spans would look like this:</p><pre class="brush: xml; title: ; notranslate">
&lt;h1&gt;
&lt;span class=&quot;word1&quot;&gt;The&lt;/span&gt;
&lt;span class=&quot;word2&quot;&gt;Long&lt;/span&gt;
&lt;span class=&quot;word3&quot;&gt;Joomla&lt;/span&gt;
&lt;span class=&quot;word4&quot;&gt;Title&lt;/span&gt;
&lt;/h1&gt;
</pre><p>Now to style the first word to be a different color it is this simple!</p><pre class="brush: css; title: ; notranslate">
h1 .word1 { color: #f00; }
</pre><p>There is quite a bit of other functionality, but I hope this gives you a start.  Check out <a href="http://daverupert.com/2010/09/lettering-js/">Dave Rupert&#8217;s article</a> for more info.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/3-screencasts-for-building-your-own-jquery-plugin/' rel='bookmark' title='3 Screencasts For Building Your Own jQuery Plugin'>3 Screencasts For Building Your Own jQuery Plugin</a></li><li><a href='http://brenelz.com/blog/creating-a-simple-tooltip-using-jquery/' rel='bookmark' title='Creating a Simple Tooltip jQuery Plugin'>Creating a Simple Tooltip jQuery Plugin</a></li><li><a href='http://brenelz.com/blog/animate-text-with-jquery-easing-screencast/' rel='bookmark' title='Animate Text with jQuery Easing (screencast)'>Animate Text with jQuery Easing (screencast)</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=3HllSG7Bjyk:bp7eshuDuuI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=3HllSG7Bjyk:bp7eshuDuuI:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=3HllSG7Bjyk:bp7eshuDuuI:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/3HllSG7Bjyk" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/lettering-js-jquery-plugin/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://brenelz.com/blog/lettering-js-jquery-plugin/</feedburner:origLink></item> <item><title>Smart Image Resizing In PHP</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/nysdHmqdLcQ/</link> <comments>http://brenelz.com/blog/smart-image-resizing-in-php/#comments</comments> <pubDate>Mon, 13 Dec 2010 13:00:23 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[PHP]]></category><guid isPermaLink="false">http://brenelz.com/?p=2596</guid> <description><![CDATA[TweetHave you ever needed one image in many different sizes on a website? I know I have many times and have never found a good way to handle this until now! In the CMS&#8217; you build do you have the user upload different sizes of images? Maybe a large image, and a thumbnail. Wouldn&#8217;t it [...] Related posts:<ol><li><a href='http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/' rel='bookmark' title='How To Create CSS3 Gradients Using An Image'>How To Create CSS3 Gradients Using An Image</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2596" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fsmart-image-resizing-in-php%2F&amp;via=brenelz&amp;text=Smart%20Image%20Resizing%20In%20PHP&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fsmart-image-resizing-in-php%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Have you ever needed one image in many different sizes on a website?  I know I have many times and have never found a good way to handle this until now!</p><p>In the CMS&#8217; you build do you have the user upload different sizes of images?  Maybe a large image, and a thumbnail.  Wouldn&#8217;t it be so much nicer if you could have them upload the large image, and then you use whatever sizes of that image you need?  Here is how:</p><h3>Download the Smart Image Resizer Script</h3><p><a href="http://shiftingpixel.com/downloads/image-1.4.1.zip">Download the zip file here</a></p><p>This smart image resize technique is really handy in that there is only ONE file you need to worry about.</p><h3>Install the Script</h3><ol><li>Unzip on your web server</li><li> In the same directory, create a directory called â€œimagecacheâ€</li><li>Make your imagecache directory is writable by the web server (usually chmod 775)</li></ol><h3>Features</h3><ol><li>Resizes any filetype</li><li>Can crop to the ratio you need</li><li>Built-in caching abilities to speed up performance.</li></ol><h3>Usage</h3><p>This is a breakdown of how it is used:</p><pre class="brush: xml; title: ; notranslate">
&lt;img src=&quot;/image.php/image.jpg?width=200&amp;amp;height=200&amp;amp;image=/full/path/to/image.jpg&quot; alt=&quot;&quot; /&gt;
</pre><p>The above code will use the &#8220;width&#8221; and &#8220;height&#8221; parameters as the max the image should contain.  So the image might be 200px wide but only be 150px tall in order to keep the original ratio.</p><p>Now if we wanted to crop our image into a square no matter what the ratio is we would add on another parameter called &#8220;cropratio&#8221; as follows:</p><pre class="brush: xml; title: ; notranslate">
&lt;img src=&quot;/image.php/image.jpg?width=200&amp;amp;height=200&amp;amp;image=/full/path/to/image.jpg&amp;amp;cropratio=1:1&quot; alt=&quot;&quot; /&gt;
</pre><p>*** Please note that the image parameter (/full/path/to/image.jpg) must be the full path from the document root to the image.</p><h3>Having Problems?</h3><p>If you are having problems check out the <a href="http://shiftingpixel.com/2008/03/03/smart-image-resizer/">shifting pixel&#8217;s page</a>.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/how-to-create-css3-gradients-using-an-image/' rel='bookmark' title='How To Create CSS3 Gradients Using An Image'>How To Create CSS3 Gradients Using An Image</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=nysdHmqdLcQ:z5HTUxYzXag:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=nysdHmqdLcQ:z5HTUxYzXag:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=nysdHmqdLcQ:z5HTUxYzXag:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/nysdHmqdLcQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/smart-image-resizing-in-php/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://brenelz.com/blog/smart-image-resizing-in-php/</feedburner:origLink></item> <item><title>NERD Machine Shirt Winners!</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/gwhe58YEM8o/</link> <comments>http://brenelz.com/blog/nerd-machine-shirt-winners/#comments</comments> <pubDate>Wed, 01 Dec 2010 14:44:30 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2630</guid> <description><![CDATA[Tweet I am happy to announce that the following two people have won the NERD shirts: 1. Lavesa Glover (@Vesinator3000) 2. Brian Jones (@Down8) Frankly I wish I could give all of you that entered a shirt but contests don&#8217;t work that way. I will be doing more in the future so please stay tuned [...] Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/' rel='bookmark' title='NERD Machine T-Shirt Giveaway!'>NERD Machine T-Shirt Giveaway!</a></li><li><a href='http://brenelz.com/blog/brenelz-com-giveaway-winners/' rel='bookmark' title='Brenelz.com Giveaway Winners!'>Brenelz.com Giveaway Winners!</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2630" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fnerd-machine-shirt-winners%2F&amp;via=brenelz&amp;text=NERD%20Machine%20Shirt%20Winners%21&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fnerd-machine-shirt-winners%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><div class="wp-caption"><a href="http://brenelz.com/wp-content/uploads/2010/11/winner-theme.gif"><img src="http://brenelz.com/wp-content/uploads/2010/11/winner-theme.gif" alt="" title="winner-theme" width="288" height="299" class="alignnone size-full wp-image-2635" /></a></div><p>I am happy to announce that the following two people have won the NERD shirts:</p><p>1. Lavesa Glover (<a href="http://twitter.com/Vesinator3000">@Vesinator3000</a>)<br /> 2. Brian Jones (<a href="http://twitter.com/Down8">@Down8</a>)</p><p>Frankly I wish I could give all of you that entered a shirt but contests don&#8217;t work that way.  I will be doing more in the future so please stay tuned to this blog by subscribing to my <a href="http://brenelz.com/feed">feed</a></p><p>Also make sure to head on over to <a href="http://thenerdmachine.com">The Nerd Machine</a> and buy these shirts anyways.  They are more than worth it!</p><p>Have a happy holiday season, and hit me up on twitter anytime! (<a href="http://twitter.com/brenelz">@brenelz</a>)</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/' rel='bookmark' title='NERD Machine T-Shirt Giveaway!'>NERD Machine T-Shirt Giveaway!</a></li><li><a href='http://brenelz.com/blog/brenelz-com-giveaway-winners/' rel='bookmark' title='Brenelz.com Giveaway Winners!'>Brenelz.com Giveaway Winners!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=gwhe58YEM8o:JpeSvNtVOZk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=gwhe58YEM8o:JpeSvNtVOZk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=gwhe58YEM8o:JpeSvNtVOZk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/gwhe58YEM8o" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/nerd-machine-shirt-winners/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://brenelz.com/blog/nerd-machine-shirt-winners/</feedburner:origLink></item> <item><title>NERD Machine T-Shirt Giveaway!</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/eGu8mfb_7g0/</link> <comments>http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/#comments</comments> <pubDate>Thu, 18 Nov 2010 13:00:26 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2612</guid> <description><![CDATA[TweetBrenelz Web Solutions is proud to giveaway some NERD apparel as we begin to enter the holiday season. Are you proud of your &#8220;NERD&#8221; status? Well with the T-Shirts I am giving away you can make sure everyone knows that you love being a gamer, web designer, TV junkie, or anything else NERD related. What [...] Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-shirt-winners/' rel='bookmark' title='NERD Machine Shirt Winners!'>NERD Machine Shirt Winners!</a></li><li><a href='http://brenelz.com/blog/chuck-season-1-dvd-giveaway/' rel='bookmark' title='Chuck Season 1 DVD Giveaway!'>Chuck Season 1 DVD Giveaway!</a></li><li><a href='http://brenelz.com/blog/brenelz-com-giveaway-winners/' rel='bookmark' title='Brenelz.com Giveaway Winners!'>Brenelz.com Giveaway Winners!</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2612" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fnerd-machine-t-shirt-giveaway%2F&amp;via=brenelz&amp;text=NERD%20Machine%20T-Shirt%20Giveaway%21&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fnerd-machine-t-shirt-giveaway%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Brenelz Web Solutions is proud to giveaway some NERD apparel as we begin to enter the holiday season.  Are you proud of your &#8220;NERD&#8221; status?  Well with the T-Shirts I am giving away you can make sure everyone knows that you love being a gamer, web designer, TV junkie, or anything else NERD related.</p><h3>What Can I Win?</h3><p>I will be giving away &#8220;2 SNES Black&#8221; <a href="http://www.thenerdmachine.com">Nerd Machine shirts</a></p><div class="wp-caption"> <a href="http://brenelz.com/wp-content/uploads/2010/11/mens-nes-black_1.jpg"><img src="http://brenelz.com/wp-content/uploads/2010/11/mens-nes-black_1.jpg" alt="" title="mens-nes-black_1" width="425" height="425" class="alignnone size-full wp-image-2613" /></a></div><h3>How Do I Win?</h3><p>There are a couple things you must do in order to be eligible to win the T-Shirts.</p><ol><li>Follow me on twitter (<a href="http://twitter.com/brenelz">@brenelz</a>)</li><li>Follow Nerd Machine on twitter (<a href="http://twitter.com/thenerdmachine">@thenerdmachine</a>)</li><li><a href="http://twitter.com/?status=.@brenelz is giving away NERD shirts from TheNerdMachine.com! http://bit.ly/bKPCMJ">Click Here To Send This Tweet On Twitter</a></li><li>Lastly, comment below stating what makes you a NERD! <br />(leave twitter handle as well)</li></ol><h3>When will you pick the winner?</h3><p>The 2 winners will be picked on Nov. 30 randomly.</p><p>Related posts:<ol><li><a href='http://brenelz.com/blog/nerd-machine-shirt-winners/' rel='bookmark' title='NERD Machine Shirt Winners!'>NERD Machine Shirt Winners!</a></li><li><a href='http://brenelz.com/blog/chuck-season-1-dvd-giveaway/' rel='bookmark' title='Chuck Season 1 DVD Giveaway!'>Chuck Season 1 DVD Giveaway!</a></li><li><a href='http://brenelz.com/blog/brenelz-com-giveaway-winners/' rel='bookmark' title='Brenelz.com Giveaway Winners!'>Brenelz.com Giveaway Winners!</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=eGu8mfb_7g0:_um9zgsQGx8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=eGu8mfb_7g0:_um9zgsQGx8:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=eGu8mfb_7g0:_um9zgsQGx8:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/eGu8mfb_7g0" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/feed/</wfw:commentRss> <slash:comments>185</slash:comments> <feedburner:origLink>http://brenelz.com/blog/nerd-machine-t-shirt-giveaway/</feedburner:origLink></item> <item><title>Webkit Border Radius Background Bleed</title><link>http://feedproxy.google.com/~r/BrenelzsWebDevelopmentTips/~3/eSt5_Y-yiDc/</link> <comments>http://brenelz.com/blog/webkit-border-radius-background-bleed/#comments</comments> <pubDate>Wed, 10 Nov 2010 13:00:27 +0000</pubDate> <dc:creator>brenelz</dc:creator> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://brenelz.com/?p=2598</guid> <description><![CDATA[TweetDo you ever notice that your border-radius corners just don&#8217;t look as good in Safari as they do with Firefox? I certainly did with one of my latest projects. It is especially bad when it falls onto a dark background. Courtesy of: Sneak &#8211; http://tumble.sneak.co.nz Background Bleed Solution The fix is actually real simple and [...] Related posts:<ol><li><a href='http://brenelz.com/blog/css-rounded-corners/' rel='bookmark' title='CSS Rounded Corners'>CSS Rounded Corners</a></li><li><a href='http://brenelz.com/blog/snazzy-css-double-border-effect/' rel='bookmark' title='Snazzy CSS Double Border Effect'>Snazzy CSS Double Border Effect</a></li></ol>]]></description> <content:encoded><![CDATA[<div id="tweetbutton2598" class="tw_button" style="float:right;margin-left:10px;"><a href="http://twitter.com/share?url=http%3A%2F%2Fbrenelz.com%2Fblog%2Fwebkit-border-radius-background-bleed%2F&amp;via=brenelz&amp;text=Webkit%20Border%20Radius%20Background%20Bleed&amp;related=brenelz:Brenelz+Web+Solutions+is+a+winnipeg+website+design+company.+When+I+am+not+developing+I+enjoy+playing+hockey.&amp;lang=en&amp;count=vertical&amp;counturl=http%3A%2F%2Fbrenelz.com%2Fblog%2Fwebkit-border-radius-background-bleed%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://brenelz.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Do you ever notice that your border-radius corners just don&#8217;t look as good in Safari as they do with Firefox?  I certainly did with one of my latest projects.  It is especially bad when it falls onto a dark background.</p><div class="wp-caption"><a href="http://brenelz.com/wp-content/uploads/2010/11/tumblr_l6wr91eqBt1qz6hvj.png"><img src="http://brenelz.com/wp-content/uploads/2010/11/tumblr_l6wr91eqBt1qz6hvj.png" alt="" title="tumblr_l6wr91eqBt1qz6hvj" width="500" height="300" class="alignnone size-full wp-image-2600" /></a>Courtesy of: Sneak &#8211; http://tumble.sneak.co.nz</div><h3>Background Bleed Solution</h3><p>The fix is actually real simple and only involves adding one extra line of code to your selector.</p><pre class="brush: css; title: ; notranslate">
-webkit-background-clip: padding-box;
</pre><p>See the difference?  Make sure to add this line of CSS every time you use border-radius and you will have sharp looking corners every time!</p><h3>Other Related Links</h3><ul><li><a href="http://tumble.sneak.co.nz/post/928998513/fixing-the-background-bleed">Fixing the background &#8216;bleed&#8217;</a></li><li><a href="http://stackoverflow.com/questions/2624451/css3-gradients-and-border-radius-leading-to-extraneous-background-in-webkit">border-radius leading to extraneous background in webkit</a></li></ul><p>Related posts:<ol><li><a href='http://brenelz.com/blog/css-rounded-corners/' rel='bookmark' title='CSS Rounded Corners'>CSS Rounded Corners</a></li><li><a href='http://brenelz.com/blog/snazzy-css-double-border-effect/' rel='bookmark' title='Snazzy CSS Double Border Effect'>Snazzy CSS Double Border Effect</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=eSt5_Y-yiDc:68NO5kkhZSU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?a=eSt5_Y-yiDc:68NO5kkhZSU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/BrenelzsWebDevelopmentTips?i=eSt5_Y-yiDc:68NO5kkhZSU:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/BrenelzsWebDevelopmentTips/~4/eSt5_Y-yiDc" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://brenelz.com/blog/webkit-border-radius-background-bleed/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://brenelz.com/blog/webkit-border-radius-background-bleed/</feedburner:origLink></item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (Requested URI contains query)
Database Caching 26/249 queries in 0.142 seconds using disk: basic
Object Caching 9114/9357 objects using disk: basic

Served from: brenelz.com @ 2012-01-01 01:11:08 -->

