<?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>Freelance Web Design Kent</title>
	
	<link>http://theodin.co.uk</link>
	<description>Freelance Web Design Kent</description>
	<lastBuildDate>Wed, 08 Sep 2010 10:28:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/co/VazT" /><feedburner:info uri="co/vazt" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Fancy select options with jQuery &amp; CSS3</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/9S8-xw7DC4c/fancy-select-options-jquery-css3.html</link>
		<comments>http://theodin.co.uk/blog/jquery/fancy-select-options-jquery-css3.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 21:00:30 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[fancy dropdowns]]></category>
		<category><![CDATA[select options]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1815</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fjquery%2Ffancy-select-options-jquery-css3.html">
			</a>
<a href="http://wp.me/peWrk-th"></a>
While working on a current project I tried out a few experiments using select option alternatives for added style control. My aim was to emulate something like what <a title="theme forest dropdown links" href="http://themeforest.net/?ref=theodin"&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fjquery%2Ffancy-select-options-jquery-css3.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fjquery%2Ffancy-select-options-jquery-css3.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://wp.me/peWrk-th"><img class="aligncenter size-full wp-image-1834" title="selectable_experiment" src="http://theodin.co.uk/wp-content/uploads/2010/09/selectable_experiment.jpg" alt="selectable_experiment" width="608" height="124" /></a></p>
<p>While working on a current project I tried out a few experiments using select option alternatives for added style control. My aim was to emulate something like what <a title="theme forest dropdown links" href="http://themeforest.net/?ref=theodin" target="_blank">Themeforest</a> use on their website selector, however I wanted the design to have application to more than just anchor links.<span id="more-1815"></span></p>
<h3>Demo of Fancy select options</h3>
<p>In this <a title="demo of selectable select options" href="http://dev.theodin.co.uk/selectable/?" target="_self">demo</a> I have taken advantage of the CSS3 selectors and properties to pepper the design with extra polish.</p>
<p style="text-align: center;"><a href="http://dev.theodin.co.uk/selectable/selectable.zip"><img class="size-full wp-image-1831" title="download selectable demo" src="http://theodin.co.uk/wp-content/uploads/2010/09/download11.gif" alt="" width="296" height="57" /></a></p>
<p style="text-align: center;"><a href="http://dev.theodin.co.uk/selectable/?"><img class="size-full wp-image-1816" title="demo fancy select options" src="http://theodin.co.uk/wp-content/uploads/2010/08/demo1121.gif" alt="" width="296" height="57" /></a></p>
<h3>Code overview</h3>
<p>This technique uses jQuery to action events on an unordered list. The demo gives a couple of instances of how this works but I will focus on the click and select example. The HTML for this is simple enough:</p>
<pre>&lt;div&gt;
 &lt;h2&gt;Click With Styles&lt;/h2&gt;
 &lt;ul id="sort3"&gt;
 &lt;li&gt;&lt;a href="" alt="option 1"&gt;Option One&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="" alt="option 2"&gt;Option Two&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="" alt="option 3"&gt;Option Three&lt;/a&gt;&lt;/li&gt;
 &lt;li&gt;&lt;a href="" alt="option 4"&gt;Option Four&lt;/a&gt;&lt;/li&gt;
 &lt;/ul&gt;
 &lt;/div&gt;</pre>
<p>Note that the list items wrap around standard anchor links in the page. The funcitonality of the select dropdowns focuses on the classes attached to the links. We are using 2 classes which define the tigger and display. <strong>option</strong> and <strong>selected</strong>, every link has an <strong>option</strong> class, but only the selected option has a class of <strong>selected</strong>.</p>
<p>The styling for these options is also pretty straight forward:</p>
<pre>#sort3 {
 clear:left;
 float:left;
 margin:0;
 padding:0;
 position:relative;
 width:250px;
 }
 #sort3 li {
 list-style:none;
 position:relative;
 float:left;
 outline:none;
 width:288px;
 -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
 }
#sort3 li a.option:link, #sort3 li a.option:active, #sort3 li a.option:visited {
 background: #211919;
 border-top:1px solid #211919;
 border-bottom:1px solid #211919;
 padding: 20px;
 width:250px;
 display:none;
 outline:none;
 position:relative;
 float:left;
 }
