<?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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>MB Web Design</title>
	
	<link>http://www.mbwebdesign.co.uk</link>
	<description />
	<pubDate>Fri, 03 Jul 2009 19:08:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/MbWebDesign" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Free Font Friday: Chopin Script</title>
		<link>http://www.mbwebdesign.co.uk/free-font-friday-chopin-script/</link>
		<comments>http://www.mbwebdesign.co.uk/free-font-friday-chopin-script/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 19:08:06 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[Fonts]]></category>

		<category><![CDATA[Typography]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=123</guid>
		<description><![CDATA[

Download Chopin Script
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-125" title="Chopin Script" src="http://www.mbwebdesign.co.uk/wp-content/uploads/2008/05/chopinscript.jpg" alt="Chopin Script" /><br />
<span id="more-80"></span><br />
<a href="http://www.dafont.com/diogene.d857">Download Chopin Script</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/free-font-friday-chopin-script/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Font Friday: Rothwell</title>
		<link>http://www.mbwebdesign.co.uk/free-font-friday-rothwell/</link>
		<comments>http://www.mbwebdesign.co.uk/free-font-friday-rothwell/#comments</comments>
		<pubDate>Fri, 01 May 2009 16:16:06 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[Fonts]]></category>

		<category><![CDATA[Typography]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=93</guid>
		<description><![CDATA[Ray Larabie has produced hundreds of free and commerical fonts over the last decade-and-a-bit. Here&#8217;s another offering from his collection. Ray&#8217;s fonts are offered free of charge in TrueType format via MyFonts.com, although other formats incur a small premium. (But they&#8217;re worth it.)
Download Rothwell
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-94" title="Rothwell" src="http://www.mbwebdesign.co.uk/wp-content/uploads/rothwell.jpg" alt="Rothwell" /><span id="more-76"></span>Ray Larabie has produced hundreds of free and commerical fonts over the last decade-and-a-bit. Here&#8217;s another offering from his collection. Ray&#8217;s fonts are offered free of charge in TrueType format via MyFonts.com, although other formats incur a small premium. (But they&#8217;re worth it.)</p>
<p><a href="http://www.myfonts.com/fonts/larabie/rothwell/">Download Rothwell</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/free-font-friday-rothwell/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Font Friday: Migraine Serif</title>
		<link>http://www.mbwebdesign.co.uk/free-font-friday-migraine-serif/</link>
		<comments>http://www.mbwebdesign.co.uk/free-font-friday-migraine-serif/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 19:04:42 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[Fonts]]></category>

		<category><![CDATA[Typography]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=121</guid>
		<description><![CDATA[
A few weeks ago I featured the sans serif version of this font, but I find this font so stunning I couldn&#8217;t resist a follow-up entry to promote the serif flavour.
Download Migraine Serif
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-122" title="Migraine Serif" src="http://www.mbwebdesign.co.uk/wp-content/uploads/migraineserif.jpg" alt="Migraine Serif" /><span id="more-75"></span><br />
A few weeks ago I featured the sans serif version of this font, but I find this font so stunning I couldn&#8217;t resist a follow-up entry to promote the serif flavour.</p>
<p><a href="http://www.stereo-type.net/">Download Migraine Serif</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/free-font-friday-migraine-serif/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Reducing Code Bloat for SEO</title>
		<link>http://www.mbwebdesign.co.uk/reducing-code-bloat-for-seo/</link>
		<comments>http://www.mbwebdesign.co.uk/reducing-code-bloat-for-seo/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:16:21 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=521</guid>
		<description><![CDATA[A problem with some of the &#8216;usual suspects&#8217; in e-commerce website development is the code. Not that it doesn&#8217;t work - everything is as it should be - but there&#8217;s so much code that you risk harming your SEO strategy without doing something about it. Here are some simple tactics I&#8217;ve employed for 2 Cubecart [...]]]></description>
			<content:encoded><![CDATA[<p>A problem with some of the &#8216;usual suspects&#8217; in e-commerce website development is the code. Not that it doesn&#8217;t work - everything is as it should be - but there&#8217;s so much code that you risk harming your SEO strategy without doing something about it. Here are some simple tactics I&#8217;ve employed for 2 Cubecart websites - <a title="Hair straighteners UK" href="http://www.h2d.co.uk">H2D Hair Straighteners UK</a> and <a title="Hair straighteners Australia" href="http://www.h2d.com.au">H2D Hair Straighteners Australia</a></p>
<p><span id="more-521"></span></p>
<p><strong>1. Where is the sidebar?</strong></p>
<p>In the global website template, the order of page elements was: head, sidebar, content, footer. Content and sidebar were divs floated to the left and right respectively, but in terms of a search engine spider, the sidebar&#8217;s contents (in this site&#8217;s case - the basket) preceded the main content, and therefore considered more important. One simple reversal has no effect on design to the end user but changes the complexion of a search engine&#8217;s interpretation completely.</p>
<p><strong>2. Strip unnecessary javascript</strong></p>
<p>Every little helps - if your site is referencing javascript that isn&#8217;t used, get rid of it. though the few lines of code you save have a negligible effect on SEO, you could be saving valuable seconds in load time. You can always put it back in if that lightbox or scriptaculous effect is absolutely necessary.</p>
<p><strong>3. WYSIWYG code bloat</strong></p>
<p>Cubecart&#8217;s page editor is quite guilty of embedding superfluous &lt;span&gt; tags for page styling. Particularly on front page and category pages in an e-commerce site, code bloat like this ought to be stripped.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/reducing-code-bloat-for-seo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Font Friday: Zeroes</title>
		<link>http://www.mbwebdesign.co.uk/free-font-friday-zeroes/</link>
		<comments>http://www.mbwebdesign.co.uk/free-font-friday-zeroes/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 16:29:58 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[Fonts]]></category>

		<category><![CDATA[Typography]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=105</guid>
		<description><![CDATA[Ray Larabie has produced hundreds of free and commerical fonts over the last decade-and-a-bit. Here&#8217;s another offering from his collection. Ray&#8217;s fonts are offered free of charge in TrueType format via MyFonts.com, although other formats incur a small premium. (But they&#8217;re worth it.)
Download Zeroes
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-106" title="Zeroes" src="http://www.mbwebdesign.co.uk/wp-content/uploads/2008/05/zeroes.jpg" alt="Zeroes" /><span id="more-88"></span>Ray Larabie has produced hundreds of free and commerical fonts over the last decade-and-a-bit. Here&#8217;s another offering from his collection. Ray&#8217;s fonts are offered free of charge in TrueType format via MyFonts.com, although other formats incur a small premium. (But they&#8217;re worth it.)</p>
<p><a href="http://www.myfonts.com/fonts/larabie/zeroes/">Download Zeroes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/free-font-friday-zeroes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Show Siblings or Children of a Wordpress Page</title>
		<link>http://www.mbwebdesign.co.uk/show-siblings-or-children-of-a-wordpress-page/</link>
		<comments>http://www.mbwebdesign.co.uk/show-siblings-or-children-of-a-wordpress-page/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:40:15 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=516</guid>
		<description><![CDATA[A useful code snippet I thought I&#8217;d share
&#60;div id="subpages"&#62;
&#60;h3&#62;Related Pages&#60;/h3&#62;
&#60;?php
// If CHILD_OF is not NULL, then this page has a parent
// Therefore, list siblings i.e. subpages of this page's parent
if($post-&#62;post_parent){
    wp_list_pages('title_li=&#38;include='.$post-&#62;post_parent);
    wp_list_pages('title_li=&#38;child_of='.$post-&#62;post_parent);
    }
// If CHILD_OF is zero, this is a top level page, so list subpages only.
else{
    wp_list_pages('title_li=&#38;include='.$post-&#62;ID);
    wp_list_pages('title_li=&#38;child_of='.$post-&#62;ID);
    }
?&#62;
&#60;/div&#62;
]]></description>
			<content:encoded><![CDATA[<p>A useful code snippet I thought I&#8217;d share</p>
<pre>&lt;div id="subpages"&gt;
&lt;h3&gt;Related Pages&lt;/h3&gt;
&lt;?php
// If CHILD_OF is not NULL, then this page has a parent
// Therefore, list siblings i.e. subpages of this page's parent
if($post-&gt;post_parent){
    wp_list_pages('title_li=&amp;include='.$post-&gt;post_parent);
    wp_list_pages('title_li=&amp;child_of='.$post-&gt;post_parent);
    }
// If CHILD_OF is zero, this is a top level page, so list subpages only.
else{
    wp_list_pages('title_li=&amp;include='.$post-&gt;ID);
    wp_list_pages('title_li=&amp;child_of='.$post-&gt;ID);
    }
?&gt;
&lt;/div&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/show-siblings-or-children-of-a-wordpress-page/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Free Font Friday: Hydrophilia</title>
		<link>http://www.mbwebdesign.co.uk/free-font-friday-hydrophilia/</link>
		<comments>http://www.mbwebdesign.co.uk/free-font-friday-hydrophilia/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 00:30:39 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[Fonts]]></category>

		<category><![CDATA[Typography]]></category>

		<category><![CDATA[font]]></category>

		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=64</guid>
		<description><![CDATA[
Hydrophilia is an interesting angular font from Flood Fonts.
Download Hydrophilia
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-65" title="Hydrophilia" src="http://www.mbwebdesign.co.uk/wp-content/uploads/hydrophilia.jpg" alt="Hydrophilia" /><span id="more-89"></span><br />
Hydrophilia is an interesting angular font from Flood Fonts.</p>
<p><a href="http://www.floodfonts.com/freefont/freefont.html">Download Hydrophilia</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/free-font-friday-hydrophilia/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Generating a Random Integer with PHP</title>
		<link>http://www.mbwebdesign.co.uk/generating-a-random-integer-with-php/</link>
		<comments>http://www.mbwebdesign.co.uk/generating-a-random-integer-with-php/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 14:49:25 +0000</pubDate>
		<dc:creator>Mathew Browne</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.mbwebdesign.co.uk/?p=505</guid>
		<description><![CDATA[This is a function I&#8217;ve found very useful in a number of Wordpress themes I&#8217;ve been developing, whereby I want to randomly select and display one of a set number of jpgs (called 1.jpg, 2.jpg, 3.jpg et cetera)
The magic function is rand() which returns a random integer. There are two uses
int rand  (void)
int rand [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-505"></span>This is a function I&#8217;ve found very useful in a number of Wordpress themes I&#8217;ve been developing, whereby I want to randomly select and display one of a set number of jpgs (called 1.jpg, 2.jpg, 3.jpg et cetera)</p>
<p>The magic function is rand() which returns a random integer. There are two uses</p>
<pre>int rand  (void)
int rand (int $min , int $max)</pre>
<p>If you don&#8217;t supply any variables, rand() returns a random integer between 0 and RAND_MAX. RAND_MAX is usually 32768 on Windows systems, if you need a higher value, then you need to specify a $min and $max variable to generate a larger range.</p>
<p>If you supply a range of integers to rand(), then the range of possible values between $min and $max inclusive.</p>
<h3>Examples</h3>
<pre>&lt;?php echo rand(); ?&gt;</pre>
<p>Could return integers such as 7734, 1981, 2, 0, 30929 etc.</p>
<pre>&lt;?php echo rand(1,5) ?&gt;</pre>
<p>Will return one of the following: 1,2,3,4,5.</p>
<pre>&lt;?php echo rand(15000,50000) ?&gt;</pre>
<p>Will return any integer between (and including) 15000 and 50000.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mbwebdesign.co.uk/generating-a-random-integer-with-php/feed/</wfw:commentRss>
		</item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 2.145 seconds --><!-- Cached page served by WP-Cache -->
