<?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>cotsweb.com Blog</title>
	
	<link>http://www.cotsweb.com/blog</link>
	<description>Web design, Website development and life in the Cotswolds</description>
	<lastBuildDate>Wed, 16 May 2012 15:55:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Cotswebcom" /><feedburner:info uri="cotswebcom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Keeping PHP and mySQL dates in sync</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/iPoQablKEAo/keeping-php-and-mysql-dates-in-sync-287.html</link>
		<comments>http://www.cotsweb.com/blog/keeping-php-and-mysql-dates-in-sync-287.html#comments</comments>
		<pubDate>Wed, 16 May 2012 15:55:21 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[mySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[dates]]></category>
		<category><![CDATA[timezones]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=287</guid>
		<description><![CDATA[My websites are hosted with Hostgator in Texas, USA but most of my customers are based in the UK. This creates a potential problem with dates and times because we usually want timestamps etc. to be recorded as if they were in the UK timezone rather than the timezone where the server is. Setting the [...]]]></description>
			<content:encoded><![CDATA[<p>My websites are hosted with <a href="http://www.hostgator.com/" title="Hostgator website hosting" target="_blank">Hostgator</a> in Texas, USA but most of my customers are based in the UK.  This creates a potential problem with dates and times because we usually want timestamps etc. to be recorded as if they were in the UK timezone rather than the timezone where the server is.</p>
<h3>Setting the timezone for Apache</h3>
<p>Fortunately it is easy to tell Apache to use a different timezone, just add the following line to your .htaccess file.</p>
<p><code>SetEnv TZ Europe/London</code></p>
<p>This works nicely to set the timezone for the webserver and the programs that run within it, including PHP.  This means that the PHP date and time functions will return the date/time as UK time rather than the server time.</p>
<h3>Getting mySQL to use the right time</h3>
<p>The only problem is that Apache doesn&#8217;t control mySQL, in fact on a shared hosting arrangement it isn&#8217;t possible to set mySQL&#8217;s timezone.  I would be changing it for all the customers on my server which would suit me fine but may not make them happy.</p>
<p>This means that using a mySQL function like NOW() generates a Texas timestamp rather than a London timestamp which isn&#8217;t what I want.  There are a number of solutions to this problem, <a href="http://www.richardlord.net/blog/dates-in-php-and-mysql" title="Richard Lord's Blog post about dates in PHP and mySQL" target="_blank">Richard Lord has written a good, clear post about possible solutions on his blog</a>.</p>
<p>What I want is something that uses the timezone from Apache but stores the date in a mySQL format so I can use mySQL date comparisons when I retrieve the data later on.  Fortunately the answer is quite straightforward; Where I would use NOW() to generate a timestamp I use the PHP function:</p>
<p><code>date(&#039;Y-m-d H:i:s&#039;)</code></p>
<p>This uses the current date from Apache (which is set to the London timezone) but converts it to the mySQL DATETIME format so that you can use mySQL&#8217;s date processing functions on the data.  Of course if you had calculated some other date in your PHP code you could use the same function but pass your calculated date to the function instead of letting it use the current date/time</p>
<p><code>date(&#039;Y-m-d H:i:s&#039;,$my_date)</code></p>
<p>So the SQL query you construct in PHP might look a bit like this:</p>
<p><pre><code>
$query = &#039;INSERT INTO filename (
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;current_time_stamp,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my_time_stamp)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VALUES (&quot;&#039; . 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;date(&#039;Y-m-d H:i:s&#039;) . &#039;&quot;, &#039;&quot; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// replaces NOW()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;date(&#039;Y-m-d H:i:s&#039;,$my_date) . &#039;&quot;)&#039;;&nbsp;&nbsp;&nbsp;&nbsp;// replaces calculated date
</code></pre></p>
<p>That solved my particular date/time problem, I hope it helps you too.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/iPoQablKEAo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/keeping-php-and-mysql-dates-in-sync-287.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/keeping-php-and-mysql-dates-in-sync-287.html</feedburner:origLink></item>
		<item>
		<title>Signing up for Technorati</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/lIhmc6Tjgro/signing-up-for-technorati-285.html</link>
		<comments>http://www.cotsweb.com/blog/signing-up-for-technorati-285.html#comments</comments>
		<pubDate>Wed, 02 May 2012 15:17:55 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=285</guid>
		<description><![CDATA[This is just a mini post with my Technorati verification code of 6PV8MSJKKJQU included. Sorry there is nothing worth reading here.]]></description>
			<content:encoded><![CDATA[<p>This is just a mini post with my Technorati verification code of 6PV8MSJKKJQU included.<br />
Sorry there is nothing worth reading here.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/lIhmc6Tjgro" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/signing-up-for-technorati-285.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/signing-up-for-technorati-285.html</feedburner:origLink></item>
		<item>
		<title>CSS Dropdown Menus don’t work on iPhones &amp; iPads</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/mTvvLEDnBuM/css-dropdown-menus-dont-work-on-iphones-ipads-275.html</link>
		<comments>http://www.cotsweb.com/blog/css-dropdown-menus-dont-work-on-iphones-ipads-275.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 14:58:02 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=275</guid>
		<description><![CDATA[I have used CSS dropdown menus on quite a few sites, based on the Suckerfish idea. These have worked fine for a long time and with the addition of the sfHover function they work in IE as well as all more modern browsers.  But recently a client called me to say that the dropdowns weren&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I have used CSS dropdown menus on quite a few sites, based on the Suckerfish idea. These have worked fine for a long time and with the addition of the <a title="Son of Suckerfish CSS Dropdown menus" href="http://www.htmldog.com/articles/suckerfish/dropdowns/">sfHover</a> function they work in IE as well as all more modern browsers.  But recently a client called me to say that the dropdowns weren&#8217;t working on her iPhone.</p>
<h2>Making dropdown menus work on the iPhone</h2>
<p>After a bit of trial and error and a lot of searching on the internet I discovered that the problem was that the iPhone (and I believe the iPad too) doesn&#8217;t honour the :hover  pseudoclass.  I was able to find a solution <a title="Tip for getting dropdown menus to work on the iPhone" href="http://justtwonerds.com/2010/02/24/free-css-dropdown-menu-with-iphone-quick-tip/">here</a> and modified my code accordingly.</p>
<p>All I had to do was add onmouseover=&#8221;"  to the li elements which contained ul elements for the dropdown menus. So;<br />
<pre><code>
&lt;li onmouseover=&quot;&quot;&gt;Top Level item
&lt;ul&gt;
&lt;li&gt;Dropdown item 1&lt;/li&gt;
&lt;li&gt;Dropdown item 2&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;</code></pre></p>
<p>&nbsp;</p>
<p>This solved the problem and made the iPhone display the drop down menu when the top level element was touched.  A simple solution to a subtle problem.</p>
<h2>But why doesn&#8217;t the iPhone work like everything else?</h2>
<p>It seems that the reason Apple have done this is because you can&#8217;t actually hover on a touchscreen, which sort of makes sense until you think of the consequences.  And if you can&#8217;t hover why do they honour the mouseover event which is surely the same thing?</p>
<p>One of the great things about smartphones is that they have good screens and good browsers so you can use the internet  reasonably well from a mobile device.  Unlike earlier attempts at mobile browsing,  like WAP, any well designed website will work properly on a smartphone.  You can design websites to take advantage of the smartphone&#8217;s extra capabilities but the vast majority of existing websites are navigable without changes.  If only sites designed from scratch for mobile use could actually be navigated by a smartphone they wouldn&#8217;t have access to very much at all and would lose one of their main attractions.  Apple have broken this; There must be quite large sections of some sites which are invisible to iPhone users.</p>
<h2>And I mean EVERYTHING else!</h2>
<p>All our websites are tested very thoroughly in lots of  browsers.  It isn&#8217;t possible to test every possible combination but we test in; Internet Explorer versions 6 through 9, Chrome, Firefox, Opera and Apple&#8217;s Safari.  This issue doesn&#8217;t appear in any of them, though of course we are not using a touch screen device with any these.  Even on <a href="http://www.electricplum.com/products.html" title="iPhone simulator">Electric Plum&#8217;s iPhone simulator</a> the dropdown menus work fine. </p>
<p>We don&#8217;t have a Mac so we can&#8217;t use Apple&#8217;s IOS simulator, I would be very interested to know if this problem is replicated there.  Significantly the problem does not seem to occur on Android phones, only Apple have taken this route.  I think they have made the wrong choice.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/mTvvLEDnBuM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/css-dropdown-menus-dont-work-on-iphones-ipads-275.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/css-dropdown-menus-dont-work-on-iphones-ipads-275.html</feedburner:origLink></item>
		<item>
		<title>Integrating class.upload.php into CKeditor</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/RW-Q517KWNw/integrating-class-upload-php-into-ckeditor-266.html</link>
		<comments>http://www.cotsweb.com/blog/integrating-class-upload-php-into-ckeditor-266.html#comments</comments>
		<pubDate>Thu, 22 Mar 2012 16:30:26 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javaScript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=266</guid>
		<description><![CDATA[I have been working on a Content Management System for Kate&#8217;s Home Nursing, a Stow based charity who provide top quality palliative care around the North Cotswolds.  As part of the CMS I am using CKeditor, which is a very good WYSIWYG editor, allowing the users to create their own content in something like a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a Content Management System for <a title="Kate's Home Nursing, palliative care charity based in Stow on the Wold" href="http://www.kateshomenursing.org" target="_blank">Kate&#8217;s Home Nursing</a>, a Stow based charity who provide top quality palliative care around the North Cotswolds.  As part of the CMS I am using <a title="CKeditor Open Source WYSIWYG editor for websites" href="http://ckeditor.com/" target="_blank">CKeditor</a>, which is a very good WYSIWYG editor, allowing the users to create their own content in something like a word processing environment.</p>
<p>But I need the facility to upload images to be integrated into the page being edited, <a title="CKfinder Ajax File Manager" href="http://ckfinder.com/" target="_blank">CKfinder</a> is a possibility, it integrates well with CKeditor, but it isn&#8217;t Open Source.  <a title="KCfinder Open Source image upload and file browsing" href="http://kcfinder.sunhater.com/" target="_blank">KCfinder</a> is another possibility;  it  is Open Source but I found it difficult to do exactly what I wanted with it.  What I really wanted was to use <a title="class.upload.php file upload script" href="http://www.verot.net/php_class_upload.htm" target="_blank">class.upload.php</a> which is Open Source and I know from experience does exactly what I want it to do.</p>
<p>The problem was that while I found some useful hints I couldn&#8217;t find clear instructions on the whole process of how to integrate class.upload.php with ckeditor.  So after some trial and error here is my solution. </p>
<p>Please note, class.upload.php is a file uploader, it doesn&#8217;t offer the file browser facilties that CKfinder and KCfinder provide.  I have concentrated on the integration process rather than on the various parameters, both CKeditor and class.upload.php are quite well documented and once you have the upload process working it is just a matter of fine tuning until you get the result you want.</p>
<h2>Getting CKeditor to call your custom upload script</h2>
<p>I am calling CKeditor with javaScript from within a webpage so my calling code looks like this;<br />
<pre><code>&lt;!-- Set up CKeditor --&gt;
&lt;script src=&quot;ckeditor.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;function displayCkeditor(id)
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(CKEDITOR.instances[id])
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CKEDITOR.remove(CKEDITOR.instances[id]);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CKEDITOR.replace(id,&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filebrowserUploadUrl :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;uploader.php?type=files,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filebrowserImageUploadUrl : &quot;uploader.php?type=images&quot;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filebrowserFlashUploadUrl : &quot;uploader.php?type=flash&quot;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});

&nbsp;&nbsp;&nbsp;&nbsp;}

&lt;/script&gt;
&lt;!-- CKeditor end --&gt;
</code></pre><br />
This just tells CKeditor to use my custom &#8220;uploader.php&#8221; script when the user clicks on the image upload facility in the editor.  In this case it is expecting to find uploader.php in the current directory (the Ckeditor directory).</p>
<h2>Creating the Custom Upload Script</h2>
<p>And this is the script called by Ckeditor;<br />
<pre><code>
&lt;?php
/**
 * uploader.php
 * Use class.upload.php to upload images etc.
 */
include(/includes/class.upload.php&#039;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// where you have put class.upload.php

$msg = &#039;&#039;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Will be returned empty if no problems
$callback = ($_GET[&#039;CKEditorFuncNum&#039;]);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Tells CKeditor which function you are executing

$handle = new upload($_FILES[&#039;upload&#039;]);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Create a new upload object 
if ($handle-&gt;uploaded) {
&nbsp;&nbsp;&nbsp;&nbsp;$handle-&gt;image_resize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = true;
&nbsp;&nbsp;&nbsp;&nbsp;//
&nbsp;&nbsp;&nbsp;&nbsp;// Create a small image (thumbnail)
&nbsp;&nbsp;&nbsp;&nbsp;//
&nbsp;&nbsp;&nbsp;&nbsp;$handle-&gt;image_x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 150;
&nbsp;&nbsp;&nbsp;&nbsp;$handle-&gt;image_ratio_y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= true;

&nbsp;&nbsp;&nbsp;&nbsp;$handle-&gt;process($_SERVER[&#039;DOCUMENT_ROOT&#039;] . &#039;/userfiles/&#039;);&nbsp;&nbsp;// directory for the uploaded image
&nbsp;&nbsp;&nbsp;&nbsp;$image_url = &#039;/userfiles/&#039; . $handle-&gt;file_dst_name;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// URL for the uploaded image
 
&nbsp;&nbsp;&nbsp;&nbsp;if ($handle-&gt;processed) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $handle-&gt;clean();
&nbsp;&nbsp;&nbsp;&nbsp;} else {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$msg =&nbsp;&nbsp;&#039;error : &#039; . $handle-&gt;error;
&nbsp;&nbsp;&nbsp;&nbsp;}
}

$output = &#039;&lt;script type=&quot;text/javascript&quot;&gt;window.parent.CKEDITOR.tools.callFunction(&#039;.$callback.&#039;, &quot;&#039;.$image_url .&#039;&quot;,&quot;&#039;.$msg.&#039;&quot;);&lt;/script&gt;&#039;;
echo $output;
?&gt;
</code></pre><br />
In this simple example I just upload an image and resize it to a 150px wide thumbnail for inclusion in the edited text.</p>
<p>The important part is the $output echoed back to CKeditor which tells it which function to link up with and the URL of the uploaded file (which will then be inserted into the text being edited).  If the upload is successful the $msg field should be empty, otherwise it should contain an error message and the URL should be empty.</p>
<p>The code above is a working outline, obviously a bit more needs to be built in to make it a safe and useful bit of code but I have left it quite simple so that it is clear and useful for others to build on.  I hope you find it useful.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/RW-Q517KWNw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/integrating-class-upload-php-into-ckeditor-266.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/integrating-class-upload-php-into-ckeditor-266.html</feedburner:origLink></item>
		<item>
		<title>Using Google Analytics to track clickthrus updated</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/nBIXFLIK41M/using-google-analytics-to-track-clickthrus-updated-259.html</link>
		<comments>http://www.cotsweb.com/blog/using-google-analytics-to-track-clickthrus-updated-259.html#comments</comments>
		<pubDate>Mon, 19 Mar 2012 16:51:52 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Analytics]]></category>
		<category><![CDATA[click tracking]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[clickthru]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=259</guid>
		<description><![CDATA[About 4 years ago I wrote a post on the subject of Using Google Analytics to track click throughs from your website which described how to use PageTracker to log clicks on links which wouldn&#8217;t normally be picked up by Google Analytics.  This worked fine and indeed still does, but it is no longer the [...]]]></description>
			<content:encoded><![CDATA[<p>About 4 years ago I wrote a post on the subject of <a title="Using Google Analytics to track click throughs from your website" href="http://www.cotsweb.com/blog/using-google-analytics-to-track-click-throughs-from-your-website-7.html">Using Google Analytics to track click throughs from your website</a> which described how to use PageTracker to log clicks on links which wouldn&#8217;t normally be picked up by Google Analytics.  This worked fine and indeed still does, but it is no longer the method I would suggest to solve this problem.</p>
<p>Now you can use Event Tracking to track all sorts of things like ClickThrus, Downloads,  PDF reads, Media Plays and pretty much anything else you can think of.    I won&#8217;t go into how to implement Event Tracking as Google have a pretty good explanation in their <a title="Setting up event tracking in Google Analytics" href="http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html" target="_blank">Google Analytics Event Tracking Guide</a>.  Event tracking works very well and lets you track an event in  several different ways by specifying category,  action, label and a value if you want to.</p>
<h2>Missing pages in Webmaster Tools</h2>
<p>Event tracking has been around for a little while now and I have used it on several newer sites but I never bothered to go back to older sites and replace the PageTracker technique with Event Tracking.  They still worked ok and still collected the information I wanted.  But one day I was checking out a site in Google Webmaster tools and I spotted that there were a lot of Crawl Errors, most of these errors were 404 errors relating to missing pages; dummy pages that I had specified in PageTracker!</p>
<p>Oops! It seems that Google being super clever had tried to follow my PageTracker code even though they didn&#8217;t point to real pages.  The links the PageTracker code was attached to still worked fine but Google was trying to find another page based solely on the PageTracker.</p>
<h2>SEO Implications?</h2>
<p>As far as I could tell this hadn&#8217;t hurt the SEO ranking of the site but I decided it was time to update it to use Event Tracking instead of PageTracker.  If Google thought there were a whole lot of 404s on the site that couldn&#8217;t be a good thing.  A few months on I haven&#8217;t notice any difference in SEO terms  or in traffic but at least I have tidied up all the Crawl Errors and avoided any potential future penalties, Google does like a tidy site.   And of course I can get more information from Event Tracking than I could from PageTracker.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/nBIXFLIK41M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/using-google-analytics-to-track-clickthrus-updated-259.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/using-google-analytics-to-track-clickthrus-updated-259.html</feedburner:origLink></item>
		<item>
		<title>Review of Amazon’s Kindle E-Reader</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/cHe3LaW54l8/review-of-amazons-kindle-e-reader-250.html</link>
		<comments>http://www.cotsweb.com/blog/review-of-amazons-kindle-e-reader-250.html#comments</comments>
		<pubDate>Mon, 23 Jan 2012 13:40:45 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[household]]></category>
		<category><![CDATA[e-reader]]></category>
		<category><![CDATA[kindle]]></category>
		<category><![CDATA[reviews]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=250</guid>
		<description><![CDATA[I was lucky enough to receive a shiny new Amazon Kindle e-reader for Christmas so after a few weeks of use I thought I&#8217;d offer my experience of the reader so far. I have been very happy with my Kindle.  I find the e-ink screen easy to read, no different really to reading a book. [...]]]></description>
			<content:encoded><![CDATA[<p>I was lucky enough to receive a shiny new Amazon Kindle e-reader for Christmas so after a few weeks of use I thought I&#8217;d offer my experience of the reader so far.</p>
<p><a href="http://www.cotsweb.com/blog/wp-content/uploads/2012/01/kindle_image.jpg"><img class="size-medium wp-image-251 alignleft" title="kindle_image" src="http://www.cotsweb.com/blog/wp-content/uploads/2012/01/kindle_image-300x289.jpg" alt="Picture of Amazon Kindle 6&quot; Wifi e-reader" width="300" height="289" /></a>I have been very happy with my Kindle.  I find the e-ink screen easy to read, no different really to reading a book.    The texture of the screen means that there is very little reflection, unlike reading on a mobile phone or tablet.  The size and shape of the Kindle and the positioning of the page forward and page back buttons make it very convenient to handle, much easier than a thick book.  I believe that earlier models were a bit sluggish but I find the page turn speed is fine on my Kindle, as quick as turning the page in a  real book.</p>
<h3>Keyboard</h3>
<p>My Kindle has no keyboard but there is a  little button which pops up a keyboard on the screen, you then use the 5-way controller button to  select the letters you want to type.  It works fine for searching, I haven&#8217;t experienced the Keyboard version of the Kindle but I don&#8217;t think there would be a lot of advantage in having the keyboard, at least for the Kindle&#8217;s primary purpose, reading books.</p>
<h3>WiFi or 3G?</h3>
<p>My Kindle is the cheaper WiFi only version, we have a fairly good broadband connection at home and we already have a Wifi network so we didn&#8217;t really see the need for 3G.  If you don&#8217;t already have WiFi network at home then 3G makes sense, you can still use WiFi if you are somewhere with a network but you can use Amazon&#8217;s Whispernet system to download books pretty much anywhere in the world (with no network charges).  If you travel a lot then 3G would be perfect and you can use the (experimental) browser to surf the web anywhere in the world too.</p>
<h3>Case</h3>
<p>I have a 3rd party leather case which adds to the size slightly but it gives it a bit more of a book like feel, otherwise I think it might just be a bit too slim and sleek.  The case also incorporates a stand so I can prop the Kindle up and read it while eating my breakfast if I want to.  Reading on the Kindle can be a totally hands free experience (except for page flips of course), whereas some books can be a bit of a hassle to read one handed.   My only complaint about the particular case I have is that the case slightly blocks the 5-way controller button on the Kindle making it a bit difficult to scroll down.</p>
<h3>Reading Books and Manuals</h3>
<p>I have two main uses for my Kindle, reading for pleasure and reading for work.  I find the Kindle perfect when reading normal books,  each page is a bit smaller than a regular book (though you can adjust the text size and font if you wish), but you don&#8217;t really care where the page breaks come when reading most books.  When reading a book for work, mostly computer books, you do notice that the page breaks on the Kindle don&#8217;t always match the page breaks in the original and things like program listings aren&#8217;t formatted quite as tidily as in a printed book.  Having said that, I haven&#8217;t found this to be a problem, everything is still quite readable and of course I can carry  several kilos of computer books on my 170g Kindle with no problem at all.</p>
<p>The Kindle uses black and white e-reader technology so obviously colour isn&#8217;t an option but pictures and diagrams are very clear, there is no apparent loss of definition.</p>
<h3>Availability and Pricing of Books</h3>
<p>The Kindle can handle various file formats including PDF (though not quite as nicely as mobi files) and ePub but the biggest source of  Kindle books is of course Amazon itself.  There are many thousands of books available for the Kindle but the market is still a bit patchy.  A lot of classic books (out of copyright) are free which is nice, I certainly plan to read a few classics that I have never got around to.  Newer books are often available in Kindle format but the price is not always competitive, sometimes it costs more for the Kindle book than the printed version which doesn&#8217;t make sense to me at all.  In between are a lot of older books which just aren&#8217;t available at all in any electronic format.</p>
<p>There is a bit of ironing out with licensing and marketing agreements between Amazon etc. and publishers before the ebook market becomes mature.</p>
<h4>An Aside</h4>
<p>I subscribe to The Economist (an excellent paper, and not really anything to do with economics at all, I can recommend it), I noticed that there was a Kindle edition which could be delivered electronically to my Kindle every Friday morning.  But the Kindle edition costs more than the printed edition which I receive in the post every Saturday!</p>
<p>I believe that the difference in cost is because the print edition is subsidized by  advertisements whereas the Kindle edition is ad free.   While I am quite happy to flip past the ads in the print edition I think they would be a lot more intrusive on the Kindle.  Nothing is simple is it?</p>
<h2>E-reader or tablet?</h2>
<p>Most Kindles (including mine) are e-readers rather than tablet computers, the exception being the new Kindle Fire (not yet available in the UK).  E-readers and tablet computers (like the Kindle Fire or the iPad) are superficially similar but actually fill quite different slots in the computer eco-system.</p>
<h3>E-Readers</h3>
<p>A proper E-reader will use e-ink (or similar) technology to display the text on the screen, there are colour e-ink screens in the pipeline but currently only monochrome screens are generally available.  E-ink screens are not backlit, they rely on an external light source,  if you want to read in the dark you will need a torch just as if you were reading a normal book.  Most e-readers have non-reflective screens which makes them very easy to read even in bright sunlight, there are some touch screen e-readers but so far no touch screen has the non-reflective characteristics which make e-readers so good.</p>
<p>The good thing about E-readers is the reading experience, it is very similar to reading a book and much less tiring than looking at a computer screen.  The non-reflective, non-backlit screen means you can use an e-reader pretty much anywhere in comfort.  They also have a very good battery life, you need to recharge every few weeks rather than every few hours.  They are a viable replacement for a whole stack of books (a very large stack of books).</p>
<p>The Kindle comes with a web browser (labelled as experimental) so you can use it to surf the web but it is pretty basic and of course the web you see will be monochrome rather than colour.    And of course using the pop up keyboard for any length of time would be tiresome.</p>
<h3>Tablets</h3>
<p>Tablet computers don&#8217;t have e-ink screens, they have lovely shiny touch screens which display wonderful colours and provide great interactions with the websites you visit and the apps you use.   They are backlit so you can read in complete darkness if you wish but they are shiny so even the best of them isn&#8217;t easy to read in bright sunlight.  They are also more tiring to read on than e-ink.</p>
<p>For a proper web browsing and app using experience a tablet is way ahead of an e-reader and of course you can get a Kindle app for your tablet  so you can read your books on it too.  The downsides are cost (even the Kindle Fire which is a pretty basic tablet costs about twice as much as a regular Kindle), readability (you are still reading a computer screen not a book) and battery life (hours rather than weeks).  Also the iPad (with its 10&#8243; screen) is quite a bit bigger than the Kindle (with its 6&#8243; screen)  so it isn&#8217;t quite as portable (or chuckable).</p>
<p>If you have an iPad then it makes sense to load the Kindle app so you read your books on the iPad but I wouldn&#8217;t want to use it as my main reading device (but then I don&#8217;t actually have an iPad).</p>
<h2>Conclusion</h2>
<p>I am very pleased with my Kindle, in fact I would like to use it even more but I still have a lot of old fashioned books.   I   plan to use it as my main way of reading  in the future, the only issue may be availability and pricing of books.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/cHe3LaW54l8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/review-of-amazons-kindle-e-reader-250.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/review-of-amazons-kindle-e-reader-250.html</feedburner:origLink></item>
		<item>
		<title>Domain Registration Scam – ZUNCH</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/ZKf_aY1ZPxI/domain-registration-scam-zunch-241.html</link>
		<comments>http://www.cotsweb.com/blog/domain-registration-scam-zunch-241.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 09:10:29 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[domain registration]]></category>
		<category><![CDATA[scams]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[registration]]></category>
		<category><![CDATA[scam]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[zunch]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=241</guid>
		<description><![CDATA[I have received an  email which I thought at first was just another dodgy domain renewal notice a bit like the one from Domain Renewal Group that I reported about 2 years ago.  This one arrived by email rather than through the post and I only spotted it when checking my Junk Mail folder; Thunderbird [...]]]></description>
			<content:encoded><![CDATA[<p>I have received an  email which I thought at first was just another dodgy domain renewal notice a bit like the one from <a title="Domain Renewal Group – Scam warning" href="http://www.cotsweb.com/blog/domain-renewal-group-scam-warning-95.html">Domain Renewal Group</a> that I reported about 2 years ago.  This one arrived by email rather than through the post and I only spotted it when checking my Junk Mail folder; Thunderbird knew what to do with it.</p>
<p>This new notice comes from an outfit called ZUNCH who only seem to have a gmail address zunchdomainservices@gmail.com which indicates that it is a pretty low budget attempt, you would think they would at least use their own domain name.  They do have a domain because<a title="zunch domain registration scam" href="http://www.zunch.com/"> Zunch.com</a> advertises their Search Engine Optimization services.  Of course Zunch.com doesn&#8217;t necessarily have anything to do with zunchdomainservices@gmail.com but they do have the same street address and fax number.</p>
<p>This email isn&#8217;t a domain renewal scam, instead it is offering &#8220;Domain Name Search Engine Registration&#8221;, basically it seems to be an overpriced Search Engine Submission service.  They don&#8217;t say what they do for their fee, which ranges from $42 for 1 year up to a &#8220;Best Value&#8221; $499 lifetime service,  but they try to scare you into paying it by saying <strong>Failure to complete your Domain name search engine registration by the expiration date may result in cancellation of this offer making it difficult for your customers to locate you on the web. </strong></p>
<p>My advice is delete this email, it doesn&#8217;t offer anything worth paying for and may not offer anything at all.</p>
<h2>Free Search Engine Submission</h2>
<p>These days Google indexes new sites so quickly and so thoroughly that it often has a new site indexed before I set it up in <a title="Google Webmaster Tools" href="http://www.google.com/webmaster/tools">Webmaster Tools</a> (a free service),  Bing isn&#8217;t quite so quick but again <a title="Bing Webmaster Tools" href="http://www.bing.com/toolbox/webmaster/">Bing Webmaster Tools</a>  is a free service which allows you to submit new sites and offers lots of good monitoring tools to go with it.  Yahoo has it&#8217;s <a title="Yahoo Site Explorer" href="https://siteexplorer.search.yahoo.com/mysites">site explorer</a> (again free) and of course the <a title="The Open Directory Project" href="http://www.dmoz.org/">Open Directory Project</a> is free too.</p>
<p>Given that other search engines usually pick up their data from one of these sources 4 submissions usually gives pretty good results, covering well over 90% of searches. The only other search engine with a significant market share is Baidu but sadly my Chinese language skills are pretty limited.   If you have a site dealing with a particular niche there are specialist search engines which can be very useful but for most sites if you submit to Google, Bing, Yahoo and DMOZ your site will be found.</p>
<h2>The email from Zunch Domain Services</h2>
<blockquote>
<div lang="x-western">
<pre><pre id="line1">From: &quot;Zunch Domain Services&quot; &amp;lt;zunchdomainservices@gmail.com&amp;gt;
Reply-To: zunchdomainservices@gmail.com
To: registrar@cotsweb.com
Subject: Domain Notification Mr Mark A Cassie This is your Final Notice of Domain Listing - COTSWOLDBEDANDBREAKFAST.BIZ</pre></pre>
</div>
<div>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td colspan="2">
<table>
<tbody>
<tr>
<td><strong>Attention: Important Notice</strong></td>
<td><strong>DOMAIN SERVICE NOTICE</strong></td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td><strong>Complete and return by fax to: </strong><strong><br />
1-972-455-4848 </strong></td>
</tr>
</tbody>
</table>
</td>
<td><strong>15770 N. Dallas Parkway<br />
Suite 450<br />
Dallas, TX 75248<br />
United States of America </strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</td>
</tr>
<tr>
<td><strong>ATTN:</strong> <strong>Mr Mark A Cassie</strong> <strong><br />
ADMINISTRATIVE CONTACT </strong><br />
registrar@cotsweb.com<br />
South Hill Farmhouse, Fosse Wa Stow-on-the-Wold Glos GL541JU<br />
GB<br />
-<br />
COTSWOLDBEDANDBREAKFAST.BIZ</td>
<td valign="top"><strong>Domain Name: COTSWOLDBEDANDBREAKFAST.BIZ</strong> <strong><br />
</strong><strong>Search Engine Submission</strong></p>
<div>
<table>
<tbody>
<tr>
<td><strong> Requested Reply<br />
</strong>OCTOBER 24, 2011</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<table>
<tbody>
<tr>
<td><strong>PART I: REVIEW SOLICITATION</strong></td>
</tr>
</tbody>
</table>
<p><strong>Attn: Mr Mark A Cassie</strong> <strong><br />
As a courtesy to domain name holders, we are sending you this notification for your business Domain name search engine registration. This letter is to inform you that it&#8217;s time to send in your registration and save.</strong></p>
<p>Failure to complete your Domain name search engine registration by the expiration date may result in cancellation of this offer making it difficult for your customers to locate you on the web.</p>
<p>Privatization allows the consumer a choice when registering. Search engine subscription includes domain name search engine submission. You are under no obligation to pay the amounts stated below unless you accept this offer. Do not discard, this notice is not an invoice it is a courtesy reminder to register your domain name search engine listing so your customers can locate you on the web.</p>
<p>This Notice for: COTSWOLDBEDANDBREAKFAST.BIZ will expire on October 24, 2011 Act today!</td>
</tr>
<tr>
<td colspan="2">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<div>
<table>
<tbody>
<tr>
<td>DETAIL OF SERVICE: ANNUAL WEBSITE SEARCH ENGINE SUBMISSION FOR DOMAIN NAME COTSWOLDBEDANDBREAKFAST.BIZ</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<table>
<tbody>
<tr>
<td>
<table align="left">
<tbody>
<tr>
<td>
<div>
<table>
<tbody>
<tr>
<td><strong>Detail of Service:<br />
</strong><strong>SEARCH SUBMISSIONS</strong></td>
</tr>
</tbody>
</table>
</div>
</td>
<td>
<div>
<table>
<tbody>
<tr>
<td><strong>Reply by Date:</strong><br />
<strong>10/24/2011</strong></td>
</tr>
</tbody>
</table>
</div>
</td>
<td>
<div>
<table>
<tbody>
<tr>
<td><strong>For Domain Name:<br />
COTSWOLDBEDANDBREAKFAST.BIZ </strong></td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div>
<table>
<tbody>
<tr>
<td>
<div>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td><strong>Select Term</strong></td>
<td><strong>Your Existing Domain </strong></td>
<td><strong>Period Covered</strong></td>
<td><strong>Price</strong></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tbody>
<tr>
<td></td>
<td>COTSWOLDBEDANDBREAKFAST.BIZ</td>
<td></td>
<td></td>
</tr>
<tr>
<td>[ ] 1 year</td>
<td></td>
<td>10/24/2011 &#8211; 10/24/2012</td>
<td>$42.00</td>
</tr>
<tr>
<td>[ ] 2 year</td>
<td></td>
<td>10/24/2011 &#8211; 10/24/2013</td>
<td>$72.00 (save 15%)</td>
</tr>
<tr>
<td>[ ] 5 year</td>
<td></td>
<td>10/24/2011 &#8211; 10/24/2016</td>
<td>$159.00 (save 25%)</td>
</tr>
<tr>
<td><strong>[ ] 10 year</strong></td>
<td><strong>-Most Recommended- </strong></td>
<td><strong>10/24/2011 &#8211; 10/24/2021 </strong></td>
<td><strong>$295.00 (save 30%) </strong></td>
</tr>
<tr>
<td><strong>[ ] Lifetime (NEW!) </strong></td>
<td><strong>Limited time offer &#8211; Best value! </strong></td>
<td><strong>Lifetime</strong></td>
<td><strong>$499.00 </strong></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td></td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="3"><strong>Please ensure that your contact information is correct or make the necessary changes. </strong></td>
</tr>
<tr>
<td colspan="3">
<div>
<table>
<tbody>
<tr>
<td>
<table>
<tbody>
<tr>
<td><strong>Full Name: </strong> Mr Mark A Cassie</td>
<td><strong>Email:</strong>  registrar@cotsweb.com</p>
<p><strong>Email 2: </strong>____________________</p>
<p><strong>Phone: </strong>_____________________</td>
</tr>
<tr>
<td colspan="2">Want to receive this notification for other domains you own? simply list them below:</p>
<p>_____________________ _____________________</p>
<p>_____________________ _____________________</td>
</tr>
<tr>
<td><strong>Today&#8217;s Date:</strong> _____________________</td>
<td><strong>Signature:</strong> _____________________</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2"><strong> Payment by Credit Card<br />
PLEASE COMPLETE AND RETURN BY FAX: 1-972-455-4848<br />
</strong><em>( Please do not include your credit card number on this form just fill the information above and fax it to us, once we receive your fax we will send you instructions on how to make a payment by credit card ) </em></td>
<td></td>
</tr>
<tr>
<td colspan="3"><strong><br />
</strong>COTSWOLDBEDANDBREAKFAST.BIZ</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table>
<tbody>
<tr>
<td>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</td>
</tr>
<tr>
<td>By accepting this offer, you agree not to hold ZUNCH liable for any part. Note that THIS IS NOT A BILL. This is a solicitation. You are under no obligation to pay the amounts stated unless you accept this offer. The information in this letter contains confidential and/or legally privileged information from the notification processing department of ZUNCH. This information is intended only for the use of the individual(s) named above. There is no pre-existing relationship between ZUNCH and the domain mentioned above. This notice is not in any part associated with a continuation of services for domain registration. Search engine submission is an optional service that you can use as a part of your website optimization and alone may not increase the traffic to your site. If you do not wish to receive further updates from ZUNCH send an email to <a href="mailto:zunchdomainservices@gmail.com">zunchdomainservices@gmail.com</a> and in the subject line only put remove to unsubscribe. If you are not the intended recipient, you are hereby notified that disclosure, copying, distribution or the taking of any action in reliance on the contents for  this letter is strictly prohibited. * 100% satisfaction guaranteed, you may request a refund within 30 days.</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<p><a href="mailto:?subject=Unsubscribe"> Please Remove Me From Your Mailing List </a></p></blockquote>
<p>In my research for this article I found <a title="ZUNCH domain registration scam blog from Chris Nielsen" href="http://ahostingguide.com/blog2.php/2011/10/18/domain-notification-this-is-your-final-notice-of-domain-listing">this blog from Chris Neilsen</a> saying much the same as I have, just delete this email.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/ZKf_aY1ZPxI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/domain-registration-scam-zunch-241.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/domain-registration-scam-zunch-241.html</feedburner:origLink></item>
		<item>
		<title>Microsoft’s Internet Explorer Nightmare</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/ZPmOafNxaAQ/microsofts-internet-explorer-nightmare-229.html</link>
		<comments>http://www.cotsweb.com/blog/microsofts-internet-explorer-nightmare-229.html#comments</comments>
		<pubDate>Wed, 21 Sep 2011 13:43:29 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=229</guid>
		<description><![CDATA[This is a topic I started including in my previous post about developing for IE9 but I decided to split it off into a separate article because it was drifting off the original topic. The Internet Explorer Nightmare Microsoft is creating a nightmare for the web development world, IE6, 7 &#38; 8 all have significant [...]]]></description>
			<content:encoded><![CDATA[<p>This is a topic I started including in my <a title="IE9 is better but it is still Internet Explorer" href="http://www.cotsweb.com/blog/ie9-is-better-but-it-is-still-internet-explorer-220.html">previous post about developing for IE9</a> but I decided to split it off into a separate article because it was drifting off the original topic.</p>
<h3>The Internet Explorer Nightmare</h3>
<p>Microsoft is creating a nightmare for the web development world, IE6, 7 &amp; 8 all have significant market shares still so need to be catered for. IE9 is much better of course but won&#8217;t run on anything older than Windows Vista which means that over half the world&#8217;s computers will never be able to run it, obviously this will change as people upgrade computers but at the time of writing <a href="http://marketshare.hitslink.com/browser-market-share.aspx?spider=1&amp;qprid=2">IE6 still has nearly 10% of the browser market</a> and Windows XP has over 50% of the OS market.</p>
<p>And now it seems that <a href="http://www.engadget.com/2011/04/14/microsoft-confirms-ie10-wont-run-on-vista-millions-of-ie9-user/">IE10 will only support Windows 7, not even Vista</a>, this means that there will be another tranche of customers with Vista machines who are unable to upgrade beyond IE9.</p>
<p>It is very difficult to run more than one version of Internet Explorer on the same machine, I use VirtualBox to run several virtual Windows machines but that does mean that I need a separate Windows licence for each machine.</p>
<p>So my full browser array (on my main development machine)  is;</p>
<ol>
<li>Opera &#8211; my default browser (I like Dragonfly)</li>
<li>Chrome &#8211; almost always open too</li>
<li>Firefox 6 &#8211; for all the great extensions</li>
<li>Safari -mostly for testing</li>
<li>IE6 &#8211; if it works here it usually isn&#8217;t too bad in later versions of IE</li>
<li>IE7 in an XP machine under VirtualBox</li>
<li>FF3.6 in the same XP machine under VirtualBox</li>
<li>IE8 in another XP machine under VirtualBox</li>
<li>IE9 in a Windows 7 machine under VirtualBox</li>
<li>IceMonkey under Knoppix under VirtualBox</li>
</ol>
<div>And this is all one physical PC!  But it won&#8217;t be long before I have to add another Windows 7 virtual machine to accommodate IE10 too.</div>
<h3>Browser Deployment</h3>
<p>You may notice that I didn&#8217;t refer to different versions of Chrome or Safari, that is because by default these browsers keep themselves up to date so the &#8220;tail&#8221; of older versions is very short.</p>
<p>Opera &amp; Firefox do the same but the user has to actually agree to download major version changes, hence the tail of FF3.6 users, people have to agree to update to FF4 (but I think FF is now changing to the Chrome model for deployment). The same applies to Opera but as its user base is quite small and quite geeky (I use Opera as my default browser) it tends to look after itself.</p>
<p>Of course the major problem in the browser world is Internet Explorer. Usage of versions older than IE6 has fallen enough that I now ignore them when developing websites but all the later versions still need to be catered for (in my opinion &#8211; some developers take a much more aggressive view).  It is possible that IE7 usage will also shrink to almost nothing but I can&#8217;t see IE6 disappearing for quite a while yet and of course Windows XP still has a huge user base for whom IE8 is the best that can be installed.  And  there are a few million Vista users who can never go beyond IE9.</p>
<p>I&#8217;m sure Microsoft are aware of the mess they have created, I just wish they wouldn&#8217;t keep on doing it.  If Chrome/Opera/Firefox etc. can run on any version of Windows (and Mac and Linux) it doesn&#8217;t seem too much to ask that Internet Explorer should do the same.</p>
<p>&nbsp;</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/ZPmOafNxaAQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/microsofts-internet-explorer-nightmare-229.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/microsofts-internet-explorer-nightmare-229.html</feedburner:origLink></item>
		<item>
		<title>IE9 is better but it is still Internet Explorer</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/URh_4Xmxr6s/ie9-is-better-but-it-is-still-internet-explorer-220.html</link>
		<comments>http://www.cotsweb.com/blog/ie9-is-better-but-it-is-still-internet-explorer-220.html#comments</comments>
		<pubDate>Tue, 07 Jun 2011 16:41:48 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=220</guid>
		<description><![CDATA[I recently built a new website for MAC Eyewear, a local supplier of  designer spectacle frames.  I decided that the time had come to embrace some of the newer facilities available in CSS3.  In the past I haven&#8217;t used them much because too many people can&#8217;t see them in their browsers. Now I figure that a good [...]]]></description>
			<content:encoded><![CDATA[<p>I recently built a new website for <a title="MAC Eyewear stocks designer spectacle frames for opticians" href="http://www.maceyewear.co.uk">MAC Eyewear, a local supplier of  designer spectacle frames</a>.  I decided that the time had come to embrace some of the newer facilities available in CSS3.  In the past I haven&#8217;t used them much because too many people can&#8217;t see them in their browsers.</p>
<p>Now I figure that a good proportion of people are using Firefox 3.6 or later, Chrome, Opera, Safari or Internet Explorer 9 (actually not too many of them yet but it is growing).  As long as what I did still looked ok in the older browsers I thought I would try out enhancements to make the site look a bit prettier.</p>
<p>So I styled the supplier images with rounded corners and drop shadows;</p>
<p><pre><code>img.supplier {
float: left;
margin: 1em;
vertical-align:&nbsp;&nbsp; top;
border: 4px solid #888;
border-radius: 5px;
-moz-border-radius: 5px;
box-shadow: 4px 4px 4px #888;
-moz-box-shadow: 4px 4px 4px #888;
/*   filter: progid:DXImageTransform.Microsoft.DropShadow(offx=4, offy=4, color=#888888);&nbsp;&nbsp;*/
}</code></pre></p>
<h2>Browser Support</h2>
<p>The rounded corners are supplied by the border-radius directives and the drop shadows by the box-shadow directives.<br />
I have also used the -moz versions of these directives to keep Firefox 3.6 happy (quite a few people haven&#8217;t yet moved to FF4), Firefox 4, Opera, Chrome and IE9 are happy with the standard directives.  Safari uses the border-radius but doesn&#8217;t yet support box-shadow, it probably supports the -webkit version but I think it will catch up with Chrome pretty soon so I didn&#8217;t bother adding another line of code which would soon be redundant.</p>
<p>Now older browsers like IE6, IE7 &amp; IE8 don&#8217;t support the CSS3 rounded corners or drop shadows but IE has supported drop shadows by a proprietary directive for a long time, so I added a filter directive to give the drop shadows.  All sorted!</p>
<h2>But IE9 supports CSS3 AND filters</h2>
<p>Oops! When I tested this in IE9 I discovered a problem, IE9 being a modern browser provides pretty good support for the CSS3 directives, but it is still Internet Explorer and also supports the filter directive.</p>
<p>The results weren&#8217;t very pretty, nice rounded corners and drop shadow with an ugly square drop shadow behind it.  This is why the last directive in the CSS above is commented out.</p>
<p>I needed a separate stylesheet to give the extra instructions to the older versions of Internet Explorer but not to IE9.  So where I called the main stylesheet in my HTML page I added an extra bit of code.</p>
<p><pre><code>&lt;link href=&quot;stylesheet.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;!--[if lt IE 9]&gt;
&lt;link href=&quot;stylesIE.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
&lt;![endif]--&gt;</code></pre><br />
A small extra stylesheet which just applies the filter directive will be included but only for Internet Explorer versions less than 9, any other browser won&#8217;t include the extra stylesheet;</p>
<p><pre><code>/*
* This stylesheet contains only those styles which we need to make IE versions less than 9 work properly
* IE9 is close enough to a modern browser that it can use the main stylesheet
*/

img.supplier {
&nbsp;&nbsp;&nbsp;&nbsp;filter: progid:DXImageTransform.Microsoft.DropShadow(offx=4, offy=4, color=#888888);&nbsp;&nbsp;
}
</code></pre><br />
I think the results are pretty good.  People with older browsers see a nice site with the added drop shadows if they are using Internet Explorer.  People with modern browsers see an even nicer site with proper CSS3 rounded corners and drop shadows.  None of it is ugly but people with modern browsers get the benefit.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/URh_4Xmxr6s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/ie9-is-better-but-it-is-still-internet-explorer-220.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/ie9-is-better-but-it-is-still-internet-explorer-220.html</feedburner:origLink></item>
		<item>
		<title>How many people have javaScript disabled in their browsers ? Revisited</title>
		<link>http://feedproxy.google.com/~r/Cotswebcom/~3/CLigq5QEKuk/how-many-people-have-javascript-disabled-in-their-browsers-revisited-217.html</link>
		<comments>http://www.cotsweb.com/blog/how-many-people-have-javascript-disabled-in-their-browsers-revisited-217.html#comments</comments>
		<pubDate>Mon, 09 May 2011 13:47:31 +0000</pubDate>
		<dc:creator>cotsweb</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Search Engine Optimisation]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[javaScript]]></category>

		<guid isPermaLink="false">http://www.cotsweb.com/blog/?p=217</guid>
		<description><![CDATA[A little while ago I tried to devise a reliable method for figuring out what proportion of browsers had javaScript disabled.  My method sort of worked but then I discovered that Awstats (which is installed on all my sites) had a facility for determining whether visitors had javaScript disabled or not.  To activate this functionality [...]]]></description>
			<content:encoded><![CDATA[<p>A little while ago I tried to devise a reliable method for figuring out <a title="How many people have javaScript disabled in their browsers?" href="http://www.cotsweb.com/blog/how-many-people-have-javascript-disabled-in-their-browsers-161.html">what proportion of browsers had javaScript disabled</a>.  My method sort of worked but then I discovered that Awstats (which is installed on all my sites) had a facility for determining whether visitors had javaScript disabled or not.  To activate this functionality I needed to<a title="How to install the aw_stats_misc_tracker to track how many people have javaScript disabled." href="http://awstats.sourceforge.net/docs/awstats_faq.html#SCREENSIZE"> install the awstats_misc_tracker</a> which was fairly straight forward, from then on I have been collecting the necessary data.</p>
<p>The results?  After nearly 2 months of tracking I can say that about 2.5% have javaScript disabled, or 97.5% have javaScript enabled.</p>
<p>The website I have been tracking is  a <a title="Accommodation, Eating out and shopping in Stow on the Wold" href="http://www.stowonthewold.info">business and visitor guide to Stow on the Wold</a>.  I chose this site because it is fairly busy (about 4000 visitors per month) and because it very much a general purpose website with a wide cross-section of visitors.  I suspect that a more technical site might show more people with javaScript disabled, my theory is that most people don&#8217;t want to disable javaScript and wouldn&#8217;t know how to disable it if they did want to.</p>
<p>Update 21st December 2011 &#8211; A few more months of data show the percentage with javaScript disabled fairly steady at about 3%.   So about 97% of my visitors have javaScript enabled which is useful to know.</p>
<img src="http://feeds.feedburner.com/~r/Cotswebcom/~4/CLigq5QEKuk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cotsweb.com/blog/how-many-people-have-javascript-disabled-in-their-browsers-revisited-217.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.cotsweb.com/blog/how-many-people-have-javascript-disabled-in-their-browsers-revisited-217.html</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 1.617 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-16 16:55:41 -->

