Nightmare bike rides

Before the [W:BBC] series Britain By Bike reaches hereabouts and shows you some fantasy rural cycling idyll I can reveal some of the real everyday horrors you can encounter…

Get the Flash Player to see this video.

The opening shots are from a head mounted camera hence the swaying effect.

This post was to test the [W:HTML 5] embedding thing but it did not work. And so there is a better mp4 version (25MB) and a full screen version (120MB) available.

The music is a version of The Maids of Mitchelstown by [W:The Bothy Band].

Update:
The HTML 5/ MP4 thing seems to be alive and well. Next stop the [W:Ogg] version.

[video:http://www.media.duncanmoran.net/nightmaresmall.mp4|http://www.media.duncanmoran.net/nightmarelight.ogg|url.webm http://www.media.duncanmoran.net/nightmaresmall_540x360.jpeg 605 340]

Updated update: There is an Ogg version now and it is working on my Mac with Safari, FireFox, Opera and Chrome browsers. And in FireFox on Ubuntu in Virtual Box too.
So farewell Flash!

Cimy Header Image Rotator and a Twenty Ten Child Theme

The previous post about rotating the header images in the Twenty Ten theme has been quite popular

but it was bad advice because as soon as you update your WordPress and/or theme files your changes are overwritten and lost. The solution is to move the changes into a child theme where they will overwrite the files in the original theme even when updating.

To make a child theme we simply create a folder in the WordPress themes folder (in the wp-content folder) and give it a name: mychildtheme (or whatever you want to call it).

We then save a plain text file called style.css into the mychildtheme folder. The style.css file reads:

/*
Theme Name: mychildtheme
Template: twentyten
*/

@import url(“../twentyten/style.css”);

#cimy_div_id {
clear: both;
border-top: 4px solid #000;
border-bottom: 1px solid #000;
width: 940px;
height: 198px;
}

Where the Theme name and Template are required to indicate the parent and the child. The import URL grabs the original style.css file to be altered by our style.css file. We then include the #cimy_div_id section that we had originally used in the header.php file.

Create a new plain text file and copy the contents of the header.php file into it. Replace the

code with the

as before (we no longer need the styling here as it is in the style.css file), and then save this as header.php into the mychildtheme folder.

We can now preview and activate our mychildtheme as you would any other theme within WordPress. Our modified header.php will be used instead of the default header.php and our style.css will be used to make changes to the default styling. You can add further changes to the styling by adding to the style.css file in the child theme. The Firebug extension for the Firefox browser is a quick way to experiment with making changes before adding the code to your style sheet.

GameSalad and the iGoD

Note: This will require the GameSalad plugin to be installed to work – and then it is probably only good with Safari on a Mac!

Experimenting with the GameSalad game creation software. It is still a beta version and has crashed my Mac several times – although this is probably largely due to me trying run before I can walk. But it only took a few minutes to cobble together an experimental piece that will become the Intergalactic Goats of Doom (or iGoD 😉 but may evolve into the Intergalactic Vomiting Vampire Goats of Doom.

Update: This has now moved to here as the plug in continues to cause problems/crashes.

You just click to move the Smiley (or touch when I get it on an iPad) to or from the goat. Why not? The M key kills the backing beat and the S key starts it again.

Dragonfly: almost emerged

We spotted a dragonfly trying to emerge from its nymph skin but the nymph had not attached itself securely to a reed….

…and so it struggled to free itself…

Get the Flash Player to see this video.


Once freed it sat recuperating for a while; so I stopped filming and it immediately took off into the summer sky…. somedays nothing seems to go right.