</pre>
<p>Now for the fun part, using only the classes that we have applied to the anchors in the list element we can easily manipulate the DOM elements. The functions to do this are broken into two parts:</p>
<pre>$(function() {
 $('#sort3 li a.selected').live('click', function() {
 //check if the options are visible
 if( $('#sort3 li a.option:visible').length &gt; 1) {
 //hide the options if currently displaying
 $('#sort3 li a.option:not(.selected)').hide();
 } else {
 //show the options if hidden
 $('#sort3 li a.option:not(.selected)').show();
 }
 return false;
 });
 //check for selecting a new option
 $('#sort3 li a.option:not(.selected)').live('click', function() {
 //change over the selected class
 $('#sort3 li a').removeClass('selected');
 //apply this to the new selection
 $(this).addClass('selected');
 //slide up the selected option
 $('#sort3 li a.option:not(.selected)').hide();
 return false;
 });
 });
</pre>
<p>You can see 2 click functions, with the important differences being what the click function is acting on. This enacts both parts of the users interaction with the select options. Firstly we click on the option to display the full view, then secondly we make the selection, which hides the select options and denotes the new selection. It&#8217;s that straightforward.</p>
<h3>Considerations &amp; restraints</h3>
<p>The select options have been tested cross browser and work however to take advantage of the CSS3 goodness modern browsers will reap the benefits of dropdown shadows and transparent PNG&#8217;s some of these issues can be resolved, although they are out of scope for this experiment.</p>
<p>Please feel free to leave comments or if you have any suggestions on how the code / application could be improved please feel free to share.</p>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/9S8-xw7DC4c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/jquery/fancy-select-options-jquery-css3.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/jquery/fancy-select-options-jquery-css3.html</feedburner:origLink></item>
		<item>
		<title>Inspirational About page design roundup</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/xFjaghpWfJE/inspirational-about-page-design-roundup.html</link>
		<comments>http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html#comments</comments>
		<pubDate>Thu, 26 Aug 2010 12:37:24 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[about page]]></category>
		<category><![CDATA[roundup]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1719</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Finspirational-about-page-design-roundup.html">
			</a>
<a href="http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html"></a>
Telling a customer about yourself can often be more tricky than you would expect. Recently, while researching a redesign I put together a roundup of websites which utilize their about page to best effect&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Finspirational-about-page-design-roundup.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Finspirational-about-page-design-roundup.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html"><img class="aligncenter size-full wp-image-1761" title="about us page roundup" src="http://theodin.co.uk/wp-content/uploads/2010/08/about_us_page_roundup.jpg" alt="about us page roundup" width="608" height="124" /></a></p>
<p>Telling a customer about yourself can often be more tricky than you would expect. Recently, while researching a redesign I put together a roundup of websites which utilize their about page to best effect and the particular merits to different approaches of telling people about yourself.</p>
<p><span id="more-1719"></span></p>
<h3>Jay Hollywood &#8211; A freelance web designer.</h3>
<p style="text-align: center;"><a rel="attachment wp-att-1730" href="http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html/attachment/jay_hollywood_about_me_page"><img class="aligncenter size-full wp-image-1730" title="jay_hollywood_about_me_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/jay_hollywood_about_me_page.jpg" alt="jay hollywood about me page" width="600" height="946" /></a></p>
<p>Written in a very personable manner, this about page hits all the right notes, telling the audience a bit about Jays background, his skills, as well as little about him as a person. What really stands out within this page is the process chart which displays not only Jays abilities but the chart itself represents his level of skill and ability.</p>
<h3>Squared Eye  &#8211; web design agency</h3>
<p><a href="http://squaredeye.com/about/"><img class="aligncenter size-full wp-image-1737" title="squared_eye_about_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/squared_eye_about_page.jpg" alt="squared eye about page design" width="600" height="946" /></a></p>
<p>Broken out into the team and the companies values the about page for Squared eye is easy on the eyes. More than this the page makes good use of recently completed client work to re-iterate the abilities of the company whilst not feeling too overwhelming. The content is also broken up into statements and sections which means a gentle glance can give you a good understanding of who Squared eye are and what they are about.</p>
<h3>Meta lab &#8211; interface design agency</h3>
<p><a href="http://www.metalabdesign.com/about-us/"><img class="aligncenter size-full wp-image-1740" title="meta_lab_about_us_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/meta_lab_about_us_page.jpg" alt="meta lab about us page webpage design" width="600" height="946" /></a></p>
<p>A striking design with a clear data flow, meta lab waste no time in cutting to the chase. Their About us page instantly tells you about the companies values, the team section of this page is also a unique approach with a good use of grids which flows through the design.</p>
<h3>Squarespace &#8211; Software development house</h3>
<p><a href="http://www.squarespace.com/about/"><img class="aligncenter size-full wp-image-1743" title="squarespace_about_us_page_design" src="http://theodin.co.uk/wp-content/uploads/2010/08/squarespace_about_us_page_design.jpg" alt="squarespace about us page design" width="600" height="946" /></a></p>
<p>One of my personal favourite about page designs squarespace makes excellent use of grids in its page layout. The design looks clean and crisp. the teams bios stand out and all the information you could need to know about the company is presented in a clean a clear way.</p>
<h3>Forever Heavy &#8211; Freelance web designer</h3>
<p><a href="http://foreverheavy.com/a-brief-biography/"><img class="aligncenter size-full wp-image-1744" title="forever_heavy_biography-page" src="http://theodin.co.uk/wp-content/uploads/2010/08/forever_heavy_biography-page.jpg" alt="forever heavy biography page design" width="600" height="543" /></a></p>
<p>The about page (or brief Biography) of  Nicholas Coates really stands out as an imaginative way to talk to his audience. The minimalist design is really utilised by describing a short background accompanied by a more detailed look at his skill-sets with a great animation to show these off.</p>
<h3>Ingredients for a successful about page</h3>
<p>Depending on what you&#8217;re website is about there are several different criteria you should aim to achieve. Popular and successful design ingredients for this often include:</p>
<ul class="points">
<li><strong>Clear call to actions to a next step, for example &#8211; &#8220;Contact me&#8221; or &#8220;View the portfolio&#8221;</strong></li>
<li><strong> A picture &#8211; be this of your team or the individual this helps the user feel more connected to designer or agency.</strong></li>
<li><strong> What are your abilities / products. Don&#8217;t keep them to yourself</strong></li>
<li><strong> Give a background, no matter how brief</strong></li>
<li><strong>Try not to sound like  a robot. If you have personal interests, things that you enjoy, share them, but don&#8217;t get carried away remember to be professional.</strong></li>
</ul>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/xFjaghpWfJE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/design/inspirational-about-page-design-roundup.html</feedburner:origLink></item>
		<item>
		<title>Free PSD – Everlyn Marketing &amp; PR Site</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/ZJ5a1IdBADo/everlyn-marketing-and-pr-site-template.html</link>
		<comments>http://theodin.co.uk/blog/design/everlyn-marketing-and-pr-site-template.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 21:55:22 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[buystockdesign]]></category>
		<category><![CDATA[free PSD]]></category>
		<category><![CDATA[photoshop free]]></category>
		<category><![CDATA[PSD]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[web design PSD]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1654</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Feverlyn-marketing-and-pr-site-template.html">
			</a>
<a href="http://theodin.co.uk/blog/design/everlyn-market…-site-template.html"></a>
Everlyn is a premium website template I have been developing. Designed for businesses such as PR &#38; marketing agencies, this template takes a clean, modern approach. The design takes advantage of several CSS3 techniques&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Feverlyn-marketing-and-pr-site-template.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdesign%2Feverlyn-marketing-and-pr-site-template.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a href="http://theodin.co.uk/blog/design/everlyn-market…-site-template.html"><img class="aligncenter size-full wp-image-1695" title="everlyn website template" src="http://theodin.co.uk/wp-content/uploads/2010/08/everlyn_website_template.jpg" alt="Everlyn website template" width="608" height="124" /></a></p>
<p>Everlyn is a premium website template I have been developing. Designed for businesses such as PR &amp; marketing agencies, this template takes a clean, modern approach. The design takes advantage of several CSS3 techniques implemented into an XHTML 1.0 strict W3C valid site, it also incorporates a lot of useful jQuery plugins and techniques to enhance the the user experience, with clear call to actions and SEO considerations.</p>
<p><span id="more-1654"></span></p>
<h3>Screenshots</h3>
<p style="text-align: center;"><a href="http://www.buystockdesign.com/Everlyn--Flexible-Marketing,-PR,-Agency-Site/web-site-templates-5620.html"><img class="aligncenter size-full wp-image-1700" title="everlyn_site_template_home_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/everlyn_site_template_home_page.jpg" alt="" width="600" height="946" /></a></p>
<p style="text-align: center;"><a href="http://www.buystockdesign.com/Everlyn--Flexible-Marketing,-PR,-Agency-Site/PreviewDetail-5620.html"></a><a href="http://www.buystockdesign.com/Everlyn--Flexible-Marketing,-PR,-Agency-Site/PreviewDetail-5620.html"><img class="aligncenter size-full wp-image-1698" title="everlyn_site_template_about_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/everlyn_site_template_about_page.jpg" alt="" width="600" height="711" /></a></p>
<p style="text-align: center;"><a href="http://www.buystockdesign.com/Everlyn--Flexible-Marketing,-PR,-Agency-Site/web-site-templates-5620.html"><img class="aligncenter size-full wp-image-1701" title="everlyn_site_template_contact_page" src="http://theodin.co.uk/wp-content/uploads/2010/08/everlyn_site_template_contact_page.jpg" alt="" width="600" height="678" /></a></p>
<p style="text-align: center;">
<p>This fresh, modern website takes a clean and focused approach, implementing call to action buttons and a highly readable 2 column content structure. This template comes packed with features including:</p>
<ul class="points">
<li> 3 themes in one</li>
<li> Includes jQuery image slider</li>
<li> Full SEO</li>
<li> PSD file included</li>
<li> Complete documentation</li>
<li> Clean and clear design</li>
<li> Call to action buttons</li>
<li> Ajax contact form</li>
<li> @font-face implementation</li>
<li> CSS3 integration</li>
<li> Dynamic in-line javascript validation</li>
</ul>
<h3>Why a template?</h3>
<p>I really enjoy working with clients on various projects. The thrill of getting a brief and seeing what I can create, but as with any process there are always compromises that have to be made and features that have to be left out, however with this template I wanted a chance to try out certain new techniques and experiment with design layouts and processes, what better way to achieve this than a website template which once finished could be used for practical application.</p>
<h3>Purchase this template</h3>
<p>If you like what you see and would interested in purchasing this template it is available with a live preview over at <a title="everlyn creative site template" href="http://www.buystockdesign.com/Everlyn--Flexible-Marketing,-PR,-Agency-Site/web-site-templates-5620.html" target="_self">buyStockDesign</a>.</p>
<h3>Download the PSD</h3>
<p>Alternatively please feel free to download the PSD file that accompanies the live download. It has been constructed using the 960 grid system.</p>
<p style="text-align: center;"><a href="http://dev.theodin.co.uk/everlyn/everlyn_psd.zip"><img class="wp-image-1670" title="download" src="http://theodin.co.uk/wp-content/uploads/2010/07/download1.gif" alt="downlaod everlyn PSD" width="296" height="57" /></a></p>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/ZJ5a1IdBADo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/design/everlyn-marketing-and-pr-site-template.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/design/everlyn-marketing-and-pr-site-template.html</feedburner:origLink></item>
		<item>
		<title>Book review: HTML5 for web designers</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/MIi_HjneXoY/book-review-html5-web-designers.html</link>
		<comments>http://theodin.co.uk/blog/review/book-review-html5-web-designers.html#comments</comments>
		<pubDate>Wed, 07 Jul 2010 21:26:09 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[webdesign]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1632</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Freview%2Fbook-review-html5-web-designers.html">
			</a>
<a href="http://wp.me/peWrk-qk"></a>
I recently took purchase of the highly anticipated &#8220;<a title="book a list apart" href="http://books.alistapart.com/">HTML5 for web designers</a>&#8220;. This book is aimed (if you have not guessed already) for web designers who wish to gain&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Freview%2Fbook-review-html5-web-designers.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Freview%2Fbook-review-html5-web-designers.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><a href="http://wp.me/peWrk-qk"><img class="aligncenter size-full wp-image-1643" title="html5_for_web_designers_review_banner" src="http://theodin.co.uk/wp-content/uploads/2010/07/html5_for_web_designers_review_banner.png" alt="HTML5 for web designers review" width="608" height="124" /></a></p>
<p>I recently took purchase of the highly anticipated &#8220;<a title="book a list apart" href="http://books.alistapart.com/">HTML5 for web designers</a>&#8220;. This book is aimed (if you have not guessed already) for web designers who wish to gain a better understanding of what HTML5 is, how it&#8217;s different and what it will do to change the way websites are constructed. <span id="more-1632"></span></p>
<p><a href="http://books.alistapart.com/product/html5-for-web-designers"><img class="aligncenter size-full wp-image-1652" title="HTML5_for_web_designers_book" src="http://theodin.co.uk/wp-content/uploads/2010/07/html5fwd-in-the-wild.jpg" alt="the HTML5 for web designer book" width="420" height="318" /></a></p>
<h3><strong>The book</strong></h3>
<p>I found myself struggling to put this book down, although lightweight (only 85 pages) everything about it is beautiful. They say you should never judge a book by its cover, but I think <a title="book at a list apart" href="http://books.alistapart.com/" target="_blank">A book Apart</a> would have to be a fine exception to this rule. The typography and content structure is perfect to a T.</p>
<h3>The content</h3>
<p>The book is laid out in a very straightforward manner, a bit of background, and then straight into all the different goodies that HTML5 has to offer. I was extremely impressed by the way that the book covers its subject matter. <a title="Jeremy keith" href="http://adactio.com/">Jeremy Keith</a> has a true talent for making even the most complex of affairs, clear and understandable for all. This really sets the theme for the whole book. whether you&#8217;re a designer looking for a quick reference guide, or a sweating mess who can&#8217;t sleep at night for fear of what HTML5 &#8220;really means&#8221; for your profession, then this book is for you. Very up-beat and very personal this book will leave you resonating with the excitement and hunger for creating your next HTML5 feature rich web project.</p>
<h3>Summation</h3>
<p>I would recommend this book for any web designer who really wants to keep up to date with what HTML5 can offer. It&#8217;s size is what makes it so appealing, and something that definitely makes it a worth a place on any web professionals bookshelf.</p>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/MIi_HjneXoY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/review/book-review-html5-web-designers.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/review/book-review-html5-web-designers.html</feedburner:origLink></item>
		<item>
		<title>Share your Twitter &amp; RSS subscribers with PHP</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/KWFQ6EJrkIQ/display-twitter-rss-subscriber-stats-with-php.html</link>
		<comments>http://theodin.co.uk/blog/uncategorized/display-twitter-rss-subscriber-stats-with-php.html#comments</comments>
		<pubDate>Wed, 28 Apr 2010 21:06:44 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[followers]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webdesign]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1569</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Funcategorized%2Fdisplay-twitter-rss-subscriber-stats-with-php.html">
			</a>
Many modern web designs are taking full advantage of social media integration by sharing their user base with their audience. In this tutorial we will look at some examples of websites which are implementing this effectively,&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Funcategorized%2Fdisplay-twitter-rss-subscriber-stats-with-php.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Funcategorized%2Fdisplay-twitter-rss-subscriber-stats-with-php.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1598" title="twitter_rss_subscriber_tutorial_banner" src="http://theodin.co.uk/wp-content/uploads/2010/04/twitter_rss_subscriber_tutorial_banner.png" alt="twitter and rss subscriber tutorial banner" width="608" height="124" /></p>
<p>Many modern web designs are taking full advantage of social media integration by sharing their user base with their audience. In this tutorial we will look at some examples of websites which are implementing this effectively, as well as showing you how to create your own subscriber feed quickly and easily using PHP.<span id="more-1569"></span></p>
<p>Subscriber feeds are generally, but not always <a title="feedburner" href="http://feedburner.google.com/" target="_blank">RSS</a> and <a title="twitter social media homepage" href="http://www.twitter.com" target="_blank">Twitter</a>. There are many reasons for wanting to display your subscriber and <a title="twitter follower count" href="http://twittercounter.com/" target="_blank">follower count</a>, some of these can include:</p>
<ul class="points">
<li>Giving confidence to new users who are viewing the website for the first time.</li>
<li>Encouraging users to follow and/or subscribe themselves.</li>
<li>Giving faith to potential clients or advertisers viewing the site.</li>
</ul>
<h3>Sites that do it well</h3>
<p>There are a number of very successful websites that already share their subscriber counts to great success.</p>
<p style="text-align: center;"><a href="http://www.leemunroe.com/blog/"><img class="aligncenter size-full wp-image-1603" title="lee_munroe_subscriber_example" src="http://theodin.co.uk/wp-content/uploads/2010/04/lee_munroe_subscriber_example.png" alt="lee munroe subscriber stats example" width="608" height="374" /></a></p>
<p><a title="lee munroes blog" href="http://www.leemunroe.com/blog/" target="_blank">Lee Munroe&#8217;s blog</a> uses an understated font and icon set to give precedence to his blog, whilst maintaining a controlled and professional tone.</p>
<p style="text-align: center;"><a href="http://www.onextrapixel.com/"><img class="aligncenter size-full wp-image-1602" title="onxtrapixel_subscriber_example" src="http://theodin.co.uk/wp-content/uploads/2010/04/onxtrapixel_subscriber_example.png" alt="onxtrapixel twitter and RSS stats example" width="608" height="374" /></a></p>
<p><a title="One extra pixel blog" href="http://www.onextrapixel.com/" target="_blank">One extra pixel</a> is a great example of using imagery and colours to integrate the statistics into its website without feeling overworked.</p>
<p style="text-align: center;"><a href="http://www.smashingmagazine.com/"><img class="aligncenter size-full wp-image-1600" title="smashing_magazine_subscriber_example" src="http://theodin.co.uk/wp-content/uploads/2010/04/smashing_magazine_subscriber_example.png" alt="smashing magazine subscriber example" width="608" height="374" /></a></p>
<p><a title="smashing magazine" href="http://www.smashingmagazine.com/" target="_self">Smashing magazine</a> has pretty much been at the forefront in embracing social media and subscription stats on its site. in new and informative means.</p>
<p style="text-align: center;"><a href="http://www.webdesigndev.com/"><img class="aligncenter size-full wp-image-1604" title="web_design_dev_subscriber_example" src="http://theodin.co.uk/wp-content/uploads/2010/04/web_design_dev_subscriber_example.png" alt="web design dev subscriber stats" width="608" height="374" /></a></p>
<p><a title="web designer dev" href="http://www.webdesigndev.com/" target="_blank">web designer dev</a> combines its subscribers to display an overview of the subscriptions. another a smart way of informing users without information overload.</p>
<h3>Display your own subscriber stats</h3>
<p>You can display your own subscriber stats quickly and easily with these simple PHP functions. Firstly you will need to know your feedburner ID, if you are not sure what this is or where to find it, why not read a my <a title="PHP feedburner function tutorial" href="http://theodin.co.uk/blog/development/php-feedburner-function.html" target="_self">PHP feedburner function tutorial</a> for detailed instructions.</p>
<p>Both functions displayed below make use of API&#8217;s which enable you to quickly and easily access publicly available information.</p>
<pre>&lt;?php
/**
 * @name subscriber stats
 * @author Philip Beel
 * @description Display your feedburner and twitter stats anywhere on your page
**/
 function feedburner_stats($feed, $attribute) {
 if ( !$feed ) { echo('[No Feed]'); } //user must pass in their URI
 if ( !$attribute ) { echo('[No Attribute]'); }//user must pass in their attribute
 $xmlobj = simplexml_load_file("http://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=".$feed);
 if($xmlobj) {    //check we got back a response
 echo($xmlobj-&gt;feed-&gt;entry-&gt;attributes()-&gt;$attribute);
 } else {
 echo("0"); //else fall back on a static value
 }
 }
 function twitter_stats($id) {
 if ( !$id ) { echo('[No Feed]'); } //user must pass in their username
 $xmltwitter = simplexml_load_file("http://twitter.com/statuses/user_timeline/".$id.".xml");
 if($xmltwitter) {    //check we got back a response
 echo($xmltwitter-&gt;status-&gt;user-&gt;followers_count);
 } else {
 echo("0"); //else fall back on a static value
 }
 }
?&gt;</pre>
<p>As you can see the functions are not that dissimilar, I have broken them out into separate calls for the sake of this tutorial, but it would be simple to convert this into 1 single function call, with a set of params depending on what you wanted to pull out. I have added a simple catch to make sure something is returned, and in the eventuality that the API cannot be contacted, you can have a fallback, in this case 0, but you can change it to any static value you like.</p>
<p>When displaying the feed on your page, simply call the functions like so:</p>
<pre>&lt;ul&gt;
 &lt;li&gt;&lt;a href="http://feeds.feedburner.com/co/VazT" title="feed"&gt;&lt;?php feedburner_stats('co/VazT', 'circulation'); ?&gt;&lt;/a&gt;&lt;br /&gt; Subscribers&lt;/li&gt;
 &lt;li&gt;&lt;a href="http://twitter.com/philipbeel" title="twitter"&gt;&lt;?php twitter_stats('philipbeel'); ?&gt;&lt;/a&gt;&lt;br /&gt; Followers&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>This makes life much easier when you want to call only one value at a time, by simply making the function call where you want the stat to appear. Check out the full demo in action, or download the source code from the links below.</p>
<p style="text-align: center;"><a href="http://www.theodin.co.uk/tools/tutorials/PHP/subscriber_bundle/index.php"><img title="demo" src="http://theodin.co.uk/wp-content/uploads/2010/04/demo112.gif" alt="demo the PHP twitter and RSS feed code" width="296" height="57" /></a></p>
<p style="text-align: center;"><a href="http://www.theodin.co.uk/tools/tutorials/PHP/subscriber_bundle/subscriber_bundle.zip"><img title="download" src="http://theodin.co.uk/wp-content/uploads/2010/04/download1.gif" alt="download the subscriber stats example" width="296" height="57" /></a></p>
<p style="text-align: left;">Im always looking to improve the code, so if you have any suggestions, or spot any bugs, please let me know. Happy coding!</p>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/KWFQ6EJrkIQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/uncategorized/display-twitter-rss-subscriber-stats-with-php.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/uncategorized/display-twitter-rss-subscriber-stats-with-php.html</feedburner:origLink></item>
		<item>
		<title>Host a twitter competition with PHP &amp; MySQL</title>
		<link>http://feedproxy.google.com/~r/co/VazT/~3/BcV_OjyaZEU/host-a-twitter-competition-with-php-mysql.html</link>
		<comments>http://theodin.co.uk/blog/development/host-a-twitter-competition-with-php-mysql.html#comments</comments>
		<pubDate>Thu, 01 Apr 2010 13:23:22 +0000</pubDate>
		<dc:creator>philipbeel</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[online business]]></category>
		<guid isPermaLink="false">http://theodin.co.uk/?p=1455</guid>
		<description><![CDATA[<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdevelopment%2Fhost-a-twitter-competition-with-php-mysql.html">
			</a>
In this tutorial I&#8217;ll talk you through the process of hosting a twitter competition using PHP and MySQL in conjunction with the twitter API, as well as giving you some points to consider. This all started&#8230;]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float:right; left:575px; position:absolute; top:-50px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdevelopment%2Fhost-a-twitter-competition-with-php-mysql.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftheodin.co.uk%2Fblog%2Fdevelopment%2Fhost-a-twitter-competition-with-php-mysql.html&amp;source=philipbeel&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-full wp-image-1469" title="how to run a twitter competition with PHP and MySQL banner" src="http://theodin.co.uk/wp-content/uploads/2010/02/twitter_competition_banner1.png" alt="how to run a twitter competition with PHP and MySQL banner" width="608" height="124" /></p>
<p>In this tutorial I&#8217;ll talk you through the process of hosting a twitter competition using PHP and MySQL in conjunction with the twitter API, as well as giving you some points to consider. This all started a while back when I decided to dabble in social media marketing using twitter. The idea was simple; win a prize by following me(<a title="follow @philipbeel on twitter" href="http://twitter.com/philipbeel" target="_blank">@philipbeel) </a>and tweeting or re-tweeting <a title="theodin twitter competition now closed" href="http://theodin.co.uk/blog/competition/logitech-quickcam-twitter-competition.html" target="_blank">#theodin</a> within a set time period. This worked extremely well and I gained around 200 followers, so I thought I would share the process with you.<span id="more-1455"></span></p>
<h3>Getting started</h3>
<p>In order to run a twitter competition you will need a couple of things. Firstly, and most importantly make sure you have set up a <a title="twitter registration" href="https://twitter.com/signup" target="_blank">twitter account</a>.</p>
<p>You will also need a term or hash tag &#8216;#&#8217; that is not already in use. This can be anything you like, but remember tweets are limited to 140 characters, so the shorter the better.</p>
<h3>What are the rules</h3>
<p>In order to run a competition fairly you will need to outline your rules clearly and adhere to them. Although you can specify any rules you like, here is a general guide:</p>
<ul class="points">
<li>the competition will be run for a defined period of time.</li>
<li>entrants must follow a nominated twitter account.</li>
<li>entrants may only be counted once.</li>
</ul>
<h3>Issues for consideration</h3>
<p>A common issue with using any API is that you can never rely on it 100%. Twitter is no exception. Unfortunately at the time of writing twitter does not enable you to publicly search for tweets beyond a certain date. They have not been deleted, they are simply not available at present. This may change in future, but as we are dealing with the present a simple solution is to use a MySQL database to store your entrants in.</p>
<h3>Storing your entrants</h3>
<p>You will need a way to store our entrants. for the sake of simplicity I have layed out a basic table structure in MySQL, in which we can store an ID and the twitter username. The table should look something like this:</p>
<p><code> </code></p>
<pre>CREATE TABLE IF NOT EXISTS `twitter_comp` (
  `ID` int(115) NOT NULL auto_increment,
  `username` text NOT NULL,
  PRIMARY KEY  (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
</pre>
<p>In order to get the entrants into the database you will need to use PHP and the twitter API. The process is outlined below:</p>
<ul class="points">
<li>Use the twitter API to collect all your followers and store them in an array.</li>
<li>Search the twitter API for all the # tags which you have specified, then store the @username into another array.</li>
<li>Use the <a title="array unique php refference" href="http://php.net/manual/en/function.array-unique.php" target="_blank">array_unique()</a> function on the entrants array to ensure that no matter how many times a user tweeted your # tag, they are only stored once.</li>
<li>Then do a compare on the entrants array to keep only @usernames of your confirmed followers. Ideally create a new array from this.</li>
<li>At this point you can then store the entrants in the database.</li>
</ul>
<h3>Updating your entrants</h3>
<p>Over time, as more entrants tweet the # tag the the steps above should be repeated. Ideally this should be wrapped into a function which runs when the page is triggered, automating this with a daily CRON job will make life a lot easier.</p>
<h3>Drawing a winner</h3>
<p>Once the competition has drawn to a close, you will have a database full of legitimate entrants to the competition. Now the fun part drawing a winner, you can do this following the steps below:</p>
<ul class="points">
<li>Connect to the database and pull out all of the @usernames.</li>
<li>Store the @usernames in an array.</li>
<li>Ensure no duplication has taken place by running another array_unique on the entrants.</li>
<li>Mix it up a bit using PHPs <a title="array shuffle php function" href="http://php.net/manual/en/function.shuffle.php" target="_blank">shuffle()</a> and <a title="array_rand php function" href="http://php.net/manual/en/function.array-rand.php" target="_blank">array_rand()</a> functions.</li>
<li>Finally draw out the winner and present it on screen.</li>
</ul>
<h3>Announcing the winner</h3>
<p>Once you have closed the competition and drawn the winner you should first DM the @username privately before telling the world. This ensures that you have a real person and you can go further by exchanging contact details and arranging delivery of the prize. Then you are free to tell the world who won and publicize the event.</p>
<p>I hope this post is helpful to anyone looking to start their own competition. If this post gets a lot of interest I would be happy to share the code which I wrote when I ran my own competition. Thoughts, considerations and comments are all welcome. Good luck!</p>
<img src="http://feeds.feedburner.com/~r/co/VazT/~4/BcV_OjyaZEU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://theodin.co.uk/blog/development/host-a-twitter-competition-with-php-mysql.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://theodin.co.uk/blog/development/host-a-twitter-competition-with-php-mysql.html</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.035 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-08 12:18:13 -->
