Infographic: World IPv6 Launch by the numbers

on June 19, 2012 in Projects with no comments by

read more →

Cookillian Alert styling: Simple Implied Consent

on June 13, 2012 in Projects with 1 comment by

Cookillian is very flexible and allows you to fully customize the alert that will be displayed as well as how it handles consent.

Here I will provide an example for a simple, unobtrusive alert at the bottom (or top) of a page, with an option to opt out of receiving cookies. This is a commonly used method for implied consent across major websites in the United Kingdom.

It also shows how to use Cookillian’s API to make an AJAX call, yet provide backward compatibility with browsers that do not use JavaScript.

read more →

Cookillian and JavaScript

on June 12, 2012 in Projects with 2 comments by

By default, Cookillian will delete cookies that are set by WordPress (ie., wp-settings-*) and other WordPress plugins. As JavaScript generally lies outside the realm of WordPress, the idea is that certain scripts, such as Google Analytics, are removed from the website and into the Header or Footer fields of Cookillian’s JavaScript section. This prevents the script from loading when the visitor has not (yet) given permission to receive cookies.

This is the preferred method, as it gives greater control over the cookies set by third party scripts. As mentioned, Google Analytics is one such script that should be moved, and is probably easiest to accomplish. But there are some that require a bit more work, like the Twitter Tweet button and Google AdSense, which I will explain next.

I will also provide a sample code that with the help of Cookillian will delete local cookies set by existing JavaScript, to help ease the transition.

read more →

World IPv6 Launch – Success!

on June 7, 2012 in Projects with no comments by

Did you notice a near-total collapse of the Internet today? Couldn’t Google if Gordon Brown owes you money? The stream of Facebook pokes suddenly stopped? No? That’s because the Internet kept working just fine, despite that today marks an important event in its history: 06/06/2012 was World IPv6 Launch day. read more →

Cookillan Alert styling: Beeb

on May 31, 2012 in Projects with 1 comment by

In the Cookillian version 1.1 release post, I had promised to show how to style an alert. With the following styling, I have taken example of the BBC website, and aptly named it “Beeb”.

The styling is “fluid”, which allows it to change the layout depending on the screen resolution. This is especially helpful on mobile browsers, where the screen real estate becomes limited. read more →

Lazy loading Disqus in WordPress

on March 20, 2011 in Projects with 11 comments by

As you may have noticed, I have recently updated theme of my website. I’ve also cleaned up some hardly used features, including the translation bits; It seemed to annoy people more than anything.

But for some reason, the pages with single posts – like this one – were slow to complete loading. A quick look in Firebug showed that there were quite some delays getting images from the Disqus CDN. Since I don’t own that content, nor could I modify the Disqus Javascript, I had to come up with a solution to this.

From working with jQuery, I remembered that their Disqus comments only get loaded once you’ve reached a certain point on the page. Looking into their solution, I figured I could implement the same method with Disqus in WordPress. read more →

Faster WP Super Cache with NginX

on December 17, 2009 in Projects with 9 comments by

Burnout!A while ago my blog started to act up by randomly showing translated pages in place of the desired language. The culprit was a WordPress caching plugin (Hyper Cache) that started to misbehave with the latest upgrade. I promptly disabled it and went on a search for a replacement.

As you may have read in one of my previous blog entries, specifically “NginX and Apache, but no memcached”, I prefer to use NginX as the front-end serving static files, and Apache as a back-end dealing with the dynamic pages. So it would be ideal if NginX could serve up static WordPress files, which is exactly what I am doing now with the help of WP Super Cache. read more →