Archive of ‘Uncategorized’ category

Majorca in the sun

First full day of our summer vacation. We are spending the holiday in porta pensas. It is in the north of the ireland and is very pretty. Have spent the day around the pool which is freezing. Oliver is enjoying it however. He is full of beans and loving every bit. In contrast i just feel tired. It is strange how doing nothing all day makes you feel tired. Admitably the all inclusive drink does not help.

Have been thinking however about photo file storage. It feels like it should be a simple task but the more i think anout it the more complicated it becomes. On paper the idea has to be to just store one version of the photo. However, in practice this does not work. If you have a large tiff file you can not resize it on the fly for a website. So the question remains. I feel the best way is to upload the master file to the cloud and then have a script that runs on a scheduled job that tesizes and saves the image into a different folder. That way you have a folder for each purpose required but still have the master file.

WordPress Runkeeper plugin

After searching the wordpress plugin site and searching the internet I decided to take the plunge and produce my first wordpress plugin.

This has been done as a bit of fun in the evening. I am not a programer so i have taught myself everything.

As a result this may not be the most efficent or tidy plugin ever made. However, it seems to work for me.

It works by getting the runkeeper json feed and then i grab the values that i want to display. I then display the values using similar html and css.

Anyway I am releasing the code so that if anyone is interested in using it or would like to improve it they can.

Simply download the zip file and unpack it into your wordpress plugin directory.

Then activate the plugin via the normal way.

When you want to display the activity details in your post just type wprunkeeper activity=”(activityid)” in [ ]

The activity id can be got by looking at your runkeeper page. In the url it displays the activity id.

Again i can not stress enough that all of this is done in good faith. Please use at your own risk.

wprunkeeper plugin

Chester Half Marathon 2011

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

Another year of running the Chester Half Marathon. I had done very little training so was not looking for my fastest time. However, I did better than expected. Above are my timings from Runkeeper.

Running

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

Sunday long run

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

17th April Run

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

14th April Run

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

10th April

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

8th April 2011

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

31st March

Distance
mi
Duration
h:m:s
Avg. Pace
min/mi
Avg.Speed
mph
Burned
calories
Climb
ft

1 2