<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Running and Fitness Blog by Neil Lock &#187; Garmin API</title>
	<atom:link href="http://www.neillock.co.uk/training-blog/category/coding/garmin-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neillock.co.uk/training-blog</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 15:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Garmin PHP API</title>
		<link>http://www.neillock.co.uk/training-blog/2009/04/garmin-php-api/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=garmin-php-api</link>
		<comments>http://www.neillock.co.uk/training-blog/2009/04/garmin-php-api/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 17:02:22 +0000</pubDate>
		<dc:creator>Neil</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Garmin API]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Nike+]]></category>

		<guid isPermaLink="false">http://www.neillock.co.uk/training-blog/?p=212</guid>
		<description><![CDATA[NB 17JUNE 2010 When I posted this blog I thought I would update this code base a little more &#8211; as there was limited (read none) feedback and requests for it I stopped working on it. Should you want some info about the code feel free to ping me a comment on this thread and [...]]]></description>
			<content:encoded><![CDATA[<blockquote>
<p style="text-align: left;"><strong>NB 17JUNE 2010 When I posted this blog I thought I would update this code base a little more &#8211; as there was limited (read none) feedback and requests for it I stopped working on it. Should you want some info about the code feel free to ping me a comment on this thread and ill get back to you or drop me a message <a href="http://www.neillock.co.uk/training-blog/contact-me/">here</a>. Since starting this coding I now have my Garmin data retrieved through wordpress and fed into the amchart graphs displayed on the right.</strong></p>
</blockquote>
<p>I am a developer by trade and one of the reasons I bought this Garmin device was to play with what extra stuff I could get above and beyond my Nike+.</p>
<p>When I searched google I couldn&#8217;t really find any form of api to interact with the data so I cobbled together a first draft of stuff. Currently the code is used to pull the TCX file from the garmin site extract the raw data and create an embeddable google map (see below). I will provide the JS file and some code for others to embed on there own blog very soon and will  attempt to update the php classes when I need to update them for my own benefit!</p>
<p>Please find all code classes in this folder: <a href="http://neillock.co.uk/code/php/">http://neillock.co.uk/code/php/</a>. This code is *roughly* commented. For simplicity I have also created phps files for you to look at before downloading here<br />
<a href="http://neillock.co.uk/code/phps/">http://neillock.co.uk/code/phps/</a>.</p>
<p>If you do look at, use, sniff at any of my code can you give me a shout &#8211; it would be cool to see what others have done with it! Also if I have been beaten to the mark and there is better api out there shout cause I couldn&#8217;t find it!!!</p>
<p>Neil</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a href="http://www.neillock.co.uk/training-blog/2009/04/embedding-the-london-marathon-route/" rel="bookmark" class="crp_title">Embedding My London Marathon Route App</a></li><li><a href="http://www.neillock.co.uk/training-blog/2009/05/they-think-its-all-over/" rel="bookmark" class="crp_title">They think its all over&#8230;</a></li><li><a href="http://www.neillock.co.uk/training-blog/2009/03/nike-town-run/" rel="bookmark" class="crp_title">Nike Town Run</a></li><li><a href="http://www.neillock.co.uk/training-blog/2009/03/southend-20-milesthe-long-one/" rel="bookmark" class="crp_title">Southend &#8211; 20 miles&#8230;The Long One</a></li><li><a href="http://www.neillock.co.uk/training-blog/2010/02/w6-d2-long-run-to-work/" rel="bookmark" class="crp_title">W6 D2 Long run to work&#8230;</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.neillock.co.uk/training-blog/2009/04/garmin-php-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
