โ† blog

WordPress Runkeeper plugin

25 May 2011 ยท Uncategorized

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 programmer so i have taught myself everything.

As a result this may not be the most efficient 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 your post.

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 โ†’

Comments

31 May 2011

Sweet work, but I’m afraid I can’t find the download link. I might be blind. :)

Peter
31 May 2011

Have added the link and will change the submit button. Thanks for the feedback

31 May 2011

Very cool, I’ve been looking for a way to include runs on my blog. I might have to tweak it a little, but I’ll definitely use it. Thanks

24 Jul 2011

To get the content from RunKeeper you need to put [wprunkeeper activity=“ACTIVITYID”] in the post. If your RunKeeper activities are set to Street Team or Me Only you’ll get an error when posting the data to WordPress.