<?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>ajfmedia.</title>
	<atom:link href="http://ajfmedia.co.uk/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://ajfmedia.co.uk/blog</link>
	<description>Creative Web Solutions</description>
	<lastBuildDate>Mon, 15 Oct 2012 14:40:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Implied Consent Script: Cookie Law (jQuery)</title>
		<link>http://ajfmedia.co.uk/blog/general/implied-consent-jquery-script-cookie-law</link>
		<comments>http://ajfmedia.co.uk/blog/general/implied-consent-jquery-script-cookie-law#comments</comments>
		<pubDate>Wed, 20 Jun 2012 16:55:36 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=548</guid>
		<description><![CDATA[On May 26th 2011 a new cookie law was introduced targeting websites in the EU, it enforced the rule that users were to have the ability to opt out of non-essential cookies being used during their visit to the site. The UK had a years grace period which allowed webmasters to get their website up [...]]]></description>
				<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-585" title="implied consent script for cookie law" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/06/implied-consent-cookie-law-300x183.jpg" alt="implied consent pop up" width="300" height="183" />On May 26th 2011 a new cookie law was introduced targeting websites in the EU, it enforced the rule that users were to have the ability to opt out of non-essential cookies being used during their visit to the site. The UK had a years grace period which allowed webmasters to get their website up to a standard in which it complies. Shortly after May 26th 2012, the law adjusted slightly; the responsibility was shifted from the webmaster to the user with &#8220;implied consent&#8221;. Basically it was the user that was now responsible for blocking cookies as long as the website informs the user what type of cookies are being used and why. In short, by using a website without adjusting the browsers cookie settings, a user is agreeing to the usage of cookies.</p>
<p>I have built this super simple and compact &#8220;implied consent&#8221; script that creates an alert box that notifies a visitor  that cookies are in use on your site and by continuing to use the site they are agreeing to this.</p>
<div class="hr"></div>
<h2>How it works</h2>
<p>When the user arrives at your site, the cookie notification appears, if they select &#8220;OK&#8221; then the box closes and as they navigate through the site the cookie box will remain hidden. This preference is saved by a cookie (oh the irony), the cookie is set to expire in 10 days (this can be customised).</p>
<div class="hr"></div>
<h2>Demo</h2>
<p><a title="Working Demo" href="http://bit.ly/N50OdG" target="_blank">Click here</a> to see a working demo of the script.<br />
Note* You will need to clear your cookies in order to see the box appear again</p>
<div class="hr"></div>
<h2>Adding the script</h2>
<h3>1. Add jQuery</h3>
<p>If you do not already have jQuery then you can download the latest version <a title="Download jQuery" href="http://docs.jquery.com/Downloading_jQuery">here.</a><br />
You need to add include jQuery in the head of your website like so:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.7.2.min.js&quot;&gt;&lt;/script&gt;</pre>
<h3>2. Add the cookie Script</h3>
<p>You then need to place this script in your head of your site like so:</p>
<pre class="brush: xml; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;js/cookieAlert.js&quot;&gt;&lt;/script&gt;</pre>
<p><a title="Download cookieAlert.js" href="http://bit.ly/LeDLSF" target="_blank">Download cookieAlert.js</a></p>
<h3>3. Place the box in your HTML</h3>
<p>Finally, in Your body HTML:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;cookieWarningBox&quot;&gt;&lt;/div&gt;
</pre>
<div class="hr"></div>
<h2>Customisation</h2>
<pre class="brush: jscript; title: ; notranslate">
//in this line you enter the URL of your cookie privacy policy
var privacyUrl = &quot;&lt;strong&gt;http://www.google.com/privacy.html&lt;/strong&gt;&quot;;

//in this line you enter text for the close button
var closeText = &quot;&lt;strong&gt;[ok]&lt;/strong&gt;&quot;;

//in this line you can adjust the cookie expire period (currently 10 days)
createCookie(&quot;cookieStatus&quot;, 1, &lt;strong&gt;10&lt;/strong&gt;)

