What the world needs is an Open Source, Open Data, self-hosted replacement for Stava, Dailymile, Runkeeper, etc.
I downloaded phpMyGPX yesterday afternoon. I was up most of the night studying the code. I’m not a very good programmer, but it seems possible that I might be able to modify phpMyGPX into what I’m looking for.
I’ve got a crude prototype of a ride report up and working.