Having talked to the people at groundspeak (who run geocaching.com). The current development direction of the geocaching module would break the licensing of the geocaching user if they used it. It is OK to link to a cache - but not otherwise to publish information from the cache. Nor are you allowed to reverse engineer the geocaching section of the GPX file.
So - what to do instead?
A standard GPX file (which can be downloaded from many types of GPS) contains three main things (along with some metadata):
I see several areas of interest.
I'm not too happy with the geocaching module as it stands. It doesn't do enough to be helpful. So - I've started looking at some changes in direction:
We need to be careful to stay within the geocaching.com license. This does not permit the users to publish data from geocaching.com open to the public (from what I can see).
Parsing standard GPX is OK. Parsing the geocaching addons probably isn't. I believe that linking to geocaching.com may be acceptable - but I'm not sure.
So - I think that the next change could instead be:
I'll have to check with geocaching.com about what they are willing to allow for linking.
Current code is in the gpx branch of http://dev.chrissearle.net/git/geocaching.git
New version (6.x-1.0) of the geocaching drupal module.
Source code on https://dev.chrissearle.net/git/geocaching.git
A module that will use a taxonomy containing geocache names (GCXXXX) or tracking (TBXXXX) and will auto-add a list of links to the node in page view linking to geocaching.com. It will also provide a filter [GCXXXX] to provide titled links from the taxonomy within a post. Still working on the docs and getting svn updates to appear here automatically.