//these lines you can customise the styling of the alert box
    var cookieBoxStyle = {
            position: &quot;absolute&quot;,
            right: &quot;10px&quot;,
            bottom: &quot;10px&quot;,
            width: &quot;200&quot;,
            &quot;-webkit-border-radius&quot;: &quot;10px&quot;,
            &quot;-moz-border-radius&quot;: &quot;10px&quot;,
            &quot;border-radius&quot;: &quot;10px&quot;,
            border: &quot;1px solid #ccc&quot;,
            padding: &quot;10px&quot;,
            &quot;font-family&quot;: &quot;Arial&quot;,
            &quot;font-size&quot;: &quot;12px&quot;,
            &quot;background-color&quot;: &quot;#efefef&quot;,
            display: &quot;none&quot;
        };
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/general/implied-consent-jquery-script-cookie-law/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>PHP Dynamic navigation with active class</title>
		<link>http://ajfmedia.co.uk/blog/php/dynamic-navigation-with-active-class</link>
		<comments>http://ajfmedia.co.uk/blog/php/dynamic-navigation-with-active-class#comments</comments>
		<pubDate>Mon, 14 May 2012 12:58:38 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.ajfmedia.co.uk/?p=147</guid>
		<description><![CDATA[So you have moved away from adding the same navigation HTML on each of your static pages and realised you were able to place all the navigation code in one single include file and include that in each of your pages. e.g. If you haven&#8217;t already I would recommend this, because when it comes to [...]]]></description>
				<content:encoded><![CDATA[<p>So you have moved away from adding the same navigation HTML on each of your static pages and realised you were able to place all the navigation code in one single include file and include that in each of your pages. e.g.</p>
<pre class="brush: php; title: ; notranslate">
&lt;!--?php include &quot;includes/navigation.php&quot; ?--&gt;
</pre>
<p>If you haven&#8217;t already I would recommend this, because when it comes to altering navigation links, title tags, anchor text, it is a lot quicker to modify the one file, especially if your website is getting bigger and bigger. It makes your working HTML/PHP code a lot tidier and easier to work with.</p>
<p>But you have hit a problem, you wish to highlight to the user which page they are on when they select a link, it used to work when the navigation was static, because you placed an &#8220;active&#8221; class on the current link in each file, but now your navigation is one file, how can it be done?</p>
<p>It&#8217;s simple and can be done in a variety of ways.</p>
<p><strong>Method 1:</strong></p>
<p>First you will need to create a PHP variable that gets the current page: lets create one called &#8220;page&#8221;&#8230; e.g.</p>
<pre class="brush: php; title: ; notranslate">$page = $_SERVER['SCRIPT_NAME'];</pre>
<p>This can be placed above your navigation code in the same file so it is re-declared each time the page loads.</p>
<p>Then we create our dynamic navigation.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $page = $_SERVER['SCRIPT_NAME']; ?&gt;

&lt;ul class=&quot;nav&quot;&gt;
  &lt;li &lt;?php if ($page == &quot;/index.php&quot;){ echo &quot;class='active'&quot;;} ?&gt; &gt;&lt;a href=&quot;/&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li &lt;?php if ($page == &quot;/about.php&quot;){ echo &quot;class='active'&quot;;} ?&gt; &gt;&lt;a href=&quot;/&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
  &lt;li &lt;?php if ($page == &quot;/contact.php&quot;){ echo &quot;class='active'&quot;;} ?&gt; &gt;&lt;a href=&quot;/&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>In the above you can see that in each listed item the PHP checks if the current page is equal to a certain page, and if so then it echo&#8217;s out a class name which will add a visual indication to user that they are on a page.</p>
<p>You will need to add something like this to your CSS.</p>
<pre class="brush: css; title: ; notranslate">
ul.nav li.active {
font-weight:bold;
text-decoration:underline;
}
</pre>
<p>Then if someone selects the &#8220;about&#8221; page, for example it will style your navigation to appear like this:</p>
<p>Home <strong><span style="text-decoration: underline;">About</span></strong> Contact</p>
<div class="hr"></div>
<p><strong>Method 2: </strong></p>
<p>An alternative method would be to check if the URL contains a certain string of characters. This works particularity well with directories/folders, for example if you are linking to a WordPress blog from your dynamic navigation, you can do something like below:</p>
<pre class="brush: php; title: ; notranslate">
&lt;ul&gt;
&lt;li &lt;?php if (stripos($_SERVER['REQUEST_URI'],'/blog/') !== false) {echo 'class=&quot;active&quot;';} ?&gt;&gt;
&lt;a href=&quot;/blog/&quot;&gt;Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<p>The PHP &#8220;stripos&#8221; function finds the position of the first occurrence of substring in a certain string, in this case the string is the URL which was used in order to access a page, &#8220;/blog/&#8230; something&#8230;&#8221;.</p>
<p>So if the substring of &#8220;/blog/&#8221; within the current URL does not equal false then echo the class &#8220;active&#8221;, once again an &#8220;active&#8221; class style will need to be added to your CSS.</p>
<div class="hr"></div>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/php/dynamic-navigation-with-active-class/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SEO: The different types of links</title>
		<link>http://ajfmedia.co.uk/blog/seo/the-different-types-of-links</link>
		<comments>http://ajfmedia.co.uk/blog/seo/the-different-types-of-links#comments</comments>
		<pubDate>Wed, 11 Apr 2012 16:24:25 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Ranking The Web]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=466</guid>
		<description><![CDATA[When you hear &#8220;Link building&#8220;, most people automatically think of one website linking to another. Essentially they would be correct, but depending on how the website is linked to the other website defines what type of link it is. Here is a short description of the various types of links you can gain during your [...]]]></description>
				<content:encoded><![CDATA[<p>When you hear &#8220;<em>Link building</em>&#8220;, most people automatically think of one website linking to another. Essentially they would be correct, but depending on how the website is linked to the other website defines what type of link it is. Here is a short description of the various types of links you can gain during your link building campaign.</p>
<div class="hr"></div>
<p><a title="Lichfield web design" href="http://ajfmedia.co.uk/"><img class="alignleft size-full wp-image-484" title="ajfmedia web design" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/context-link.jpg" alt="web design lichfield" width="150" height="150" /></a></p>
<h2>Contextual Links</h2>
<p>A contextual link is a click-able piece of text that is placed within content in order to look as natural as possible, the content should be highly relevant to your chosen topic. The text included in the link is generally made up of a keyword phrase in which you are targeting to rank well for in search engines.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/social.jpg"><img class="alignright size-full wp-image-490" title="social bookmarking" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/social.jpg" alt="social bookmarking" width="150" height="150" /></a></p>
<h2>Social Bookmarks</h2>
<p>Social bookmarks are links from ‘sharing’ sites, similar to Stumbleupon, inbound and Delicious. Bookmark links are stored as a resource, organised and managed online, they are easy to search and share to other internet users. Social bookmarking must not be confused with Social News links, these are links from places like Reddit and Digg and focus on the social bookmarking of news related items such as technology.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/web-directory.jpg"><img class="alignleft size-full wp-image-495" title="web directory links" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/web-directory.jpg" alt="web directory links" width="150" height="150" /></a></p>
<h2>Web Directory Links</h2>
<p>Web directory links are links that are placed and categorised in an online directory.  The fundamental purpose of a web directory is to link to other websites that are useful and relevant to visitors, however over the past few years this resource service has been abused in the SEO industry by building up unnecessary and unrelated  links, stuffing keywords in directories in order to improve rankings.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/authority-links.jpg"><img class="alignright size-full wp-image-509" title="authority links" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/authority-links.jpg" alt="authority links" width="150" height="150" /></a></p>
<h2>Authority links</h2>
<p>An authority link is a back link from a site that is already trusted by a search engine. This means that the majority of people visiting the site trust the information on that site. Examples of authority websites include Wikipedia or a government site. <strong>.gov</strong> and <strong>.edu</strong> sites are often considered as &#8216;authority&#8217; websites.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/reciprocal-links1.jpg"><img class="alignleft size-full wp-image-503" title="reciprocal links" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/reciprocal-links1.jpg" alt="reciprocal links" width="150" height="150" /></a></p>
<h2>Reciprocal links</h2>
<p>A reciprocal link is a link agreement between two websites and their webmasters. This is done to provide visitors with quick access to related websites or to show a relationship or partnership between two sites. Nowadays reciprocal linking (for SEO) is seen to be ineffective, but done in the correct way and by linking to the right sites, you can gain authority and traffic.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/blog-comment.jpg"><img class="wp-image-515 alignright" title="blog comment" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/blog-comment.jpg" alt="blog comment" width="150" height="150" /></a></p>
<h2>Comment and Profile Links</h2>
<p>Comments links are text links placed within a comment submitted on a blog article. It is an effective method of link building if you comment with a useful and readable response and provide a link to a website that is relevant. Again this method can be abused by spammers, randomly spamming comment boxes with irrelevant gobbledygook. It is most effective if you comment on blogs that are maintained on regular basis. Profile links work in the sense that you place a link on a  profile page of a forum or social media site that is indexable.</p>
<div class="hr"></div>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/press-release.jpg"><img class="alignleft size-full wp-image-525" title="press release" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/press-release.jpg" alt="press release" width="150" height="150" /></a></p>
<h2>Press release links</h2>
<p>A press release link is a text link building technique that involves placing a link within a news/informative based article. These publications are dependent on distributing content virally on highly exposed websites, blogs and search engines in a short period of time. Generally the article will stick around but get buried deep in an archive, the content will become less fresh and useful but the link will still exist and will remain available for long tail search queries.</p>
<div class="hr"></div>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/seo/the-different-types-of-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to give yourself a tan and whiten teeth in PhotoShop</title>
		<link>http://ajfmedia.co.uk/blog/photoshop/how-to-whiten-teeth-and-tan-in-photoshop</link>
		<comments>http://ajfmedia.co.uk/blog/photoshop/how-to-whiten-teeth-and-tan-in-photoshop#comments</comments>
		<pubDate>Sat, 07 Apr 2012 09:11:12 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=418</guid>
		<description><![CDATA[Today I am going to show you how to whiten teeth and give the appearance of a sun tan in PhotoShop, I will also show you how to remove any blemishes, spots and freckles. Whitening Teeth You can clearly see there is some yellowing of the teeth on the original image to the left. To achieve [...]]]></description>
				<content:encoded><![CDATA[<p>Today I am going to show you how to whiten teeth and give the appearance of a sun tan in PhotoShop, I will also show you how to remove any blemishes, spots and freckles.</p>
<p><img class="alignleft size-medium wp-image-420" title="Original Image" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/1-294x300.jpg" alt="Original Image" width="294" height="300" /></p>
<h2>Whitening Teeth</h2>
<p>You can clearly see there is some yellowing of the teeth on the original image to the left.</p>
<p>To achieve a brighter look&#8230;<img class="size-full wp-image-427 alignright" title="Duplicate Layer" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/dup_layer.jpg" alt="Duplicate Layer" width="218" height="65" /></p>
<p><strong>1.</strong> Firstly duplicate your layer so we don&#8217;t work on the original , you can do this by dragging the layer down to the<strong> Create a </strong><strong>new layer</strong> button or by right clicking the layer and selecting <strong>Duplicate Layer</strong>.</p>
<p><strong>2. </strong> Zoom in on your new layer around the mouth by pressing <strong>Ctrl +</strong> or using the Zoom Tool (Shortcut: <strong>Z</strong> on keyboard). If you have zoomed in to much, press <strong>Ctrl &#8211; </strong>to zoom out slightly.</p>
<p><strong>3.</strong> Then we need to select the <strong>PolyGonal lasso tool, </strong>by pressing this button<img title="Polygonal lasso tool" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/polygonal-lasso-tool.jpg" alt="Polygonal lasso tool" width="30" height="25" /> in the tools panel  (you can select this tool by pressing <strong>L</strong> on your keyboard).</p>
<p><img class="size-full wp-image-425 alignright" title="Photoshop PolyGonal Lasso Tool" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/2.jpg" alt="Photoshop PolyGonal Lasso Tool" width="294" height="200" /></p>
<p><strong>4.</strong> Once the <strong>PolyGonal lasso tool</strong> is selected, begin clicking your mouse and selecting the around the area around the mouth you wish to whiten. This does not have to be precision job.</p>
<p><strong>5.</strong> Once the area is selected, select the<strong> Create new f</strong><strong>ill or adjustment layer</strong> towards the bottom of the layers panel. A pop up will appear, then select <strong>Hue/Saturation</strong>.</p>
<div class="clear"></div>
<p><img class="size-medium wp-image-437 alignright" title="Whiten Teeth" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/whiten_teeth-294x300.jpg" alt="Whiten Teeth" width="294" height="300" /></p>
<p><img class=" wp-image-430 alignleft" title="hue/saturation" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/hue-saturation.jpg" alt="hue/saturation" width="295" height="200" /></p>
<p><strong>6.</strong> Select <strong>Yellows</strong> from the &#8220;Edit&#8221; drop down list, or alternatively select <strong>Ctrl+2</strong>. Now adjust the saturation level down until the yellow taint has reduced to your requirement.</p>
<p><strong>7.</strong> Next increase the <strong>Lightness</strong> slider to brighten up the smile.<strong></strong> <em>Voila!</em></p>
<div class="hr"></div>
<h2>Creating a tanned effect</h2>
<p>Now I will show you have to give your skin a darker &#8220;sun kissed&#8221; tone.<a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/hardness_brush_size.jpg"><img class="size-full wp-image-441 alignright" title="hardness brush size" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/hardness_brush_size.jpg" alt="hardness brush size" width="294" height="300" /></a></p>
<p><strong>1.</strong> Again before we begin, duplicate your layer, so we are not working on the original image. If you are continuing this tutorial after completing the above teeth whiting instructions then merge your duplicate layer and the fill/adjustment layer together by selecting them both and right clicking, then selecting <strong>Merge Layers</strong>. Then duplicate this layer by pressing<strong> Ctrl</strong> and<strong> J </strong>on your keyboard. Now you should have your original image (with  the yellow teeth), another layer with whiter teeth and a duplicate layer which we are about to work with.</p>
<p><strong>2.</strong> Select the <strong>Paint Brush tool</strong> <a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/paint_brush_tool.jpg"><img class="alignnone size-full wp-image-440" title="Paint brush tool" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/paint_brush_tool.jpg" alt="Paint brush tool" width="27" height="23" /></a> (Keyboard shortcut: <strong>B</strong>) and adjust the<strong> master diameter</strong> to a comfortable level to brush over the face also adjust the brush hardness to about 80%. See image to the right.</p>
<p><strong>3.</strong> Next hit <strong>Q</strong> on your keyboard to go into <strong>quick mask mode</strong>. The layer will should now have a grey active background to it.</p>
<p><strong><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/forground_background.jpg"><img class="alignleft size-medium wp-image-444" title="forground background mask" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/forground_background-300x71.jpg" alt="forground background mask" width="300" height="71" /></a>4.</strong> Begin painting over the face (this areas you wish to tan),  this excludes eyes/teeth/hair.  See image to the  left. Toggle the Background/forground colour box to remove unwanted brushed areas.</p>
<p><img class="alignright  wp-image-446" title="brushed face" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/brushed_face1.jpg" alt="brushed face" width="141" height="139" /></p>
<p><strong>5.</strong> When you have finished you should have something that looks like this. (See image to right)</p>
<p><strong>6.</strong> Next hit <strong>Q</strong> on your keyboard and you should see a dashed  outline around the face which shows a selection. You will notice currently it is selecting all out the area outside the face. We only want to tan the face so we need to inverse the selection. To do this locate <strong>Select</strong> from the top menu then select <strong>Inverse</strong>. You will now see the outline is now highlighting the selection of the face only.</p>
<p><strong>7.</strong> Next go to <strong>Image</strong> which can be located from the top menu, then select <strong>Adjustments</strong> then <strong>Curves</strong>.</p>
<p><img class="wp-image-448 alignleft" title="photoshop curves" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/curves.jpg" alt="photoshop curves" width="448" height="241" /> <strong>8. </strong>Drag the curve slightly diagonally down and right to increase the tanned appearance. Once you are happy with your tan level. Select Ok.</p>
<p><strong>9.</strong> If you find that you appear to be more orange more than tanned; change the mode of the layer to <strong>Luminosity</strong> , which can be selected  from the drop down list located on the layers panel, next to the <strong>opacity</strong> dropdown. Congratulations you are now tanned!</p>
<div class="hr"></div>
<h2>Removing Spots and Freckles</h2>
<p><strong>1.</strong> To remove freckles, spots and other marks on your skin you simply need to use the <strong>Spot heeling brush tool </strong><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/spot_heeling.jpg"><img class="alignnone size-full wp-image-453" title="spot heeling brush tool" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/spot_heeling.jpg" alt="spot heeling brush tool" width="26" height="23" /></a> (Keyboard shortcut: <strong>J</strong>).</p>
<p><img class="wp-image-454 alignleft" title="spot heeling" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/spot_heeling_2.jpg" alt="spot heeling" width="294" height="200" /><strong>2.</strong> Ensure the brush diameter is a comfortable size, this can be adjusted by click on the<strong> Brush picker button</strong>, towards the top left of your screen.</p>
<p><strong>3.</strong> Begin selecting areas of the face you wish to remove. The heeling brush will recreate that area of skin with what it thinks should there, by using patches of skin near to that area.</p>
<div class="clear"></div>
<p>So now lets take a look at what we have achieved today.</p>
<h3>Original Image</h3>
<p><img class="alignleft size-medium wp-image-420" title="Original Image" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/1-294x300.jpg" alt="Original Image" width="294" height="300" /><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/tanned_face1.jpg"><img class="alignright  wp-image-458" title="tanned face" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/04/tanned_face1-294x300.jpg" alt="tanned face" width="294" height="300" /></a></p>
<div class="clear"></div>
<h3 style="text-align: right;">PhotoShopped Image</h3>
<div class="clear"></div>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/photoshop/how-to-whiten-teeth-and-tan-in-photoshop/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Random Annoyances from the Designer and the Developer</title>
		<link>http://ajfmedia.co.uk/blog/general/random-annoyances-from-the-designer-and-the-developer</link>
		<comments>http://ajfmedia.co.uk/blog/general/random-annoyances-from-the-designer-and-the-developer#comments</comments>
		<pubDate>Tue, 27 Mar 2012 12:58:01 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ajfmedia.co.uk/?p=242</guid>
		<description><![CDATA[I admit I am a bit of a jack of all trades, dabbling in both design and development and I enjoy both to an equal degree. However over time certain things have began to bother me about certain elements of both jobs. Sitting on both sides of the fence I can understand why there is [...]]]></description>
				<content:encoded><![CDATA[<p>I admit I am a bit of a jack of all trades, dabbling in both design and development and I enjoy both to an equal degree. However over time certain things have began to bother me about certain elements of both jobs. Sitting on both sides of the fence I can understand why there is sometimes a massive conflict in the mindset of both parties. Developers generally focus on efficiency, functionality and practicality taking into consideration standards, accessibility and taking pride in a robust and compact framework. Designers on the other hand, unless driven by guidelines, generally care about how sexy the site looks and also how unique the interface is, almost in a pretentious manor.</p>
<p>I have drawn together a personal list of some random grievances when I take a look at websites from both web design and web development aspects.</p>
<div class="hr"></div>
<h2>The Developer will cry when&#8230;</h2>
<p><strong><img class=" wp-image-319 alignleft" title="Adobe Flash" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/Adobe_Flash_cs3.png" alt="Adobe Flash" width="128" height="128" />1. they see Flash&#8230; </strong>As you are aware there was a time when there were some things on the web that could only be done effectively with Flash, after all it is an extremely powerful tool. Initially flash filled various gaps in the market, for example before flash, all you could do was a produce a GIF animation to spruce up your site. Before Flash, HTML was very difficult to be creative with, Until CSS and jQuery of course. Flash has a massive disregard for user interaction and web conventions, due to its route through out life as a animation tool, then a design tool, then an interactive environment, than a platform. Flash is now out-dated, inaccessible and poor for SEO.</p>
<div class="hr"></div>
<p><strong>2. they see in-line JavaScript and CSS&#8230;</strong> When you start out building sites, you most probably did this without even thinking. Placing CSS styles in your HTML document, in the head with the &lt;style&gt; tag, or whacking in some simple JavaScript with the &lt;script&gt; tag. Lets face it, you saw code as code; &#8220;if its works, it works&#8221;. However you should really externalize your CSS and JavaScript. Using external CSS/JavaScript speeds up your site, this is because JavaScript and CSS get cached during web browsing, if there is in-line CSS/JavaScript in the HTML document, it gets re- downloaded every time the HTML document is requested, increasing the size of the file. Having your CSS/JavaScript included externally, the files are cached by the browser reducing the size of the HTML document without increasing the number of HTTP requests and if anyone were to view your sites source code&#8230; it will look 100% tidier.<strong></strong></p>
<div class="hr"></div>
<p style="text-align: left;"><strong><img class=" wp-image-321 alignright" title="Browser Inconsistencies" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/images.jpg" alt="Browser Inconsistencies" width="177" height="131" /></strong><strong>3. they see browser inconsistencies&#8230; </strong>Browsers have evolved in-line with the evolution of the web, for improved security <strong></strong><strong></strong>and speed, the rendering of websites written with new code versions and technologies and in general to improve the user experience. But the one downfall to these browser upgrades is that people don&#8217;t always do them. It&#8217;s hard to believe but many <strong></strong>governments and local councils are still using IE6, a browser released in 2001. They have their reasons<strong> </strong>but at the end of the day its down to the developer to support these old timers as well as people using different brands of browser, e.g. Mozilla, Safari, Opera etc. Ensuring your site works in all browsers of all ages (that are still used in wide numbers), shows the care, knowledge and attention of the developer. (*Stops writing to check this site in IE6 + 7).<strong><br />
</strong></p>
<div class="hr"></div>
<p><strong><img class="alignleft size-thumbnail wp-image-401" title="Invalid Mark Up" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/Figure20-150x150.jpg" alt="Invalid Mark Up" width="150" height="150" />4. they see INVALID MARK UP&#8230; </strong>This one is a killer for me, I can understand people wanting to learn how to code, but what’s the point in taking the time to build a site and not going that extra mile to ensure it validates, or <strong></strong>even learn how to write valid code in the first place. Although some browsers are forgiving with poorly written code, all-in-all, writing valid code helps users view the site as you intended in the first place, across all browsers. It also gives your website a positive start with ranking in the SERPS, as search engine spiders can crawl your site properly. It also allows your site to load faster, every second you save on load time could be the difference in a visitor wanting to stick around and view your site or not. Validation is more important then you think.</p>
<div class="hr"></div>
<p><img class="alignright size-thumbnail wp-image-408" title="Drag &amp; Drop" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/PeteCampbell2-150x150.jpg" alt="Drag &amp; Drop" width="150" height="150" /><strong>5</strong><strong></strong><strong>. they see people building sites with Drag and drop and the boasting they can code&#8230;</strong></p>
<p><strong>Steve:</strong> &#8220;Hey man, I built a website&#8221;<br />
<strong>Andy:</strong> &#8220;Wicked man, how did you find the HTML? easy?&#8221;<br />
<strong>Steve:</strong> &#8220;What&#8217;s HTML?&#8221;</p>
<p>This is one of my pet hates, I am all for people wanting to build a site, but I believe in learning to code and taking the time to build a custom site from scratch, it irritates me to think that people believe that installing WordPress and using the WYSIWYG editor to add some content or to open Dreamweaver and select <strong>NEW &gt; Blank Template &gt;2 column liquid, left sidebar</strong> and boom your website layout is done and dusted, not knowing that the hard work has already been done. I&#8217;m scared to think that in the next 10 years, everyone in the world will be a &#8220;web developer&#8221;.</p>
<div class="hr"></div>
<h2>The Designer will cry when&#8230;</h2>
<p><strong>1. the i</strong><strong><strong>mage quality has gone to pot</strong></strong><strong>&#8230;</strong> When you have spent an hour creating a beautiful graphic only to see that it has been uploaded to the site without the lossless compression an image, instead the image is now saved as a colourless, blurry, pixelated GIF. You can save images for web in PhotoShop and get the file size, by reducing resolution, merging layers, changing file format and quality level, all without the image looking any different then how you intended.</p>
<div class="hr"></div>
<p><strong><a href="http://www.oberholtzer-creative.com/visualculture/2010/04/7-reasons-not-to-use-comic-sans/"><img class="alignleft size-thumbnail wp-image-409" title="comic sans" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/comic_sans-150x150.jpg" alt="comic sans" width="150" height="150" /></a>2. </strong><strong><strong>They see Comic Sans&#8230;</strong></strong> Designers HATE comic sans, (would like to think all of them do). Its ugly, outdated, cheap and amateurish. It seems to be the default font for any non-designer to use when mocking up a car boot sale sign or a fund raising poster. The main reason designers hate Comic Sans, is its heavily overused by students and kids, so to use the font as an element in professional design, is almost forbidden.</p>
<div class="hr"></div>
<p><strong>3. When they hear “</strong><strong><strong>SEO”&#8230; </strong></strong>because SEO is a vital component of any website, on site SEO has to be considered during the design stage, not after<strong>. </strong>Designers can become agitated when trying to design something kick ass for the web, as sometimes their creativity needs to be reigned in to allow for <a title="SEO Checklist" href="http://ajfmedia.co.uk/blog/seo/ultimate-seo-checklist-tons-of-tricks-and-tips">SEO</a> to be incorporated. It can restrict them designing for a fancy JavaScript user interface for example, that does not allow content to be crawled by spiders. The same issue was particularly the case when Google did not index and crawl flash content. Some designers feel their hands are tied because they have to consider the SEO and usability standards.</p>
<div class="hr"></div>
<p><strong>4. There is no alignment&#8230;</strong> a designer will pick up the alignment of elements on a web page and it&#8217;s understandable as alignment is a key factor in an aesthetically pleasing design. There is nothing more frustrating then items being aligned differently when they should be apart of the same organizable group.</p>
<div class="hr"></div>
<p><strong><img class="alignleft size-thumbnail wp-image-410" title="Designer V developer" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/head-to-head-characters-150x150.jpg" alt="Designer V developer" width="150" height="150" />5. They have to work with a developer&#8230;</strong> For a designer the skies the limit, nothing is impossible, for the developer the answer is &#8220;no&#8221;. To a designer, developers can be seen as negative, their reluctance to doing things sometimes is seen as unnecessary by the designer. It&#8217;s not that they don&#8217;t care, a lot of the time, it is down to not having time and priorities and the fact that developers think about the site as a whole and the possible knock on effect of adding something extra on a whim as requested by the designer. Designers hate developers because they think developers don&#8217;t care about what the site looks like, this may be true but lets face it do designers care about how quick a page loads or if a function has been written to do a certain something and not been bodged for a one off scenario, it is important to remember developers do care, just in a different way.</p>
<p>On the other side of the fence, I think the main reason developers hate designers is that developers are analytical in there thinking which can save them doing a lot of extra work unnecessarily , designers tend to &#8220;see what it looks like&#8221; which can then result in the designer not being able to make their minds up on a change, which leaves the developer frustrated, adding, removing and altering code for no reason at all (in their minds).</p>
<div class="hr"></div>
<h2>SEO&#8217;s</h2>
<p>&#8220;Stop moaning, there&#8217;s links to be had&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/general/random-annoyances-from-the-designer-and-the-developer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ultimate SEO Checklist- Tons of tricks and tips</title>
		<link>http://ajfmedia.co.uk/blog/seo/ultimate-seo-checklist-tons-of-tricks-and-tips</link>
		<comments>http://ajfmedia.co.uk/blog/seo/ultimate-seo-checklist-tons-of-tricks-and-tips#comments</comments>
		<pubDate>Mon, 26 Mar 2012 14:56:28 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Ranking The Web]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=328</guid>
		<description><![CDATA[Here is an extensive list of Search engine optimization tips, some are for beginners, some are for advanced SEO&#8217;s. Comments welcome. On Site For most search engines, the maximum length of a title tag to be displayed is between 60-70 characters The maximum length of a meta description to be displayed is 160 characters Create [...]]]></description>
				<content:encoded><![CDATA[<p>Here is an extensive list of <a title="Search Engine Optimization" href="http://ajfmedia.co.uk/search-engine-optimization" target="_blank">Search engine optimization</a> tips, some are for beginners, some are for advanced SEO&#8217;s. Comments welcome.</p>
<h2>On Site<img class=" wp-image-344 alignright" title="Seo Tips" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/meta_tags-150x150.jpg" alt="Seo Tips" width="150" height="150" /></h2>
<ul class="blue_bullet">
<li>For most search engines, the maximum length of a title tag to be displayed is between 60-70 characters</li>
<li>The maximum length of a meta description to be displayed is 160 characters</li>
<li>Create unique meta descriptions and page titles for every single page</li>
<li>Give your images a keyword rich <strong>ALT</strong> attribute &lt;img src=&#8221;image.png&#8221; alt=&#8221;SEO Tips &amp; Tricks&#8221; /&gt;</li>
<li>Give your important hyperlinks a title attribute as it &#8220;helps&#8221; Google determine how relevant that link might be</li>
<li><a title="Create XML Sitemap" href="http://www.xml-sitemaps.com/" target="_blank">Create an XML sitemap</a> and submit it to <a title="Google Webmasters" href="http://www.google.com/webmasters/" target="_blank">Google Webmaster tools</a></li>
<li>Create a HTML sitemap and link to it from your homepage to help and get new content crawled</li>
<li>Include effective keywords in your image name eg. &#8220;seo-tips-and-tricks.png&#8221;</li>
<li>Redirect old pages URLS to new page URLS using a 301 redirect</li>
<li>Use SEO friendly URLS eg.http://ajfmedia.co.uk/blog/seo/ultimate-seo-checklist-tons-of-tricks-and-tips</li>
<li>Use dashes instead of underscores in URLS</li>
<li>Use &lt;strong&gt; and &lt;em&gt; to help make your keyword phrases stand out to crawlers</li>
<li>If you sell items that have a year of trend or release, then include the date in the products title. People search for dates eg. fashion trends</li>
<li>Link all major images to relevant pages, because people click images</li>
</ul>
<div class="hr"></div>
<h2>Keywords<img class="alignright size-thumbnail wp-image-394" title="SEO Keywords" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/wordle-150x150.jpg" alt="SEO Keywords" width="150" height="150" /></h2>
<ul class="blue_bullet">
<li>Undertake keyword research</li>
<li>Use <a title="Google Adwords Keyword Tools" href="https://adwords.google.com/o/Targeting/Explorer?__c=1000000000&amp;__u=1000000000&amp;ideaRequestType=KEYWORD_IDEAS" target="_blank">Google AdWords Keyword Tools</a> to get a list of potential keywords to optimize for</li>
<li>Use <a title="Wordle" href="http://www.wordle.net/" target="_blank">Wordle</a> to see the keyword density of your competitors</li>
<li>Prioritize your keywords based on revenue</li>
<li>Put your keyword phrase in the first paragraph</li>
<li>Be realistic, go after keywords you feel your site can achieve a top 3 position</li>
</ul>
<div class="hr"></div>
<h2>Link Building<a title="SEO Link Buidling" href="http://ajfmedia.co.uk/search-engine-optimization"><img class="alignright size-thumbnail wp-image-352" title="SEO Link Building" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/SEO_Link_Building-150x150.jpg" alt="SEO Link Building" width="150" height="150" /></a></h2>
<p><span style="color: #c0c0c0;"><em>&#8220;Create just enough links to rank number 1 for your target keywords without putting your site at risk&#8221;</em></span></p>
<ul class="blue_bullet">
<li>Ensure your anchor text is optimized for desired keywords. eg <a title="Web Design Services Lichfield" href="http://ajfmedia.co.uk/lichfield-web-design" target="_blank">Lichfield Web Design</a></li>
<li>Add absolute links to your content so when you get scraped you gain links</li>
<li>Submit your website to relevant link directories</li>
<li>Try not to link exchange, but if you do try to exchange with a site with a higher Page Rank than you</li>
<li>Get a range of links eg. directory links, social links, natural content links</li>
<li>Find competitor 404 pages that have incoming links and email linking domains asking to link to your <span style="text-decoration: underline;">existing</span> content instead</li>
<li>Use keyword modifiers when link building to match query intent eg. <span style="color: #339966;"><strong>cheap</strong></span> phone, <strong><span style="color: #339966;">best</span></strong> phone, <span style="color: #339966;"><strong>new</strong></span> phone</li>
<li>Create widgets and HTML banners that can be embedded on other peoples website that link back to your site</li>
<li>If you have old links pointing to your site, email the site and ask them to adjust the anchor text accordingly to the terms you want to rank for</li>
<li>Start building links for long tail keyword phrases to help you rank for your main terms</li>
<li>Vary your anchor text when link building to include a range of terms including brand terms</li>
<li>Create infographics for your website/blog, share it online to gain links</li>
<li>Submit your website to CSS/HTML award/gallery websites to get a link (if its justifies great design)</li>
<li>Add social media sharing buttons to help get links</li>
<li>Don&#8217;t rely on links from domains on the same IP</li>
<li>Don&#8217;t link to link farms, if you are linked, try and remove your site</li>
</ul>
<div class="hr"></div>
<h2>Content<img class="alignright size-thumbnail wp-image-354" title="Seo Content Writing" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/content-writing-importance-150x150.jpg" alt="Content is king!" width="150" height="150" /></h2>
<p><em><span style="color: #888888;">&#8220;Content is king&#8221;</span></em></p>
<ul class="blue_bullet">
<li>Use rel=&#8221;canonical&#8221; meta tag to help Google determine and pass link juice to the original version of page, reducing duplicate content</li>
<li>Submit articles to relevant article and news sites with links back to your site with optimised anchor texts</li>
<li>Write unique keyword rich content</li>
<li>Use article spinning software to &#8220;spin&#8221; original articles, making them unique</li>
<li>Ensure your headers are semantic order, e.g. H1, H2, H3,</li>
<li>Use keywords in in body text, titles, headers and meta information</li>
<li>Avoid hidden text or hidden links.</li>
<li>Create a blog on the same domain to pick up long tail traffic</li>
<li>Make your product pages link worthy by providing watchable content that is likely to be shared, creating a social buzz</li>
<li>If you create informative/quality YouTube content, place your URL at the beginning of the video description, as YouTube videos are scraped often, meaning you will be gaining links</li>
<li>Use <a title="Text Broker" href="http://www.textbroker.com/" target="_blank">textbroker</a> to have professional unique articles and content written for websites</li>
<li>Ensure navigational elements are text links and are not &#8220;click here&#8221; or &#8220;more info&#8221; type of links</li>
<li>Create content that a .edu or .gov domain will find useful to link to, these domains hold alot of authority</li>
<li>Ensure that your 404 page contains links to your main categories, include a search box</li>
<li>Keep adding fresh content daily/weekly and keep the content up to date</li>
<li>Don&#8217;t use iframes, if you want the content in the iframes to be crawled</li>
<li>Don&#8217;t write content using JavaScript</li>
</ul>
<div class="hr"></div>
<h2>Google<img class="alignright size-thumbnail wp-image-361" title="Google Logo" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/03/google_logo_square_jpg_280x280_crop_q95-150x150.jpg" alt="Google Logo" width="150" height="150" /></h2>
<ul class="blue_bullet">
<li>Redirect the non-www version of your site to the www version (or vice versa). This is referred to as canonicalization</li>
<li>Install the <a href="http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html">Asynchronous Tracking</a> Google Analytics tracking code.</li>
<li>Create a <a title="Validating issues with Robot.txt" href="http://ajfmedia.co.uk/blog/seo-tools/validating-issues-with-robot-txt">robots.txt</a> file to help search engines determine what content to crawl</li>
<li>Buy an aged domain if possible</li>
<li>Don&#8217;t submit your URL to Google unless you have to</li>
<li>Set a geographic target for your site in Webmaster Tools</li>
<li>Ensure your markup is W3C compliant, so the crawl</li>
<li>Ensure your site is hosted in the country you wish to target, for speed and SEO</li>
</ul>
<div class="hr"></div>
<h2>House Keeping</h2>
<ul class="blue_bullet">
<li>Check for dead links with <a title="Link Sleuth" href="http://home.snafu.de/tilman/xenulink.html" target="_blank">Link Sleuth</a>, you won&#8217;t get an SEO thumbs up for relevant outbound links, unless they are working</li>
<li><span>Make your website as fast as possible, user experience is a key factor in ranking, see my post <a title="5 Ways to Speed Up Your Site with Images, Scripts and Styles" href="http://ajfmedia.co.uk/blog/coding/5-ways-to-speed-up-your-site-with-images-scripts-and-styles">5 Ways to Speed Up Your Site with Images, Scripts and Styles</a> for more tips</span></li>
<li><span>Keep your website accessible. Accessible HTML aids both search engine spiders and screen readers</span></li>
<li>Use <a href="http://copyscape.com/">CopyScape</a> to check to see if anyone else has copied your web content and used it on their website.</li>
<li><span>Keep your site live<br />
</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/seo/ultimate-seo-checklist-tons-of-tricks-and-tips/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Google: Strange Indexing Issue with Webmaster Tools</title>
		<link>http://ajfmedia.co.uk/blog/seo/strange-indexing-with-google-webmasters</link>
		<comments>http://ajfmedia.co.uk/blog/seo/strange-indexing-with-google-webmasters#comments</comments>
		<pubDate>Wed, 22 Feb 2012 11:14:24 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Ranking The Web]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=307</guid>
		<description><![CDATA[I recently launched my new web design website that consisted of  a WordPress blog and 8-10 static, optimized, unique pages with 100% valid handwritten code. As always as soon as I put the site live I did the usual;  added the site to webmaster tools (not submitting the site), built and submitted a sitemap and [...]]]></description>
				<content:encoded><![CDATA[<p>I recently launched my new <a title="North West Web Design" href="http://ajfmedia.co.uk" target="_blank">web design</a> website that consisted of  a WordPress blog and 8-10 static, optimized, unique pages with 100% valid handwritten code.</p>
<p>As always as soon as I put the site live I did the usual;  added the site to webmaster tools (not submitting the site), built and submitted a sitemap and tweeted some of  my core pages to create a buzz and generate some social traffic. Additionally I  asked Google to display my URLs without the &#8220;www.&#8221; prefix as I had a .htaccess rule to remove it from my URLs.</p>
<p>Within 24 hours my <strong>/blog/</strong> directory and one handwritten page (home page) had indexed. I was a little surprised  as my blog was probably the least internally linked content from my homepage, there were plenty of sales like pages that should have been crawled and indexed at the same time if not before my blog.</p>
<p>2 weeks later the situation remained. I started to doubt my code, I felt as though I had missed something obvious.  I  checked for no-index tags in my content, there were none. I rechecked my robots.txt file, it validated and &#8220;Fetch as Google-bot&#8221; tool confirmed my pages were crawlable. I the however looked at the crawl errors list and the handwritten pages (apart from my homepage) were noted as returning a 404, however if I visited those pages directly they appeared fine.</p>
<p>The further strange issue was  the thumbnail in my webmaster tools control panel for the website showed what appeared to be a black screen with white text, possibly an Apache server error?</p>
<p>In the end I resulted to using the <a title="Submit URL to Google" href="https://www.google.com/webmasters/tools/submit-url" target="_blank">Crawl URL Tool</a> in<strong> Google webmasters</strong>, the next day the 3 pages I requested to be indexed were indexed and the  black/white thumbnail had changed to my homepage thumbnail.</p>
<p>It is obvious why the index page had indexed, what was strange was that all the handwritten pages linked from the homepage returned false &#8220;404&#8242;s&#8221; and my blog was A-okay.</p>
<p>I can&#8217;t be that WordPress built pages get higher priority over other pages because my handwritten pages had crawl attempts upon them, they just apparently didn&#8217;t exist.</p>
<p>What on earth happened? Any ideas welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/seo/strange-indexing-with-google-webmasters/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media Explained</title>
		<link>http://ajfmedia.co.uk/blog/social-media/social-media-explained</link>
		<comments>http://ajfmedia.co.uk/blog/social-media/social-media-explained#comments</comments>
		<pubDate>Mon, 06 Feb 2012 12:55:28 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Social Media]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=302</guid>
		<description><![CDATA[For all you social media rookies, this image summarises each of the social media platforms we use today. Love it.]]></description>
				<content:encoded><![CDATA[<p>For all you social media rookies, this image summarises each of the social media platforms we use today. Love it.</p>
<p><a href="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/02/social-media-explained.jpg"><img class="wp-image-303 aligncenter" title="Social Media Explained" src="http://ajfmedia.co.uk/blog/wp-content/uploads/2012/02/social-media-explained-300x300.jpg" alt="Social Media Explained" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/social-media/social-media-explained/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Ways to Speed Up Your Site with Images, Scripts and Styles</title>
		<link>http://ajfmedia.co.uk/blog/coding/5-ways-to-speed-up-your-site-with-images-scripts-and-styles</link>
		<comments>http://ajfmedia.co.uk/blog/coding/5-ways-to-speed-up-your-site-with-images-scripts-and-styles#comments</comments>
		<pubDate>Mon, 06 Feb 2012 12:02:38 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[Building The Web]]></category>

		<guid isPermaLink="false">http://ajfmedia.co.uk/blog/?p=253</guid>
		<description><![CDATA[Recently I have been keen on making my websites as fast a possible, especially now Google have announced page load time is a ranking factor. Believe it or not the whole task is very compelling, especially when you see huge improvements in your website&#8217;s load time. Here is a small list of great online tools [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I have been keen on making my websites as fast a possible, especially now Google have announced page load time is a ranking factor. Believe it or not the whole task is very compelling, especially when you see huge improvements in your website&#8217;s load time. Here is a small list of great online tools you can use and some simple measures to take to speed up your site.</p>
<h2>1. Optimize Images</h2>
<p>If like me you sometimes build websites heavily based on images, either including image galleries or using images for backgrounds and layouts, then its important to note that uncompressed images add unnecessary <span class="lftCont">bytes to files.</span> <a title="Smush.it" href="http://www.smushit.com/ysmush.it/">Smush.it</a> by Yahoo is a fantastic online tool that optimize your images, making them as small in file size as possible without losing any visual quality. Its great because you can optimize multiple images at once and to top it off  it tells you how many bytes have been saved.</p>
<div class="hr"></div>
<h2>2. Crush/ minify code</h2>
<p>Working on the same principal, CSS and JavaScript  files can become large in size which again adds to your page load time. A simple way to reduce these file are to remove unneeded white space and comments from your code.Although the code becomes less readable the files can reduced by anything from 30-90%, which has to be worth it. If you do need to edit the compressed files again in the future but you are struggling to read the huge block of uncommented, zero whitespace code, then there are tools to reorganise  your CSS and JS code in the correct format. Just be sure that when you make your changes you compress them again!</p>
<p>Below are two FREE tools to compress your JS and minify your CSS</p>
<ul>
<li><a title="Minify CSS" href="http://www.ventio.se/tools/minify-css/" target="_blank">Minify CSS</a></li>
<li><a title="Compress JS" href="http://jscompress.com/" target="_blank">Compress JS</a></li>
</ul>
<div class="hr"></div>
<h2>3. Combine JavaScript and CSS files on demand</h2>
<p>80% of the end-user response time is spent on the downloading of a webpages components, eg images, stylesheets and scripts. The less HTTP requests required to render the page, the faster your page loads. You could simplify your pages design to reduce these requests, however this could be a huge shame if you have gone to a lot of effort building a kick ass and complex design. An alternative would be to combine your scripts into a single script, so there is only one HTTP request. In past experience having a single JavaScript file with all your code piled on top of each other can be hard to edit and  manage. <a title="Minify" href="http://code.google.com/p/minify/" target="_blank">Minify</a> is a great script that combines your files in to one request on demand without having to physically combine all the code together. So 5 JS files and 4 CSS files would all be called in 2 separate requests, instead of 9. (One for JS files and one for CSS files.)</p>
<p><strong>Below is how 8 JavaScript HTTP requests look like</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery-1.7.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/ga.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.simpleSlider.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/cycle.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.tweet.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.fancybox-1.3.4.pack.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.mousewheel-3.0.4.pack.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/screen.js&quot;&gt;&lt;/script&gt;
</pre>
<p><strong>Here is how a single combined JavaScript HTTP request looks like using Minify</strong></p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/min/b=js&amp;f=jquery-1.7.min.js,ga.js,jquery.simpleSlider.js,cycle.js,jquery.tweet.js,jquery.fancybox-1.3.4.pack.js,jquery.mousewheel-3.0.4.pack.js,screen.js&quot;&gt;&lt;/script&gt;
</pre>
<p>Nice huh?</p>
<div class="hr"></div>
<h2>4. Put Stylesheets at the Top and Scripts at the Bottom</h2>
<p>Progressive rendering is when a element is loading constantly  in the background until it is fully loaded while the rest of the page is rendering. With images for example, a full image is rendered at low resolution, then enhanced to higher resolution as more image data becomes available. Progressive rendering is blocked until all CSS stylesheets have been downloaded, that is why it is important to place your stylesheets in of the &lt;head&gt; your document. As they are downloaded first, your users get a better user experience and the rest of the page can load progressively .</p>
<p>As for JavaScript it is important to place the scripts lower on down the page to allow more content to be rendered progressively above. This is because progressive rendering is blocked for all content below the script tags.</p>
<div class="hr"></div>
<h2>5. Create CSS image sprites</h2>
<p>Image requests can add load time to your website in the same way your CSS and scripts can. With CSS sprites, using the CSS <code>background-image</code> and <code>background-position</code> properties to display the desired image segment allows you to combine background images into a single image, which means less image requests. In recent years people resulted to slicing images up thinking the page was loading faster by loading bits and pieces all over at once. But in reality each one of those images is a separate HTTP-Request and the more of those you have, the less efficient your page is.</p>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/coding/5-ways-to-speed-up-your-site-with-images-scripts-and-styles/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Validating issues with robots.txt</title>
		<link>http://ajfmedia.co.uk/blog/seo-tools/validating-issues-with-robots-txt</link>
		<comments>http://ajfmedia.co.uk/blog/seo-tools/validating-issues-with-robots-txt#comments</comments>
		<pubDate>Wed, 13 Apr 2011 13:00:51 +0000</pubDate>
		<dc:creator>Ajfmedia</dc:creator>
				<category><![CDATA[SEO Tools]]></category>

		<guid isPermaLink="false">http://www.ajfmedia.co.uk/?p=202</guid>
		<description><![CDATA[I use several crawling tools, and often crawl tests come back saying they were only able to crawl one page, after much trial and error I discovered it was down to my robots.txt file. This is how it looked like: I attempted to validate my robots.txt file with this website http://tool.motoricerca.info/robots-checker.phtml. I had some initial [...]]]></description>
				<content:encoded><![CDATA[<p>I use several crawling tools, and often crawl tests come back saying they were only able to crawl one page, after much trial and error I discovered it was down to my robots.txt file.</p>
<p>This is how it looked like:</p>
<pre class="brush: xml; title: ; notranslate">User-agent: *

Allow: /

Disallow: /search/
Disallow: /tmp/</pre>
<p>I attempted to validate my robots.txt file with this website <a title="Validate Robots.TXT" href="http://tool.motoricerca.info/robots-checker.phtml">http://tool.motoricerca.info/robots-checker.phtml</a>.</p>
<p>I had some initial errors, which included unnecessary empty lines, and also I was using the allow rule.  For a valid robots.txt file, you should not use the field of &#8220;<strong>Allow</strong>&#8220;, the use of the robots.txt file is to state which robots you want to block from crawling what content with the <strong>&#8220;Disallow&#8221;</strong> rule.</p>
<p>After removing my allow rule and my empty lines, my robots file was almost valid: it looked like so:</p>
<pre class="brush: xml; title: ; notranslate">User-agent: *
Disallow: /search/
Disallow: /tmp/</pre>
<p>But the validating website was returning this error:</p>
<p><strong>ï»¿User-agent: *</strong><br />
<strong> This line doesn&#8217;t follow a correct syntax. The correct syntax is: : , where &#8220;field&#8221; can be &#8220;User-agent&#8221; or &#8220;Disallow&#8221;. Please refer to Robots Exclusion Standard page for more informations.</strong></p>
<p>It was frustrating because &#8220;how hard can a robots.txt file be!&#8221;,  It appeared that some strange characters were being read at the beginning of the file. &#8220;<strong>ï»¿</strong>&#8220;. After searching the net, I discovered that this was due to my encoding, although my robots file was in the correct encoding of UTF-8, for some reason it was set to &#8220;include unicode signature (BOM)&#8221;.<br />
After un-ticking this in dreamwever, I re validated the file and success!</p>
<p><strong>&#8220;No errors found in this robots.txt file&#8221;</strong></p>
<p>So a few things to remember when building your robots.txt file</p>
<ol>
<li>Save the file with UTF-8 encoding without BOM</li>
<li>Do not use the rule &#8220;Allow&#8221;</li>
<li>Do not have empty lines</li>
<li>Correct format for a robots rule is   <strong>&lt;field&gt;:&lt;optionalspace&gt;&lt;value&gt;&lt;optionalspace&gt;</strong></li>
<li>Use online tools to validate and check your robots file!</li>
</ol>
<p>FYI: Bom is A <em>byte order mark </em>(BOM), which  consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files. Under some higher level protocols, use of a BOM may be mandatory (or prohibited) in the Unicode data stream defined in that protocol.</p>
<p><a href="http://tool.motoricerca.info/robots-checker.phtml?checkreferer=1"><img src="http://tool.motoricerca.info/pic/valid-robots-small.png" alt="Valid Robots.txt" width="80" height="15" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ajfmedia.co.uk/blog/seo-tools/validating-issues-with-robots-txt/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
