Guinness, say hi to the Data Protection Commissioner

This morning, Diageo Ireland (the company behind Guiness) spammed me again, despite my repeated attempts to remove myself from their mailing list.

Thanks to Damien who pointed me in the direction of the Data Protection Commissioner I filled out the complaint form with the following. The Commissioner’s Guidelines for marketing by electronic mail are quite clear and Diageo obviously ignore them. Hopefully something positive will come of this.

On the 8th of April, 2007 Diageo Ireland sent me an unsolicited email regarding a “poker nights” promotion. It appears that someone signed me up, but Diageo never confirmed the invitation. I did not opt in to receive any mailings from them. I also unsubscribed using their subscription page. More details, including commentary about the unsubscribe process are here: http://ocaoimh.ie/2008/02/07/a-pint-of-guinness-flavoured-spam/

Unfortunately, on June 20th 2008, I was spammed by them again. http://twitter.com/donncha/statuses/839602319
I unsubscribed again.

This afternoon I was sent another email from Diageo with the text:
“CONOR,
BECAUSE WE
DON’T WANT YOU TO BE
LEFT IN THE DARK…
Give us a few minutes and we’ll give you so much more
GIVE US A FEW MINUTES
AND WE’LL GIVE YOU
SO MUCH MORE”

Unfortunately I suspect I’ll always get spam emails from them despite the fact that I never signed up for anything, don’t drink Guinness and unsubscribed twice already.

Regards,
Donncha O Caoimh

Peeing into the wind at the North Pole

The funny thing is, when I started reading Richard Hammond’s account of racing Jeremy Clarkson and James May to the North Pole, I did not expect to find out quite so much about the toilet habits of sub zero temperature travellers. Still, a fun read about the Top Gear crew.

“Bloody hell, guys, there’s a bog here. I’ve found it. It’s beautiful. I want to see if it’s real. Give me the gun. And the bog roll. If I’m not back in half an hour, tell my family I died a happy man.”

If that’s a little too squeamish for you, then you really should avoid Clarkson Island. Thanks Mark for twittering this excellent little piece. I love the bit where the young Clarkson gets on the quad bike, and the announcer’s comment that follows ..

PS. WP Super Cache update to follow in a few days. If your blog uses a mixture of query strings and fancy permalinks I’m testing a mod_rewrite rule that may make your life easier:

RewriteCond %{QUERY_STRING} !.*=.*

I used to …

Looking around the shopping center this afternoon I remembered how I used to wonder why parents had a dull lifeless haggard look about them. This was when I was single. Now I’m a parent and I know why.

I used to think that people who had their credit cards stolen probably used them on a dodgy site or entered their details on a non secure server. Then my credit card details were skimmed somehow.

I used to spell Windows Windoze, but then I graduated from college.

I used to think I was invincible, I’d climb trees, climb the local quarry, go caving, do slightly mad stuff. Life experience taught me otherwise.

I used to look for gratification in material things but then I got married and my son was born. Wow.

I’ve never been happier. What about you?

The Copper Kettle

The Copper Kettle in Castletownbere is a small little cafe we stumbled upon the first time we visited the town earlier this year and again in April. It’s in the main square of the town, near the petrol station and well worth a visit if you’re down that direction.

It’s always a good sign when local people eat in an establishment and the first time we were there a granny took her grand daughter and her 3 friends for lunch, sitting next to us, and keeping Adam delightfully amused with their chattering and laughing.

Were we lucky or is it normal that everyone we met in the Bantry area of West Cork was extremely pleasant, helpful and a joy to talk to?

Shocked that my credit card number was stolen

Wow, this is one of things you never expect to happen to you. Linode, where this blog is hosted, recently emailed me saying my monthly payment had been denied and I should contact my bank.

This morning I received a letter from the bank saying they had tried to call me and would I ring them which I did. After holding for what seems like an age I talked to a nice girl at the bank who told me there were suspicious transactions on the card:

  1. Aug 30: 1 Euro spent at the iTunes store. Never used it. Alarm bells ringing.
  2. Aug 31: 3 Euro at “Usenext”, whatever that is.
  3. Sep 3: Various amounts (168 Euro, 48 Euro..) spent at Virginmedia on subscriptions.

Ouch, thankfully the bank caught it and I’m not out of pocket, but it’s frightening when you’re the victim of credit card fraud. I presume it was skimmed by the same guys who had impersonated repair men and modified credit card machines around the country that was widely reported last week. The card hardly ever gets used online. Cutting it up now.

WordPress MU 2.6.1

WordPress MU version 2.6.1 has just been released. This is a sync of the WordPress maintenance release that saw the light of day a few weeks ago.

This is a required upgrade as it fixes a number of critical bugs, particularly in deleting users and blogs. Upgrading is as easy as copying over the files of your current install.

For a more comprehensive list of changes, check the timeline, but in short, yes you do need to upgrade!

WordPress MU is a multi blog version of WordPress that runs many sites such as Linux.ie Blogs and WordPress.com. If you run the single blog version of WordPress you can probably ignore this message.

Free Priority Boarding on Ryanair

We’re all used to being fleeced by Ryanair and Aer Lingus with their 5 Euro per person, per flight “credit card charge”, which in reality should amount to 2 or 3 Euro total, so sometimes you can’t help but smile when someone gets away with fooling them ..

