Entries from June 2015

Twitter Cards – adding previews and summaries to a tweeted blog post

Facebook implemented Open Graph tags a long time ago, so that links from blogs and websites automatically pull in preview images and a summary text. That helps the viewer to see more about the linked page without having to click through. Twitter Cards does the same thing for Twitter. I’ve been lax and only just recently… (Read More)

Automatically detecting browser language using htaccess

The tourism organization for Lake Lucerne has just launched a great-looking new website. Modern design, nice typography, beautiful pictures and a simple navigation all add to the experience. But one small improvement could be made by adding a few simple lines of code to the .htaccess file: making sure that visitors to the site automatically… (Read More)

Video preview image for The Great Escape

The Great Escape

A lovely idea from Graubünden Tourism. Set up an interactive video advertisement in Zürich’s main station, showing what a beautiful part of the Alps you could end up in by just getting on a train. Then invite passers-by to join you by printing them a free ticket on the spot. (And wait for the initiative to spread across… (Read More)

Containers and modules in web design

Using modules in front end web programming to allow more flexibility and more independence from site layouts for content elements.

Blow-up boating on Lake Thun

Jo found that because we’d saved so many points on our supermarket card, that we could “afford” a kayak using points alone. A few days later, and a large and heavy cardboard box arrived on the post woman’s scooter trailer and we had our dinghy: an Intex Challenger K2.

Melchsee Frutt, Switzerland

The Melchsee is a lake in the mountains,  tucked away in the lee of a range of peaks between Meiringen and Engelberg. Nearby, the smaller stretch of water called Blauseeli (little blue lake) is a haven for frogs after the snows melt, and the edges of the pool are lined with frog spawn at this… (Read More)

Cudrefin, Switzerland

Rain clouds gathering over the Jura mountains, before coursing down to Lake Neuchâtel, near the unofficial border between French- and German-speaking Switzerland.

Freedom to take photos in public places under attack

The freedom to take photos in public places is under attack. Until now, in most countries in Europe you were safe to take and publish photographs that are taken from public ground: a law called “Freedom of Panorama”. When you’re on holiday, you can take a photo from the London Eye and share it with your friends on Facebook.… (Read More)

Airolo, Switzerland

Deep amongst the mountains which form a natural boundary between the northern and southern sides of the Alps, Airolo sits below the old, snaking Gotthard Pass road. The intrepid northern motorway motorist heading south for the sun arrives in Airolo gratefully, often having queued for several hours on busy summer weekends to pass through the Gotthard… (Read More)

Avoiding specificity issues in CSS

Holy moly. What a discussion we’ve gotten into over on Twitter about CSS specificity, BEM, and inheritance. I wrote yesterday that the idea is flawed and tries to work around problems which aren’t actually problems at all, but part of the language of CSS. As Duncan noted: the problem is actually, “people write bad CSS”. Dirk from… (Read More)