I have made a plug-in for Sporttracks that I use to export my activities to this blog. There’s a download link at the bottom of this post.
The plug-in exports the following to the blog:
- The title
- Descriptions/notes
- Statistics for each lap and for the total activity (time, distance, avg. speed, energy, avg heartrate, max heartrate)
- The activity on a map (Google Maps)
- Chart showing speed and heartrate compared to the time travelled.
In order for this to work, two things need to be considered:
- Your blog must support the metaWeblog api, e.g. WordPress at the url: http://<blogroot>/xmlrpc.php.
- Your blog must be signed up to Google Maps, e.g. you have the following in the head section of the pages showing the exported posts:
<script src='http://maps.google.com/maps?file=api&v=2&key=<key>' type='text/javascript' />
(You need to sign up for a key)
When this is provided, you can load the plug-in in Sporttracks. A new settings page is created. Here you need to provide the following settings:
- URL An url to a script, which can receive the XmlRpc format and understands the metaBlogApi. In WordPress this is http://<blogroot>/xmlrpc.php.
- Username to an account in the blog with permissions to create a post.
- Password The password corresponding to the account above.
- Publish Select this box if you want your posts published as part of the export. If not selected the post will be in a draft version.
Get the plug-in here.
To install the plug-in, you must copy the downloaded dll to your Sporttracks installation directory, e.g. C:\Program Files\Zone Five Software\SportTracks 2.1\Plugins. When you have done this, (re)start Sporttracks and you can now export (please see above to set the correct settings).