<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Webtribe Designs</title>
	<atom:link href="http://www.webtribe.com.au/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webtribe.com.au/blog</link>
	<description>Web Design &#38; Development - Blog</description>
	<lastBuildDate>Mon, 24 Oct 2011 10:57:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adding Cufón to Magento</title>
		<link>http://www.webtribe.com.au/blog/2011/10/24/adding-cufon-to-magento/</link>
		<comments>http://www.webtribe.com.au/blog/2011/10/24/adding-cufon-to-magento/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 10:51:49 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cufon]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=132</guid>
		<description><![CDATA[Simple steps on how to add Cufón to your Magento site <a href="http://www.webtribe.com.au/blog/2011/10/24/adding-cufon-to-magento/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Adding Cufón to Magento is pretty straight forward.  There are a couple steps involved but nothing you can&#8217;t handle.<br />
<span id="more-132"></span></p>
<h2>Add some javascript files to your skin directory</h2>
<ol>
<li>First step, download the cufón js file from the <a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufón site</a>.</li>
<li>Generate your font js file from the Cufón site and download it as well.</li>
<li>Put both files into your skin directory under the js folder if there is one.</li>
</ol>
<p>You&#8217;ll need to call the Cufon.replace() function before Cufon will do anything.  I create another js file called set-cufon.js.  Add your function calls to this file using something similar to the following:</p>
<p>[javascript]<br />
Cufon.replace(&#8216;h1,h2,h3&#8242;);<br />
Cufon.replace(&#8216;p.cufon&#8217;);<br />
[/javascript]</p>
<p>When you&#8217;ve finished adding your function calls, add this file to your skin js folder.</p>
<h2>Adding the javascript files to the layout</h2>
<p>Open the page.xml file and add the following xml inside the page/html_head block:</p>
<p>[xml]<br />
&lt;action method=&#8221;addItem&#8221;&gt;&lt;type&gt;skin_js&lt;/type&gt;&lt;name&gt;js/cufon-yui.js&lt;/name&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addItem&#8221;&gt;&lt;type&gt;skin_js&lt;/type&gt;&lt;name&gt;js/your.font.js&lt;/name&gt;&lt;/action&gt;<br />
&lt;action method=&#8221;addItem&#8221;&gt;&lt;type&gt;skin_js&lt;/type&gt;&lt;name&gt;js/setup-cufon.js&lt;/name&gt;&lt;/action&gt;<br />
[/xml]</p>
<p>That should do it.  I&#8217;ve noticed some people add the Cufon.replace function calls to the head.phtml template file.  Either way will work.  Don&#8217;t forget to clear the cache!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2011/10/24/adding-cufon-to-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Showing product attributes on category and product pages in Magento</title>
		<link>http://www.webtribe.com.au/blog/2011/10/24/showing-product-attributes-on-category-and-product-pages-in-magento/</link>
		<comments>http://www.webtribe.com.au/blog/2011/10/24/showing-product-attributes-on-category-and-product-pages-in-magento/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 10:26:05 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=120</guid>
		<description><![CDATA[Looking for a simple way to add attributes to your category and product pages in Magento? Well, here it is. <a href="http://www.webtribe.com.au/blog/2011/10/24/showing-product-attributes-on-category-and-product-pages-in-magento/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re looking for a way to show product attributes on your category and product pages in Magento, it&#8217;s actually quite simple.</p>
<p><span id="more-120"></span>I&#8217;ve seen quite a few blog posts and Magento forum topics well and truly over complicating this.</p>
<p>There are two steps involved:</p>
<h2><strong>Enabling the attribute for front end display</strong></h2>
<p><strong> </strong>If you don&#8217;t do this, you won&#8217;t see your attribute on the category or product page and you&#8217;ll be scratching your head trying to work out why your get attribute function is shooting blanks.  Do the following:</p>
<ol>
<li>In admin, go to Catalog &gt; Attributes &gt; Manage Attributes</li>
<li>Select the attribute you want to edit</li>
<li>Scroll down to Frontend Properties and select <strong>Yes</strong> for <em>Used in product listing</em></li>
</ol>
<h2><strong>Adding some code to your template files to return the attribute</strong></h2>
<p><strong> </strong>This couldn&#8217;t be easier.  There is a function in the Mage_Catalog_Model_Product class called <strong>getAttributeText</strong> that takes one argument, the attribute code.</p>
<p>Add the following code to your catalog/product/view.phtml or catalog/product/list.html template files:</p>
<p>[php]<br />
echo $_product-&gt;getAttributeText(&#8216;your_attribute_code&#8217;);<br />
[/php]</p>
<p>Just change out &#8216;your_attribute_code&#8217; with your attribute code and you&#8217;re done.  That&#8217;s it.  Simple hey?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2011/10/24/showing-product-attributes-on-category-and-product-pages-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add a Twitter feed to your website including retweets</title>
		<link>http://www.webtribe.com.au/blog/2011/03/04/how-to-add-a-twitter-feed-to-your-website-including-retweets/</link>
		<comments>http://www.webtribe.com.au/blog/2011/03/04/how-to-add-a-twitter-feed-to-your-website-including-retweets/#comments</comments>
		<pubDate>Fri, 04 Mar 2011 01:16:12 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=96</guid>
		<description><![CDATA[How to show your latest tweets on your website. <a href="http://www.webtribe.com.au/blog/2011/03/04/how-to-add-a-twitter-feed-to-your-website-including-retweets/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a pretty simple one, but if you do a Google search you may find yourself wading through loads of conflicting instructions or different ways of approaching it.   You could also go visit the Twitter API docs but this may confuse you even more.</p>
<p>I&#8217;m just going to keep it dead simple.  Ok let&#8217;s get on with it&#8230;</p>
<p><span id="more-96"></span></p>
<h3>Add this container div to your HTML</h3>
<p>[html]&lt;div id=&#8221;twitter_update_list&#8221;&gt;</p>
<p>&lt;/div&gt;[/html]</p>
<p><strong>Note:</strong> Make sure you leave the div id as &#8220;twitter_update_list&#8221;.  The javascript callback will be looking for this id when it populates the div with your tweets.</p>
<h3>Add the following javascript calls before the closing &lt;/body&gt; tag</h3>
<p>[javascript]&lt;script src=&#8221;http://twitter.com/javascripts/blogger.js&#8221; type=&#8221;text/javascript&#8221;&gt;</p>
<p>&lt;/script&gt;</p>
<p>&lt;script src=&#8221;http://api.twitter.com/1/statuses/user_timeline.json?screen_name=webtwibe&amp;include_rts=1&amp;callback=twitterCallback2&amp;count=1&#8243; type=&#8221;text/javascript&#8221;&gt;</p>
<p>&lt;/script&gt;﻿[/javascript]</p>
<h3>Adjusting the API call to suit your needs</h3>
<p>This is the API call that goes off and grabs our tweets for us.</p>
<p><strong>http://api.twitter.com/1/statuses/user_timeline.json?screen_name=webtwibe&amp;include_rts=1&amp;callback=twitterCallback2&amp;count=1</strong></p>
<p>To update it for yourself, you&#8217;ll need to update the <strong>screen_name</strong> value to the name of your twitter account.  As you can see, I&#8217;m using <strong>webtwibe</strong>.</p>
<p>If you want to include retweets, set the value <strong>include_rts</strong> to <strong>1</strong> or <strong>true.</strong></p>
<p>If you want to exclude retweets, set the value <strong>include_rts</strong> to <strong>0</strong> or <strong>false.</strong></p>
<p>The callback value needs to stay put.  This is the &#8216;<strong>callback=twitterCallback2</strong>&#8216; reference you see above.  This will format the incoming feed for us.</p>
<p>Finally, you can set the number of tweets you want to read in.  Adjust the <strong>count</strong> value to suit your needs.  In my example, I&#8217;m just pulling in one little tweet.</p>
<h3>Filtering the Twitter feed</h3>
<p>Each tweet returned in the feed comes with properties that tell us what type of tweet it is.  Using these properties we can filter out things like retweets, @replies, tweets that contain certain keywords, etc.</p>
<p>The following example shows how to filter out @replies from your feed.</p>
<p>This code is taken from the <a title="Technical Mangrove" href="http://t-swamp.blogspot.com/2009/06/filtering-replies-out-of-twitter-badge.html" target="_blank">Technical Mangroves Blog</a>, it&#8217;s a function that performs a filter before passing the results to the original callback <strong>twitterCallback2</strong>.</p>
<p>Paste this code into your HTML (in the &lt;head&gt; if you like):</p>
<p>[javascript]<br />
<script type="text/javascript">
// <![CDATA[
      function filterCallback( twitter_json ) {     
         var result = [];     
         for(var index in twitter_json) {       
            if(twitter_json[index].in_reply_to_user_id == null) {        
                result[result.length] = twitter_json[index];      
            }       
            if( result.length==5 ) break; // Edit this to change the maximum tweets shown     
         }     
         twitterCallback2(result); // Pass tweets onto the original callback. Don't change it!   
     }
// ]]&gt;
</script></p>
<p>[/javascript]</p>
<p>You&#8217;ll need to change the callback name in the API call to <strong>filterCallback </strong>like so:</p>
<p><strong>http://api.twitter.com/1/statuses/user_timeline.json?screen_name=webtwibe&amp;include_rts=1&amp;callback=filterCallback&amp;count=10</strong></p>
<p>You might need to push the value of <strong>count</strong> up a bit to compensate for filtered tweets.  Set the exact amount of tweets you want to display in the filterCallback function where you see the <strong>result.length==5</strong>.  If you want to show 3 tweets, change the 5 to a 3. Easy.</p>
<p>This function could be extended to provide much more comprehensive filtering.  When I have time I&#8217;ll create a function that can do this.</p>
<p>Thanks for Technical Mangroves for the their work on the function filterCallback.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2011/03/04/how-to-add-a-twitter-feed-to-your-website-including-retweets/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Hosting &amp; Domain Registration &#8211; what are they?</title>
		<link>http://www.webtribe.com.au/blog/2011/02/21/hosting-domain-registration-what-is-it/</link>
		<comments>http://www.webtribe.com.au/blog/2011/02/21/hosting-domain-registration-what-is-it/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 02:51:01 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Domain Registration]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[domain registration]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=82</guid>
		<description><![CDATA[The most simple way I can think to explain domain registration and hosting to the cyberspace novice out there. <a href="http://www.webtribe.com.au/blog/2011/02/21/hosting-domain-registration-what-is-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Most tech-savvy companies will think that the following information is blatantly obvious. But&#8230; you&#8217;d be surprised how many customers don&#8217;t know what web hosting and domain registration are.  This is perfectly reasonable for people getting started with a business idea who&#8217;ve never had their own website, how would they know these things?</p>
<p><span id="more-82"></span>Ok, the first point is:  To get yourself online, you will need both a domain name and a hosting package.  They will both incur annual costs.  You might find some free services somewhere online but generally speaking, you&#8217;ll need to factor in some annual upkeep fees.</p>
<p>So, what are the differences between domain registration and hosting?  Let&#8217;s take a look.</p>
<h2>Domain Registration</h2>
<p>Every website needs a domain name.  In our case, we have registered the domain name www.webtribe.com.au.</p>
<p>Think of your domain name like a house address &#8211; it&#8217;s going to allow visitors to find you.</p>
<p>There are plenty of companies out there online that will provide domain registration services, do your research as the prices can differ substantially.</p>
<p>We can also register your domain for you, <a href="http://http://www.webtribe.com.au/contact" target="_self">contact us</a> and we&#8217;ll arrange it.</p>
<p><strong>Note:</strong> To register a .com.au domain name in Australia, you need to have an ABN and the domain name must have some resemblance to your business name / services.</p>
<h2>Hosting</h2>
<p>I made the point that your domain name is kind of like your house number and street name.  It tells us where the location of your website is on the internet.</p>
<p>Using the same analogy, hosting is the land where you build your house.</p>
<p>In technical terms, your website will be hosted on a server that is accessible via the internet.</p>
<h2>Summary</h2>
<p>This post is intended for those just starting out in their adventures online.  I find myself explaining this over and over again (especially using the house and land analogy, works every time!) and thought that someone out there might find it useful.</p>
<p>Hope this helps to give you a clearer picture of what you&#8217;ll need to get started with your very first website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2011/02/21/hosting-domain-registration-what-is-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Cufon with jQuery Countdown</title>
		<link>http://www.webtribe.com.au/blog/2011/02/09/using-cufon-with-jquery-countdown/</link>
		<comments>http://www.webtribe.com.au/blog/2011/02/09/using-cufon-with-jquery-countdown/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 11:49:28 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cufon]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[countdown]]></category>
		<category><![CDATA[cufon]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=62</guid>
		<description><![CDATA[Ever had the need to use jQuery Countdown with Cufon?  I did.  Shows you how to keep your font in place when the countdown updates every second. <a href="http://www.webtribe.com.au/blog/2011/02/09/using-cufon-with-jquery-countdown/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ever had the need to use jQuery Countdown with Cufon?  I did.  Every time the countdown changed I wanted to update the digits (I was using a typewriter font by the way).</p>
<p>It&#8217;s quite simple but if you&#8217;ve been searching for a way to do it, read on.</p>
<p><span id="more-62"></span></p>
<p><strong>1. </strong>Go to <a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufon</a>, plug in your font and generate/download your javascript files.</p>
<p><strong>2.</strong> Download the jQuery countdown files from <a href="http://keith-wood.name/countdown.html" target="_blank">Keith Wood</a>.</p>
<p><strong>3. </strong>Ok, now we put it all together.  The basic HTML looked something like this:</p>
<p>[html]<br />
&lt;html&gt;<br />
&lt;head&gt;</p>
<p>&lt;title&gt;My jQuery Countdown / Cufon Example&lt;/title&gt;</p>
<p>&lt;style type=&#8221;text/css&#8221;&gt;<br />
@import &#8220;css/jquery.countdown.css&#8221;;<br />
&lt;/style&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;js/jquery.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;js/cufon-yui.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;js/my.typewriter.font.js&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;js/jquery.countdown.js&#8221;&gt;&lt;/script&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>$(function () {<br />
var austDay = new Date();<br />
austDay = new Date(austDay.getFullYear() + 1, 1, 4);<br />
$(&#8216;#defaultCountdown&#8217;).countdown({until: austDay});</p>
<p>Cufon.replace(&#8216;#defaultCountdown *&#8217;);   // this will replace everything in the defaultCountdown div with your font<br />
});</p>
<p>&lt;/script&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;!&#8211; To avoid delays, initialize Cufón before other scripts at the bottom &#8211;&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt; Cufon.now(); &lt;/script&gt;</p>
<p>&lt;div id=&#8221;defaultCountdown&#8221;&gt;&lt;/div&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p>[/html]</p>
<p><strong>4. </strong>When you first fire this baby up you&#8217;ll see the font change.  Then, a second later you&#8217;ll be looking at your nice typewriter font being replaced by Arial / Verdana, etc.</p>
<p>To sort this out, we&#8217;ll need to call the Cufon replace function everytime the countdown updates itself.</p>
<p>Open up the file jquery.countdown.js and add the following line to the bottom of the updateCountdown function like so:</p>
<p>[javascript]</p>
<p>_updateCountdown: function(target, inst) {</p>
<p>&#8230;&#8230;&#8230;..</p>
<p>Cufon.replace(&#8216;#defaultCountdown *&#8217;);<br />
}</p>
<p>[/javascript]</p>
<p><strong>5.</strong> That&#8217;s it.  You should now see your typewriter font staring back at you every single second.  Good luck.</p>
<h3>Download a Sample</h3>
<p><a href="http://webtribe.com.au/blog/downloads/Cufon_Countdown_09082011.zip">Click here</a> to download a working example.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2011/02/09/using-cufon-with-jquery-countdown/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>New Webtribe website finally launched!</title>
		<link>http://www.webtribe.com.au/blog/2010/08/07/new-webtribe-website-finally-launched-2/</link>
		<comments>http://www.webtribe.com.au/blog/2010/08/07/new-webtribe-website-finally-launched-2/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 00:23:38 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Webtribe]]></category>
		<category><![CDATA[webtribe]]></category>

		<guid isPermaLink="false">http://www.webtribe.com.au/blog/?p=48</guid>
		<description><![CDATA[The extreme website and branding makeover is complete! The new Webtribe website is now up! <a href="http://www.webtribe.com.au/blog/2010/08/07/new-webtribe-website-finally-launched-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yay!</p>
<p>The extreme website and branding makeover is complete!  Stay tuned  for loads of cool blog entries on nerdy stuff like PHP, CSS, Coldfusion,  ModX and WordPress.</p>
<p>If your eyes glazed over during that last sentence then maybe I&#8217;ll post some pics of my guitars to keep you happy!</p>
<p>Special thanks to <a href="http://www.stuartholmes.com" target="_blank">Stuart Holmes</a> and <a href="http://www.neatcreative.com.au" target="_blank">Bec Gauci</a> for all their excellent work on the new branding.  You guys did a great job!</p>
<p>Back soon,</p>
<p>Tom.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webtribe.com.au/blog/2010/08/07/new-webtribe-website-finally-launched-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

