<?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>Website Design Sheffield - Mark Goddard &#187; Tutorial</title>
	<atom:link href="http://blog.0100.tv/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.0100.tv</link>
	<description>Web Design &#38; Development blog</description>
	<lastBuildDate>Sat, 02 Oct 2010 09:47:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Fixing the Hover event on the iPad/iPhone/iPod</title>
		<link>http://blog.0100.tv/2010/05/fixing-the-hover-event-on-the-ipadiphoneipod/</link>
		<comments>http://blog.0100.tv/2010/05/fixing-the-hover-event-on-the-ipadiphoneipod/#comments</comments>
		<pubDate>Fri, 21 May 2010 15:39:38 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=666</guid>
		<description><![CDATA[In truth it&#8217;s not a fix as the iPad doesn&#8217;t have the ability to hover. Apple has developed extra events to replace hover on it&#8217;s mobile touch devices. I&#8217;ve recently been working a lot on the iPad and came across the problem of hovered navigation not showing up. It&#8217;s a css :hover event that fires [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-667" title="ipad.jpg" src="http://blog.0100.tv/wp-content/uploads/2010/05/ipad.jpg-510x285.png" alt="" width="510" height="285" /></p>
<p>In truth it&#8217;s not a fix as the iPad doesn&#8217;t have the ability to hover.</p>
<p>Apple has developed extra events to replace hover on it&#8217;s mobile touch devices. I&#8217;ve recently been working a lot on the iPad and came across the problem of hovered navigation not showing up. It&#8217;s a css :hover event that fires through a CSS selector on an &lt;a&gt; element with no href attribute.</p>
<p>To emulate the hover we simply add an event listener to the element we want to have a hover event. In jQuery we do this (make sure you insert it into document.ready):</p>
<pre>//ipad and iphone fix
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
    $(".menu li a").click(function(){
        //we just need to attach a click event listener to provoke iPhone/iPod/iPad's hover event
        //strange
    });
}
</pre>
<p>That should enable the element to be touched, and stimulate and iPad hover event.</p>
<p>If you&#8217;re having problems getting hovered elements to fire you could also try using touchstart or touchend which is probably a better method depending on what you&#8217;re trying to accomplish:</p>
<pre>
</pre>
<pre>if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
    $(".menu li a").bind('touchstart', function(){
        console.log("touch started");
    });
</pre>
<pre>
</pre>
<pre>    $(".menu li a").bind('touchend', function(){
        console.log("touch ended");
    });</pre>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2010/05/fixing-the-hover-event-on-the-ipadiphoneipod/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Business Card design, how to do it right!</title>
		<link>http://blog.0100.tv/2009/11/business-card-design-how-to-do-it-right/</link>
		<comments>http://blog.0100.tv/2009/11/business-card-design-how-to-do-it-right/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 16:26:07 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=589</guid>
		<description><![CDATA[We&#8217;ve all been there, with an opportunity to impress only to fail by handing out a scrappy piece of paper with your name and number on. Is anyone likely to find that piece of paper again once they&#8217;ve put it down? Are they likely to pass it along to another potential client? Or are they [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-593" title="Business Card" src="http://blog.0100.tv/wp-content/uploads/2009/11/cards1.jpg" alt="Business Card" width="510" height="306" /></p>
<p>We&#8217;ve all been there, with an opportunity to impress only to fail by handing out a scrappy piece of paper with your name and number on. Is anyone likely to find that piece of paper again once they&#8217;ve put it down? Are they likely to pass it along to another potential client? Or are they more likely to throw it in the trash?</p>
<p>A business card is an important piece of promotional material. Something that is unlikely to be thrown away if it does it&#8217;s job properly. It must be memorable, easy to read and contain all the information needed in a short amount of space.<span id="more-589"></span></p>
<h3>Making an impact&#8230;</h3>
<p>A business card usually comprises of two separate sections, and these two sections give you ample opportunity to get your point across quickly and concisely.</p>
<h3>Section 1 &#8211; The imagination</h3>
<p><img class="alignnone size-medium wp-image-590" title="artfully6" src="http://blog.0100.tv/wp-content/uploads/2009/11/artfully6-510x342.png" alt="artfully6" width="510" height="342" /></p>
<p>The first section (namely the front of the card) is your canvas to create whatever you like. Try a doodle on your Wacom, write a funny line or even pop your tag line on there (mine for example is <em>Artfully Illuminating Design</em>, something I&#8217;ve stuck with from day one). It allows you to show a bit of personality, a bit of creativity and create something more eye catching than a scrap of paper.</p>
<p>The above design is quite eye catching using a bright blue (my trademark colour). Someone is unlikely to throw it away and is likely to remember the card. The little tag-line of &#8220;<strong><a href="http://en.wikipedia.org/wiki/All_your_base_are_belong_to_us" target="_blank">all your design are belong to us</a></strong>&#8221; probably won&#8217;t be understood by most clients as it&#8217;s a rip off of a humorous online phrase. It can however add that little extra in allowing the potential client to remember you.</p>
<p>Try drawings, jokes, fancy patterns, cartoons, phrases, photographs or even Haiku. It can really make a boring piece of card interesting.</p>
<h3>Section 2 &#8211; The details</h3>
<p>So you&#8217;ve got your potential clients attention, how do we hammer home the contact details?</p>
<p>It&#8217;s all about organisation and importance. You need to gently organise your details according to what you want on there. Obvious details are telephone number, email address and website (if you have one). Additional details you could apply are (depending on your industry);</p>
<ol>
<li>Address</li>
<li>Work &amp; Mobile telephone numbers</li>
<li>Social networking links (such as Twitter)</li>
<li>Alternative contact details such as Skype</li>
<li>Fax number (not so common lately)</li>
<li>Your job title</li>
<li>Your skills/attributes</li>
</ol>
<p>Don&#8217;t overload the card with details, only list the important stuff and make sure the important stuff is the largest test on the card. Also ensure it&#8217;s readable when printed before you go an order 500 business cards. You have to bear in mind that just because it&#8217;s large on your 27&#8243; monitor, it&#8217;s not when it&#8217;s printed only 3 inches wide.</p>
<h3>Free Photoshop Template (UK sizes)</h3>
<p>I&#8217;ve drummed up a few free templates for you to use. Simply pop in your details, print them and see how the look!</p>
<p>Please note these are set at <a href="http://en.wikipedia.org/wiki/Business_card#Dimensions" target="_blank">85mm x 55mm</a> which <a href="http://en.wikipedia.org/wiki/Business_card#Dimensions" target="_blank">may need changing before printing depending on which country your in</a>.</p>
<p>Please also make sure your guide lines are on by using the shortcut Ctrl+H/Apple+H or clicking View&gt;Extras. The outer border is your cropping area and the innder border is your bleed area. The inner rectangle is your safe zone. Try to keep everything in there. Happy designing!</p>
<p><img class="alignnone size-full wp-image-596" title="Business Card Example" src="http://blog.0100.tv/wp-content/uploads/2009/11/example.gif" alt="Business Card Example" width="503" height="166" /></p>
<p><a href="http://blog.0100.tv/wp-content/uploads/2009/11/example2.psd">Section 1 &#8211; The Imagination</a> | <a href="http://blog.0100.tv/wp-content/uploads/2009/11/example1.psd">Section 2 &#8211; The Details</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/11/business-card-design-how-to-do-it-right/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developing for multiple browsers *sigh*</title>
		<link>http://blog.0100.tv/2009/10/developing-for-multiple-browsers-sigh/</link>
		<comments>http://blog.0100.tv/2009/10/developing-for-multiple-browsers-sigh/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 10:56:26 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=501</guid>
		<description><![CDATA[I know it&#8217;s unfortunately the &#8220;taboo&#8221; of modern website design, but many developers don&#8217;t want to simply leave their IE7 visitors and IE6 visitors in the dark. It&#8217;s fine for sites like this one, or for web applications but what about corporation websites? For sites that HAVE to support older/alternative browsers. This came to light [...]]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s unfortunately the &#8220;taboo&#8221; of modern website design, but many developers don&#8217;t want to simply leave their IE7 visitors and IE6 visitors in the dark. It&#8217;s fine for sites like this one, or for web applications but what about corporation websites? For sites that HAVE to support older/alternative browsers. This came to light ever more when I recently worked on a website which would mean that customers worth millions could possibly be using IE6. There&#8217;s 50% of employees there too who still run IE7 so not supporting them wasn&#8217;t an option. I needed (and used) a large set of tools to help me accomplish this task, and I&#8217;m going to tell you about them.</p>
<p>Every web developer <strong>should</strong> (<em>and probably does</em>) use these tools on a daily basis. They streamline your development and help speed up little niggles with your site.<span id="more-501"></span></p>
<h3><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer Toolbar</a></strong></h3>
<p><img class="alignnone size-full wp-image-506" title="Web Developer Toolbar" src="http://blog.0100.tv/wp-content/uploads/2009/10/fftb1.jpg" alt="fftb" width="510" height="150" /></p>
<p>This handy toolbar includes features such as in browser CSS editing which lets you see CSS changes live, the ability to disable Javascript, Cookies, CSS and Images (for usability testing) and includes many handy features.</p>
<p><a href="http://blog.0100.tv/wp-content/uploads/2009/10/google.jpg"><img class="size-thumbnail wp-image-503 alignright" title="google" src="http://blog.0100.tv/wp-content/uploads/2009/10/google-100x100.jpg" alt="google" width="100" height="100" /></a>Some fancy tricks also include:</p>
<ul>
<li><strong>Element outlining</strong><br />
This allows you to see which &lt;div/input/anything&gt; tags are lining up wrong and combined with the CSS editor proves a powerful tool in element alignment.</li>
<li><strong>Disabling CSS</strong><br />
This allows you to see how your layout holds up with browsers which don&#8217;t support CSS (such as screen readers). If your content is laid out poorly, it. will. be. read. out. loud. poorly.</li>
<li><strong>Browser Resizing</strong><br />
Want to see how your site looks in a 1024&#215;768 browsers? Click the re-size button and the toolbar will set your browser window to any size you specify!</li>
<li><strong>Quick Validation links</strong><br />
Want to know if your XHTML or CSS validates? There&#8217;s quick handy links under the Tools drop-down.</li>
<li><strong>Generated Source vs Source</strong><br />
Is your Javascript messing up your code? Then view the Generated Source to see what it&#8217;s actually doing to your pages.</li>
<li><strong>Quickly Edit HTML &amp; CSS in-line</strong><br />
It&#8217;s a quick and dirty way to see how your new CSS/HTML code works in your site. Simply open the editor and type away to see your page update <strong>live</strong>.</li>
</ul>
<p>There&#8217;s many more options you can play with. All you need is <a href="http://www.mozilla-europe.org/en/firefox/" target="_blank">Firefox</a> and the <a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer Toolbar</a>.</p>
<h3><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug</a></h3>
<p><img class="alignnone size-full wp-image-507" title="Firebug" src="http://blog.0100.tv/wp-content/uploads/2009/10/fb.jpg" alt="Firebug" width="510" height="150" /></p>
<p>Firebug is a tool used by almost every web developer in the world. If you&#8217;ve not installed it yet, do it immediately as it will save you many man hours fixing bugs in your websites code. It&#8217;s had over <strong>19 million</strong> downloads and averages <strong>22,000</strong> downloads every day.</p>
<h3><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/271">Colorzilla</a></strong></h3>
<p><strong><img class="alignnone size-full wp-image-509" title="Colorzilla" src="http://blog.0100.tv/wp-content/uploads/2009/10/colorzilla.jpg" alt="colorzilla" width="510" height="150" /><br />
</strong></p>
<p>When I can&#8217;t remember how to <a href="http://www.lts.com/class/hex1.htm" target="_blank">count in hex</a> (which often happens) I use Colorzilla. It makes sure my <span style="color: #009ecc;">#009ecc</span> is not <span style="color: #02a4d3;">#02a4d3</span> and that my <span style="color: #666666;">#666</span> isn&#8217;t <span style="color: #999999;">#999</span>. It&#8217;s best to keep consistency and is what separates a good designer, with a great designer.</p>
<p>There&#8217;s loads more Firefox Add-ons you could also check out:</p>
<ul>
<li><strong>YSlow</strong> <a href="https://addons.mozilla.org/en-US/firefox/addon/5369">https://addons.mozilla.org/en-US/firefox/addon/5369</a></li>
<li><strong>Pixel Perfect</strong> <a href="https://addons.mozilla.org/en-US/firefox/addon/7943">https://addons.mozilla.org/en-US/firefox/addon/7943</a></li>
<li><strong>Firecookie</strong> <a href="https://addons.mozilla.org/en-US/firefox/addon/6683">https://addons.mozilla.org/en-US/firefox/addon/6683</a></li>
<li><strong>PageDiff</strong> <a href="https://addons.mozilla.org/en-US/firefox/addon/4274">https://addons.mozilla.org/en-US/firefox/addon/4274</a></li>
</ul>
<h3><a href="http://0100.ws/69d/" target="_blank"><strong>Internet Explorer Developer Tools</strong></a></h3>
<p><strong><img class="alignnone size-full wp-image-515" title="Internet Explorer Developer Tools" src="http://blog.0100.tv/wp-content/uploads/2009/10/iedt.jpg" alt="Internet Explorer Developer Tools" width="510" height="150" /><br />
</strong></p>
<p>On the Internet Explorer front there&#8217;s not much for the modern Web Developer. However, using the Firefox tools above covers most if not all of your needs, except for IE8, IE7 and IE6 testing. This is what I&#8217;ll go over next.</p>
<p>The best tool is actually one released by Microsoft themselves. The aptly named <a href="http://0100.ws/69d/" target="_blank"><strong>Internet Explorer Developer Toolbar</strong></a> which gives you a few tools to play with which include a CSS and HTML editor, the ability to disable CSS and images, use a colour picker and outline elements. It&#8217;s basically a shorter version of the Firefox web developer toolbar. It also allows you to quickly switch between IE7 and IE8 browser rendering. Simply select which browser mode you need and you can see what your page looks like in IE7.</p>
<p>Now for IE6 (cringe). I know a lot of developer are now dropping support but as previously mentioned sometimes it&#8217;s not an option, and we sometimes need to think about this when developing mass market websites.</p>
<h3><a href="http://www.spoon.net/browsers/" target="_blank"><strong>Spoon.net</strong></a></h3>
<p>It&#8217;s a tool I only recently found and because Microsoft won&#8217;t properly develop something which lets you run IE6 on your machine, Spoon developed a browser plug-in which lets you run ANY browser, well, IN browser. They call it &#8220;App Virtualization&#8221; and I call it magic as it let&#8217;s you run IE6! (<em>note, as of writing I couldn&#8217;t get it to buffer on Windows 7 64-bit but could on Vista (32) and XP (32), let me know, maybe it needs to be XP Virtualized?</em>)</p>
<h3><a href="https://browserlab.adobe.com/" target="_blank">Adobe BrowserLab</a></h3>
<p><a href="http://blog.0100.tv/wp-content/uploads/2009/10/adobe.jpg"><img class="alignnone size-medium wp-image-516" title="adobe" src="http://blog.0100.tv/wp-content/uploads/2009/10/adobe-510x248.jpg" alt="adobe" width="510" height="248" /></a></p>
<p>This amazing tool lets you preview your pages side by side and even overlay pages (known as onion skin). You can also preview your site in many browsers which include Internet Explorer 6/7/8, Safari 3/4 and Firefox 2/3. The only downside is you can&#8217;t preview it as a functional page so can only be used for styling sakes, and it&#8217;s a little slow to run sometimes.</p>
<p><strong>I hope you found these tools useful for your web developing needs and good luck (you&#8217;ll need it if your working with IE6)</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/10/developing-for-multiple-browsers-sigh/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>UPDATED: Using Twitter and TwitPic, the API&#8217;s</title>
		<link>http://blog.0100.tv/2009/05/using-twitter-and-twitpic-the-apis/</link>
		<comments>http://blog.0100.tv/2009/05/using-twitter-and-twitpic-the-apis/#comments</comments>
		<pubDate>Wed, 06 May 2009 13:57:51 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[information]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[twitpic]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=225</guid>
		<description><![CDATA[UPDATED: I have now added in a few lines to cache the file. This saves on bandwidth and can sometimes speed things up when the twitpic service is running slow, it&#8217;s a simple extension to an already simple script. Most people have become addicted to Twitter, and I&#8217;m no exception. I got an iPhone the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.0100.tv/wp-content/uploads/2009/05/twitpic.png"><img class="alignnone size-full wp-image-379" title="twitpic" src="http://blog.0100.tv/wp-content/uploads/2009/05/twitpic.png" alt="twitpic" width="510" height="160" /></a></p>
<p><strong>UPDATED: I have now added in a few lines to cache the file. This saves on bandwidth and can sometimes speed things up when the twitpic service is running slow, it&#8217;s a simple extension to an already simple script.</strong></p>
<p>Most people have become addicted to Twitter, and I&#8217;m no exception.</p>
<p>I got an iPhone the other week and <a href="http://twitter.com/0100">have been posting regularly</a>, but there is one thing that is very nice, and that&#8217;s the API built into Twitter. It&#8217;s quite a nice feature, and one that I have been getting to grips with recently.</p>
<p>I decided I wanted to show my Twitter updates on the new website I have been building and because Twitter supports JSON feeds, I thought I&#8217;d have a crack at using jQuery to show these posts.</p>
<p>It&#8217;s something that&#8217;s actually quite easy. Using jQuery&#8217;s AJAX function $.getJSON it meant I could grab the feed and format it how I wished. First off make sure you have included the latest version of jQuery into your website.</p>
<pre class="code"><code class="javascript">&lt;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">"text/javascript" </span><span class="attribute-name">src</span>=<span class="attribute-value">"http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"</span>&gt;&lt;/<span class="end-tag">script</span>&gt;</code></pre>
<p>This needs to go where scripts usually reside. In your HTML &lt;head&gt; tag. You will also need to wrap all the below code in the jQuery documen.ready() function.</p>
<p>In this example I only wanted to grab one result so I started off with&#8230;<span id="more-225"></span></p>
<pre class="code"><code class="javascript">$(document).ready(function() {
var userName = "0100";
	$.getJSON("http://twitter.com/statuses/user_timeline/"+ userName +".json?count=1&amp;callback=?", function(json){
 		var lastTweet = json[0].text;
		var tweetTime = json[0].created_at;
		$("#twitterTxt").html(lastTweet);
		$("#twitterTime").html(tweetTime);
	});
});</code></pre>
<p>That&#8217;s it! All nine lines of it. All you need to do it make two divs, one with the ID twitterTxt and the other with the ID twitterTime. You also need to change your username in the variable too.</p>
<p>The only problem with this is the dates. It&#8217;s not &#8220;twitter timed&#8221; at all. We want the &#8220;posted 1 minute ago&#8221; text we all look for on twitter. Luckily, twitter already wrote a function for this called <a href="http://blog.0100.tv/wp-content/uploads/2009/05/relative_time.js">relative_time()</a> which you <a href="http://blog.0100.tv/wp-content/uploads/2009/05/relative_time.js">can download and use</a>. All you have to do is wrap the tweetTime var with the function like:</p>
<pre class="code"><code class="javascript">		var tweetTime = relative_time(json[0].created_at);</code></pre>
<p>Just make sure you copy in the function to your javascript or include it into the page.</p>
<h2>TwitPic API, displaying images</h2>
<p>After we have our twitter updates showing on our page we can now show the TwitPic photos too! Every time you post a photo through your twitter updates we can show this on the page as a link. I only wanted to show one image but for this example I have written the code to show as many images as TwitPic allows. I&#8217;m not sure of the actual limit but I think ten is a good number. For this example you need to have PHP 5 with <a href="http://us2.php.net/manual/en/book.simplexml.php">SimpleXML</a>. It&#8217;s a brilliant function and something which makes using RSS feeds with PHP very easy.</p>
<p>Once again it&#8217;s only around ten lines of code, but the results are great.<br />
We will need to start by looking at the format of the RSS feed. Open up http://twitpic.com/photos/0100/feed.rss and analyse it. (view the source if you just see a formatted page in firefox).</p>
<p>We start off using the <a href="http://us.php.net/simplexml_load_file">simplexml_load_file()</a> function in PHP to grab the actual feed:</p>
<pre class="code"><code class="php">$username = "0100";
$yourRSS = "http://twitpic.com/photos/".$username."/feed.rss";
$xml = simplexml_load_file($yourRSS, 'SimpleXMLElement', LIBXML_NOCDATA);</code></pre>
<p>Nothing too difficult there except the option <strong>LIBXML_NOCDATA</strong>. TwitPic gives us the data as CDATA. This option simply strips out the uneeded code.</p>
<p>We then need to grab the actual image a link. Note: TwitPic&#8217;s TOS state you must link back to the original TwitPic page, which is fair enough.</p>
<pre class="code"><code class="php">$link = str_replace($username.": &lt;br&gt;","",$xml-&gt;channel-&gt;item[$i]-&gt;description);</code></pre>
<p>This simply points to the SimpleXML object and grabs the description entry in the RSS. This is placed in a for() loop to loop through the entries. We also have to replace the username and page break that TwitPic outputs, it looks silly otherwise. All we have to do is echo that out and we are done!</p>
<p>To save you all time I have uploaded a full PHP script for you to use. It&#8217;s very easy and only requires you to change a few parameters. It will then echo out a unordered list for you to use in your site!</p>
<p><strong>Note: There is now an <a href="http://blog.0100.tv/wp-content/uploads/2009/05/twitpicall2.txt">updated version of the script that you can download</a>.</strong></p>
<p><strong><span style="text-decoration: line-through;">Download the full PHP file <a href="http://blog.0100.tv/wp-content/uploads/2009/05/twitpicall1.txt">TwitPic API &#8211; Simple XML PHP</a></span>. You can also <a href="http://0100.tv/dev/new/twitpicAll.php">see a demo of the output</a>.</strong></p>
<p>Hope this all helped you to use Twitters and TwitPic&#8217;s API&#8217;s!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/05/using-twitter-and-twitpic-the-apis/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>php.ini and Undefined Variable errors</title>
		<link>http://blog.0100.tv/2009/03/phpini-and-undefined-variable-errors/</link>
		<comments>http://blog.0100.tv/2009/03/phpini-and-undefined-variable-errors/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 21:51:05 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Server]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[error_reporting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=201</guid>
		<description><![CDATA[It all started with a new server. After setting up and installation everything was working fine, until I read the error_log files in the servers logs. There were loads and loads of error messages reporting that there were &#8220;undefined variables&#8221; throughout every script on the server. Strange! It ended up being very easy to fix&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>It all started with a new server. After setting up and installation everything was working fine, until I read the error_log files in the servers logs.</p>
<p>There were loads and loads of error messages reporting that there were &#8220;undefined variables&#8221; throughout every script on the server. Strange!</p>
<p>It ended up being very easy to fix&#8230;<span id="more-201"></span></p>
<p>The errors displayed:</p>
<pre>[Thu Feb 19 14:35:37 2009] [error] [client xx.xx.94.2] PHP Notice:  Undefined variable: page2 in /xxx/xxx/xxx/0100.tv/httpdocs/xxx/xxx.php on line 3
[Thu Feb 19 14:35:37 2009] [error] [client xx.xx.94.2] PHP Notice:  Undefined variable: page3 in /xxx/xxx/xxx/0100.tv/httpdocs/xxx/xxx.php on line 4
[Thu Feb 19 14:35:37 2009] [error] [client xx.xx.94.2] PHP Notice:  Undefined variable: page4 in /xxx/xxx/xxx/0100.tv/httpdocs/xxx/xxx.php on line 5
[Thu Feb 19 14:35:37 2009] [error] [client xx.xx.94.2] PHP Notice:  Undefined variable: page5 in /xxx/xxx/xxx/0100.tv/httpdocs/xxx/xxx.php on line 6
[Thu Feb 19 14:35:37 2009] [error] [client xx.xx.94.2] PHP Notice:  Undefined variable: page6 in /xxx/xxx/xxx/0100.tv/httpdocs/xxx/xxx.php on line 8</pre>
<p>This was awfully confusing considering that every variable was working. However, it comes down to sloppy coding/PHP&#8217;s error reporting settings. You could define every variable by typing var $variable; before using it but that&#8217;s a silly idea. Instead&#8230;.</p>
<p>Reading through the error reporting description at the top of php.ini we read:</p>
<pre>By default, PHP surpresses errors of type E_NOTICE.  These error messages
    are emitted for non-critical errors, but that could be a symptom of a bigger
    problem.  Most notably, this will cause error messages about the use
    of <strong>uninitialized variables</strong> to be displayed.</pre>
<p>To stop there errors you can change error reporting php.ini by doing the following:</p>
<p>change</p>
<pre>error_reporting  =  E_ALL</pre>
<p>to</p>
<pre>error_reporting = E_ALL &amp; ~E_NOTICE</pre>
<p>This will then only show the relevant error messages and supresses non-critical errors. Sorted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/03/phpini-and-undefined-variable-errors/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Free XHTML Template</title>
		<link>http://blog.0100.tv/2009/02/free-xhtml-template/</link>
		<comments>http://blog.0100.tv/2009/02/free-xhtml-template/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 19:53:06 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=174</guid>
		<description><![CDATA[The other day I realised I had loads of spare web stuff lying around on my hard drive which included canned designs, unused web pages, old university assignments and old website designs (PSD&#8217;s and XHTML/CSS). Well, today I decided I&#8217;d start releasing this spare stuff online. If I&#8217;m not using it maybe someone else can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.0100.tv/wp-content/uploads/2009/02/example.jpg"><img class="alignnone size-full wp-image-175" title="Free Template" src="http://blog.0100.tv/wp-content/uploads/2009/02/template.jpg" alt="" width="498" height="150" /></a></p>
<p>The other day I realised I had loads of spare web stuff lying around on my hard drive which included canned designs, unused web pages, old university assignments and old website designs (PSD&#8217;s and XHTML/CSS).</p>
<p>Well, today I decided I&#8217;d start releasing this spare stuff online. If I&#8217;m not using it maybe someone else can get something out of it. That was the idea behind the <a href="http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched/">WordPress Olivia template</a>, it was an old design which morphed into a pretty popular <a href="http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched/">free template</a>.</p>
<p>Anyway, we start this new routine of free downloads with a free XHTML template complete with instructions on how to use and modify it.</p>
<p>You can <a href="http://0100.tv/d/free_template/">view a demo</a> of the <a href="http://0100.tv/d/free_template/">free XHTML theme</a> or even <a href="http://0100.tv/d/free_template.zip">download it for yourself</a> to dissect, prod and poke.<br />
There is also a tutorial on how to edit the pages, adding paragraphs and headers and also how to edit the CSS. It&#8217;s a basic tutorial but it explains the beginner methods.</p>
<p>Unfortunately there won&#8217;t be much support for it. You&#8217;ll have to work it out for yourself. If you are really really stuck you can drop comments for this post below and I&#8217;ll try my damn hardest to answer. <strong>Honest</strong>.</p>
<p><a href="http://0100.tv/d/free_template.zip">Download (370kb)</a> | <a href="http://0100.tv/d/free_template/">View Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/02/free-xhtml-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to? Basic website design using Adobe Photoshop</title>
		<link>http://blog.0100.tv/2009/01/how-to-website-design-using-adobe-photoshop/</link>
		<comments>http://blog.0100.tv/2009/01/how-to-website-design-using-adobe-photoshop/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 22:39:55 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[beginners]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=147</guid>
		<description><![CDATA[Please note: This tutorial is for beginners. It&#8217;s a short vague guide to push you in the right direction. I believe &#8220;learn by seeing and doing&#8221; is the best approach. Many developers struggle to use the basic tools in Adobe&#8217;s award winning software Photoshop when designing websites. It can help a lot to know some [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-157 alignleft" style="border: 0pt none; margin-right: 5px; margin-left: 5px;" title="Warning" src="http://blog.0100.tv/wp-content/uploads/2009/01/warn.jpg" alt="" width="30" height="30" /><em><strong>Please note: This tutorial is for beginners. It&#8217;s a short vague guide to push you in the right direction. I believe &#8220;learn by seeing and doing&#8221; is the best approach.</strong></em></p>
<p>Many developers struggle to use the basic tools in Adobe&#8217;s award winning software Photoshop when designing websites. It can help a lot to know some simple techniques and tools when building XHTML pages. You don&#8217;t have to use the very awful splicing function at all.</p>
<p>Let&#8217;s start with the idea of building a very simple design using a set colour palette and a set width. After these simple tips I will also supply a number of useful links to visit to help you further.<span id="more-147"></span></p>
<p>Let&#8217;s boot up Photoshop and start with a new blank file. Choose a preset width and height (I&#8217;m using <strong>1024&#215;768</strong>) and let&#8217;s get designing!<a href="http://blog.0100.tv/wp-content/uploads/2009/01/download.jpg"><img class="alignright size-medium wp-image-150" style="margin: 20px;" title="Swatch Download" src="http://blog.0100.tv/wp-content/uploads/2009/01/download-165x150.jpg" alt="" width="165" height="150" /></a></p>
<p>Initially we need a colour palette for inspiration. If you want help see <a href="http://kuler.adobe.com/#themes/search?term=userId%3A202645">Adobe&#8217;s Kuler application</a>. It&#8217;s awesome. Once you have found your colour palette you can then download it (provided your registered and logged in) open it and your colours will jump straight into Photoshop (Window&gt;Swatches)! How cool!</p>
<p>Pick your favourite background colour (I&#8217;m using <strong>#ff8548</strong>) and fill the background. Then create two guide lines 960 pixels apart (or any other distance apart) and place them in the center. (If your not sure how to do this simply download <a href="http://blog.0100.tv/wp-content/uploads/2009/01/960.psd">960 Guides</a>). We now have a <strong>simple</strong> layout. Next we need to setup our header and navigation.</p>
<p>It&#8217;s as easy as writing some text and placing it at the top of the page. Make sure you keep the margins your giving the text around the edges the same. You could do this by making small 10px x 10px boxes and using these as padding. You could also draw more guide lines by dragging them from the rulers around the page. (If you can&#8217;t see them tap <strong>Ctrl+R</strong>) Using rulers and guises to position all your elements on the page is the best way to keep everything aligned and tidy. This is a fundamental in website design.</p>
<p><a href="http://blog.0100.tv/wp-content/uploads/2009/01/dummy.jpg"><img class="size-medium wp-image-155 alignright" style="margin: 20px;" title="Dummy" src="http://blog.0100.tv/wp-content/uploads/2009/01/dummy-200x150.jpg" alt="" width="200" height="150" /></a>You can also use <a href="http://www.lipsum.com/feed/html"><strong>Lorem Ipsum</strong></a> (dummy text) to help see how your layout looks on the page.</p>
<p>Stick to the colours in your colour palette and have a play. I drew up a quick dummy web page with some lorem ipsum, a title and a navigation bar. I also drew in some guides to position my content better and to keep everything tidier. If you would like to <a href="http://blog.0100.tv/wp-content/uploads/2009/01/960simple.psd">download</a> this PSD file <a href="http://blog.0100.tv/wp-content/uploads/2009/01/960simple.psd">be my guest</a>. Pull it apart and see what you like.</p>
<p>This simple design could be a the building blocks of your first website.</p>
<p>Check out the following links to help you further;</p>
<ol>
<li><a href="http://www.lipsum.com/">Lorem Ipsum</a></li>
<li><a href="http://kuler.adobe.com/">Adobe Kuler</a></li>
<li><a href="http://960.gs/">960 Grid System</a></li>
<li><a href="http://www.webdesignerwall.com/">Web Designer Wall</a></li>
<li><a href="http://bestwebgallery.com/">Best Web Gallery</a></li>
<li><a href="http://cssbased.com/">CSS Based</a></li>
<li><a href="http://www.pixel2life.com/">Pixel2Life Tutorials</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2009/01/how-to-website-design-using-adobe-photoshop/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Olivia WordPress Theme &#8211; V0.9.5</title>
		<link>http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched/</link>
		<comments>http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 23:20:15 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[olivia]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=116</guid>
		<description><![CDATA[Theme Demo &#8211; Download Now 670kb I am pleased to announce that you can now download the brand new WordPress theme named &#8220;Olivia&#8221; direct from our website and soon from the official WordPress themes gallery. It has been in development for a long time but good things come to those who wait! Key features of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.0100.tv/wp-content/uploads/2008/11/wordpress_large.jpg"><img class="alignnone size-medium wp-image-117" title="Olivia WordPress Theme" src="http://blog.0100.tv/wp-content/uploads/2008/11/olivia.jpg" alt="" width="498" height="150" /></a></p>
<h2><a href="http://wp-themes.com/olivia/">Theme Demo</a> &#8211; <a href="http://wordpress.org/extend/themes/download/olivia.0.9.5.zip">Download Now 670kb</a></h2>
<p>I am pleased to announce that you can now download the brand new WordPress theme named &#8220;Olivia&#8221; direct from our website and soon from the official WordPress themes gallery.</p>
<p>It has been in development for a long time but good things come to those who wait!</p>
<p>Key features of the theme:</p>
<ol>
<li>Seven brilliant styles including a <strong>Grunge</strong> style and <strong>Magic</strong> style!</li>
<li>Beautifully designed</li>
<li>WordPress <strong>2.6.3</strong> compatible</li>
<li>Widget ready!</li>
<li>Built on the famous <a href="http://960.gs/" target="_blank">960 grid system</a></li>
<li>FamFamFam Silk Icons</li>
<li>jQuery functions including text size modification</li>
<li>Basic stylesheet for accessibility</li>
<li>Thumbnail generation</li>
</ol>
<p>To coincide with the release of the theme I have written a quick tutorial explaining how to use the features explained&#8230;<span id="more-116"></span></p>
<h2>Tutorials</h2>
<p>The theme is ready &#8220;out-of-the-box&#8221; but there are some features built into the theme which you may not know about upon installation.</p>
<ol>
<li><a href="http://blog.0100.tv/wp-content/uploads/2008/11/select1.jpg"><img class="alignright size-thumbnail wp-image-120" title="Options Select" src="http://blog.0100.tv/wp-content/uploads/2008/11/select1-100x100.jpg" alt="" width="100" height="100" /></a><strong>Stylesheet Selector</strong><br />
Olivia comes pre-built with SEVEN different styles to choose from. They include Red, Green, Blue, Grey, White, Grunge and Magic. To select which theme you would like to use simply login to your WordPress dashboard, click on the Design tab and then (as long as Olivia is the current theme) you should see a tab named <strong>Olivia Options. </strong>You will then be presented with the seven styles provided. Simply click on your desired style to enable it!</li>
<li><strong>Thumbnail Generator</strong> (requires GD library*)<br />
<a href="http://blog.0100.tv/wp-content/uploads/2008/11/thumb.jpg"><img class="alignright size-thumbnail wp-image-121" title="Thumbnail Generator" src="http://blog.0100.tv/wp-content/uploads/2008/11/thumb-100x100.jpg" alt="" width="100" height="100" /></a>To ensure your post images are the perfect size I have built a simple PHP thumbnail generator. To use it simply upload your image as usual using WordPress&#8217; in built media uploader but copy and paste the image &#8220;<strong>Link URL</strong>&#8221; into the box below your write panel (<em>see image right</em>). The theme will automatically resize the image for your post!<br />
<em>*There is however a drawback with this. Your server must have GD Library installed. If your not sure about this simply login and click on <strong>Olivia Options</strong> under the <strong>Design</strong> tab. There will be a title further down notifying you if your ok or not.</em></li>
</ol>
<p>That&#8217;s it! Your ready to make full use of your theme!<br />
Please note that this is the very first full release of the theme and it may still have some hidden bugs somewhere. If you find any at all simply <a href="http://0100.tv/contact&amp;form=basic/">drop me an email</a> or leave a comment (good or bad) and I will look into it immediately. The same goes for <a href="http://0100.tv/contact&amp;form=basic/">feature requests</a>.</p>
<h2><a href="http://wp-themes.com/olivia/">Theme Demo</a> &#8211; <a href="http://wordpress.org/extend/themes/download/olivia.0.9.5.zip">Download Now 670kb</a></h2>
<p><strong>Version History</strong></p>
<ul>
<li>V0.9.0 (23/09/08) : Initial Release</li>
<li>V0.9.1 (24/09/08) : Fixed some CSS issues</li>
<li>V0.9.5 (25/09/08) : Fixed CSS issues, widget sidebar issues and a bit of XHTML.</li>
</ul>
<p><em>Please note the licence below.The theme is released under a GNU Public Licence. Please leave the author information intact in the footer of the document. You know it&#8217;s only nice for a free theme ;-)<br />
</em></p>
<p><span>Olivia WordPress Theme</span> by <a rel="cc:attributionURL" href="http://0100.tv/">Mark Goddard</a> is licensed under a <a href="http://www.gnu.org/licenses/gpl.html">The GNU Public Licence Version 3</a>.<br />
Based on a work at <a rel="dc:source" href="http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched">blog.0100.tv</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2008/11/olivia-wordpress-theme-launched/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>10 Web Design NO NO&#8217;s</title>
		<link>http://blog.0100.tv/2008/08/10-web-design-no-nos/</link>
		<comments>http://blog.0100.tv/2008/08/10-web-design-no-nos/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:08:04 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Website Design]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[mistakes]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[stupidity]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wrong]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=45</guid>
		<description><![CDATA[The web has changed a lot and web designers (of all people) know about the need to keep up to date with the latest design &#8220;trends&#8221;. This short 10 point guide will hopefully help some people understand the minor problems website design (and content) brings when being viewed by a potential customer. Pointless Flash Animation [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-61" title="Bad Design" src="http://blog.0100.tv/wp-content/uploads/2008/08/bad.jpg" alt="" width="498" height="150" /></p>
<p>The web has changed a lot and web designers (of all people) know about the need to keep up to date with the latest design &#8220;trends&#8221;.</p>
<p>This short 10 point guide will hopefully help some people understand the minor problems website design (and content) brings when being viewed by a potential customer.</p>
<ol>
<li><strong>Pointless Flash Animation<br />
</strong>I&#8217;m all up for interactive flash in websites, but only use it if it&#8217;s necessary. Many a web developer will say &#8220;try doing the same in javascript, it&#8217;s better&#8221;, which is usually true, but animations which have no purpose other than to distract the user are pointless, bandwidth consuming and damn irritating.<br />
Check out <a title="Avistar" href="http://www.avistar.com/" target="_blank">Avistar&#8217;s Globe Animation</a>. It&#8217;s awful to look at, and awfully slow.<span id="more-45"></span></li>
<li><strong>Highlight too many elements</strong><br />
The best designs usually incorporate a small colour palette. It&#8217;s more pleasing to the eye and makes navigation a lot easier. Try sticking to 2 or 3 colours for each design. Use our site for example, which colours do you see? Blue? White? If glance at the information on the page you will also notice that the navigation links are highlighted while the background image &#8220;points&#8221; towards the content.</li>
<li><a href="http://www.webpagesthatsuck.tv/saturn/saturn.html" target="_blank"><strong>Mystery Meat Navigation</strong></a><br />
MMN is an aspect of web design which looks good, but is generally not functional. It forces the user to wave their mouse around the screen to find what they are looking for. It usually ends with them leaving the site and visiting a competitor or even scrapping the reason they visited your website all together.</li>
<li><a href="http://blog.0100.tv/wp-content/uploads/2008/08/beijing.jpg"><img class="size-thumbnail wp-image-63 alignright" title="Block Firefox" src="http://blog.0100.tv/wp-content/uploads/2008/08/beijing-200x200.jpg" alt="" width="84" height="84" /></a><strong>Develop for one browser, and block the rest&#8230;</strong><br />
Microsoft has done it a <em>lot</em> of times. Either to spite Firefox/Opera/Safari users, to promote it&#8217;s own IE or even due to laziness, either way it&#8217;s the wrong way to do things. Every website should at least be usable by every web browser (even if not fully supported) otherwise you are shutting off a large percentage of users. The new <a href="http://www.eurovisionsports.tv/olympics/" target="_blank">Beijing olympics site</a> does it. Try <a href="http://www.eurovisionsports.tv/olympics/" target="_blank">viewing it in Firefox</a>.</li>
<li><strong>Rely on Javascript for basic interface and functional design</strong><br />
It&#8217;s all well and good building applications which rely on Javascript, because most of the time these need to be complex, fast and reliable. But to build a site design which relies on the use of Javascript can be a big mistake. Most browsers support Javascript, but most search engines don&#8217;t. This means your website may not be indexed correctly and inevitably lose you visitors. Always ensure that if Javascript is disabled, your website is still viewable. Try installing <a href="http://noscript.net/" target="_blank">NoScript</a> (FF) or <a href="https://www.google.com/adsense/support/bin/answer.py?hl=en&amp;answer=12654" target="_blank">Turning it off </a>in IE to see how your site behaves without it.</li>
<li><strong>Build a site out of sliced images</strong><br />
It maybe an easy thing to do in Photoshop/ImageReady but it usually involves the site being built using tables and large uncompressed images. It looks rather strange sometimes when the page loads slowly (as the layout moves with the images loading) and because of the images the file size of the website will be significantly larger.<br />
Because these images are not CSS images they are part of the document and are the first thing to be loaded. If they were included as CSS images the document XHTML (the content) would load first (and the layout too) with the CSS images coming afterwards. It&#8217;s a better way to build things. A good example to check out is the <a href="http://www.mysteryjets.com/" target="_blank">Mystery Jets website</a>. It&#8217;s slow, ugly and made from sliced images as mentioned. Don&#8217;t even bother <a href="http://pastebin.com/f3ce6dade" target="_blank">looking at the HTML</a>, as it&#8217;s horrible to look at and <a href="http://validator.w3.org/check?verbose=1&amp;uri=http%3A%2F%2Fwww.mysteryjets.com%2F" target="_blank">very very invalid</a>.</li>
<li><strong>Fight with the web&#8230;</strong><br />
Make sure your sites inviting, and doesn&#8217;t scare customers away. By divulging too much information, or even the incorrect information clients may go elsewhere when searching for a developer. A great example of this would be to over announce that your a freelancer, or making out your always busy. Many bloggers divulge this information in their droves, and it can be very off putting to read.<br />
Try inviting users to view your portfolio, if it&#8217;s good enough, throw it all over your website! Potential clients like to see past work to gauge how good you actually are.</li>
<li><strong>Bombard the user with information</strong><br />
Sometimes you visit a website and get information thrown all in your face. It can be very time consuming and uncomfortable to visit these web pages.</li>
<li><strong>Restrict your visitors input</strong><br />
How often do you visit a website, register, then come to make up your password only to receive a message like:<br />
<em>&#8220;Your password must be between 6-8 characters and contain at least one number and any of the following characters %$£^&amp;&#8221;</em>&#8221;<br />
Why 6-8 characters? I understand the numbers and punctuation requirement but it&#8217;s still awfully annoying. Expand the password criteria a little more, 6-8 characters is very short and when there are extra requirements it can be very easy to forget your password.<br />
Another great example is restricting input boxes and textarea boxes too much. If you get it wrong, it can be hugely annoying.<br />
You need gto let the user do what they feel best with, if they want to enter their phone or credit card number with spaces then so be it, don&#8217;t put the restriction on the input boxes, make the software work for them. A simple <code>preg_replace()</code> would fix that problem.</li>
<li><a href="http://blog.0100.tv/wp-content/uploads/2008/08/seizure.jpg"><img class="alignright size-thumbnail wp-image-68" title="Seizure" src="http://blog.0100.tv/wp-content/uploads/2008/08/seizure-100x100.jpg" alt="" width="100" height="100" /></a><strong>Give your lovely visitors a seizure</strong><br />
By using animated GIFs, horrible design, bad layout and disastrous interface design your faithful visitors could become disorientated. Ok so a seizure is over the top however, <a href="http://www.dokimos.org/ajff/" target="_blank">this Jesus website may change your mind</a>&#8230;be patient for it to load, it&#8217;s a good one! (if it doesn&#8217;t work and flash funny colours then try the <a href="http://web.archive.org/web/20080102001031/http://www.dokimos.org/ajff/" target="_blank">web archive</a>)</li>
</ol>
<p>And that&#8217;s a wrap. Some of those points you may not agree with and some you may, it&#8217;s all a matter of opinion. It&#8217;s just a collection of thoughts which seems to annoy the hell out of me, and a lot of other people too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2008/08/10-web-design-no-nos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Playing with light in photography</title>
		<link>http://blog.0100.tv/2008/08/playing-with-light-in-photography/</link>
		<comments>http://blog.0100.tv/2008/08/playing-with-light-in-photography/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 16:34:31 +0000</pubDate>
		<dc:creator>Mark Goddard</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[exposure]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[light trail]]></category>
		<category><![CDATA[shutter]]></category>

		<guid isPermaLink="false">http://blog.0100.tv/?p=28</guid>
		<description><![CDATA[Starting off in digital photography can be a very unrewarding and unsatisfactory time. Many beginners try photographing normal subjects without actually playing with the settings on their camera. We hope to quash any questions you may have with what your settings mean and what you can do with them as a beginner. For this article [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-30" title="Illuminated CD's!" src="http://blog.0100.tv/wp-content/uploads/2008/08/light11.jpg" alt="" width="498" height="150" /></p>
<p>Starting off in digital photography can be a very unrewarding and unsatisfactory time.</p>
<p>Many beginners try photographing normal subjects <em>without</em> actually playing with the settings on their camera. We hope to quash any questions you may have with what your settings mean and what you can do with them as a beginner.</p>
<p>For this article we will be using light trails as a starting point as you can produce beautiful looking images while at the same time working out what each setting does. Please also note that each image used in this article will also display the settings used. Every image is taken using a <strong>Canon EOS 400D</strong> (aka Rebel  XTi). Please also note this is an article for <strong>digital beginners</strong>.<span id="more-28"></span></p>
<ol>
<li><strong>Shutter Speed</strong><br />
This is simply the length of time the shutter stays open for. It is quite often the reason behind blurry or under lit photos. The faster the shutter opens and closes, the less light enters the lens and there is also a smaller chance of blurry photos. This can have a massive impact when taking photos of moving objects as the results can mean a dramatic difference.<br />
If you set a faster shutter speed (for example, photographing a <em>formula one</em> car) you will capture a sharper image with little light. This is when you need to change your ISO setting and your f-stop/aperture (see below) to let in more light to the lens.</li>
<li><strong>F Number/Aperture</strong><br />
This area of the camera quite often confuses people the most due to its name. Many different terms and phrases are used throughout each camera but usually it is denoted with an F in front of a small number (often decimal).<br />
Basically, the higher the number, the more detail your camera will capture. For instance, if your photographing a close object the background maybe blurry with a small f-number.<br />
However, by upping the f-number you lose light in the photo, so to counter-act this we need to raise the ISO-Speed and/or the shutter speed to bring more light into the photo.<br />
<a href="http://blog.0100.tv/wp-content/uploads/2008/08/aperture.jpg"><br />
<img class="size-medium wp-image-32 aligncenter" title="Aperture/F-Stop Example" src="http://blog.0100.tv/wp-content/uploads/2008/08/aperture-450x150.jpg" alt="Aperture/F-Stop Example" width="450" height="150" /></a></li>
<li><strong>ISO/ASA Setting/Film Speed</strong><br />
An ISO/ASA setting can have undesirable effects. This needs to remain a low number  in order to produce a clearer picture. Quite often you may find yourself in a low lit area with no flash and an unsteady hand. This means your shutter speed will be slow (to let in more light) your aperture will have a small number (to also let in extra light) but you will be shooting something moving or will be getting regular blurred shots. This is where <em>ISO/ASA</em> may come in handy. It simply makes the camera more sensitive to light when the photograph is taken.<br />
It can be a big help, but in digital photography it will cause your image quality to degrade significantly. You will see a lot of noise in the image due to the sensitivity. The higher the ISO/ASA, the more light you will see but then more noise you will capture as a consequence.</li>
</ol>
<p>These are the three main setting we will need when photographing our light trails. You will need a tripod (or a flat surface where your camera can sit) and some sort of moving light source, such as a motorway/highway/road or a small torch.</p>
<p>First of all we need to decide how long we want to capture the image. For this example we are using a busy motorway. We are setting our camera up for a 20 second shutter speed (which means 20 seconds worth of light and cars will be captured) and will set our ISO as low as possible (ISO-100 is good enough). We also need to ensure our Aperture is also a low number (around F-5) as we are not photographing a close subject and need more light.</p>
<p>Once we are setup we take the photo. Ideally we need to have a remote control to stop the camera moving or even setting the camera to the self timer mode (counts down 10 seconds and takes the photo itself).<br />
Once all this is done bask at the glory which is your light trail!</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-34" title="img_06851" src="http://blog.0100.tv/wp-content/uploads/2008/08/img_06851.jpg" alt="" width="500" height="333" /></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-35" title="Face Light Trail" src="http://blog.0100.tv/wp-content/uploads/2008/08/face.jpg" alt="" width="500" height="333" /></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-36" title="Funky coloured lights" src="http://blog.0100.tv/wp-content/uploads/2008/08/img_3187.jpg" alt="" width="500" height="333" /></p>
<p style="text-align: left;">Get playing and see what you can create with a bit of imagination!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.0100.tv/2008/08/playing-with-light-in-photography/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