Darran figured out a really easy way of getting priority boarding on a Ryanair flight. I’m sure it’ll work with any other carrier too, not that I’d be encouraging you to do anything illegal, especially in these hard-up times when Ryanair are possibly skimming on their fuel allowances.

Didn’t something similar happen in the US when a NY Times journalist modified his boarding pass?

PS. In all seriousness, it’s up to Ryanair to close this loophole. The barcode on the ticket should verify that the customer did in fact buy the “Priority Boarding” upgrade. It’s the most basic check any retailer should do. If you’re an online retailer using Paypal’s IPN service they stress again and again to check every little detail of the transaction.
Who knows how much Ryanair have lost because of their incomplete checks?

TechLudd Cork 2008

Anton Mannering organised TechLudd Cork last night at the Cork International Airport Hotel. I demoed Tweet Tweet and answered questions about WordPress and some of the plugins I had running on my blog.

Apart from showing off Tweet Tweet I took a few photos too. Pictured below are only some of the people there including (in no particular order): Walter, Bernard Goldbach, Anton, Aileen, Gavin Harkness, James Galvin (who should tweet more about Tweetrush!), Walter Wynne, John Peavoy, Pat Phelan, Ashley Halsall, Robin Blandford and some crazy guy who calls himself Damien.

If you see yourself in one of the photos please leave a comment, and apologies for not getting your name on the night.

Yes, the lighting in the toilets in the Cork International Airport Hotel really do change colour.

WP Super Cache 0.7 – the dupe content killer

WordPress.org user, “definitelynot” discovered a bug in the WordPress plugin, WP Super Cache that could expose blogs to duplicate content penalties. Unfortunately this affects every blog that uses the plugin in “ON” or full “Super Cache” mode, and has URLs that end with the “/” (forward slash) character. If the plugin is on “half on” mode, you’ll be fine.

The problem is that an anonymous user might visit a legitimate URL, ending with a slash, the plugin then creates a static file out of that page, which is then used when people visit the same URL. Unfortunately if someone links to that URL without the ending slash, a visiting browser or search engine bot won’t be redirected to the proper URL, they’ll be served the static html file.

For example:

  1. John visits the URL /2007/05/23/why-the-nurses-cant-go-on-strike/ on my site. WP Super Cache creates a html file of that page.
  2. In his enthusiasm for that post, John publishes a post about those zany doctors, but he forgets the ending “/”.
  3. Googlebot, seeing fresh content on John’s site, crawls it and sees the link, visits my site eventually and wonders why it’s seeing the exact same page at two different URLs.

To be fair, Google is pretty good at figuring out where duplicate content is supposed to go but it’s better to avoid the issue completely. It also only matters if there are links to your site without the ending slash. The most common will probably be to your homepage as it’s likely internal URLs will be copy/pasted.

How to Fix
You should update to version 0.7 of the plugin which checks if your blog is affected by this problem. It also has instructions for updating the mod_rewrite rules in your .htaccess. It’s fairly easy to fix. Thank you “andylav” for the mod rewrite magic!

  1. Edit the .htaccess in the root of your WordPress install.
  2. You’ll see two groups of rules that look like this:
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
    
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    
    
  3. You need to add the following 2 rules above each block of “RewriteCond” lines:
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    
    
  4. The rules should eventually look like this:
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} !.*s=.*
    RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
    RewriteCond %{QUERY_STRING} !.*attachment_id=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
    
  5. Or you could just delete those rules and let the plugin regenerate them for you again.

PS. Thanks also to Lloyd for noticing the “enable the plugin” link was pointing at the wrong URL, and to Ryan who spotted a minor problem with the admin page and was kind enough to send me a Tweet about it.
PPS. I’ve just tagged 0.7.1 to fix some problems with the updating of the .htaccess, mainly for new users. If 0.7 of the plugin works for you, there’s no need to upgrade!

Howto: Twitter sms notification for Meteor and Vodafone

A few weeks ago Twitter annoyed a lot of European users when they stopped sending sms notifications to their users. I never really used that facility so I didn’t miss it but many Tweeters did. Outrage and blue murder were spoken of in the same sentence. People marched in the streets, there were riots.

OK, maybe not, but it annoyed a few prolific Tweeters and I wondered aloud if I could make Tweet Tweet send me sms notifications when I got replies or direct messages. After quite a bit of testing and playing around with Meteor’s website I’m glad to say I cracked it. I added hooks to my plugin for other plugins to latch on to, and wrote a small bit of code that logs in to Meteor.ie and uses their free web text to notify me of replies or direct messages.

Following on from that success, Jason Roe added code so Irish Vodafone customers could get sms notifications too!

So, if you really miss the sms notifications from Twitter, and you’re an Irish Meteor or Vodafone customer, download Tweet Tweet, install it in your WordPress blog and enjoy getting those sms notifications from Twitter again!

Developers – if your phone company isn’t covered just yet, please take a look at the existing Meteor and Vodafone plugins. The framework is there. Using curl to login and send texts can be a little daunting but it’s not impossible. Get in touch by leaving a comment here, or using the contact form on the about page.

PS. Almost forgot to mention Tweetrush went live yesterday with some very nice Twitter stats. Check out what my friend AJ has to say about the launch!
PPS. I’ll be demoing Tweet Tweet at Techludd Cork on Thursday night. If you’re there, please say hi!