klikh / bgmaps

3 stars 0 forks source link

Link to the specified track #3

Closed 4ndrew closed 12 years ago

4ndrew commented 12 years ago

Users should be able to get link to specified track (useful for posting to forums, blogs, twitter, etc).

klikh commented 12 years ago

As we decided, the best would be to use links like this: bgmaps.explosion-team.spb.ru/event/dvg2009/runpro/1

It requires some tuning of the server settings, so that all requests like this would be redirected to a single page event.html.

But when it is done on the server side, how will we be able to test this locally? We would need to use the same conflg... (I mean that python -m SimpleHTTPServer and other basic solutions won't work in this case).

4ndrew commented 12 years ago

We can use internal test webserver from the app engine sdk. But seems there is no way to use bgmaps.explosion-team.spb.ru/event/dvg2009/runpro/1 schema without servlets, it's troublesome.

UPD Anyway I suggest to implement this feature with ability to switch between bgmaps.explosion-team.spb.ru/event/dvg2009/runpro/1 and bgmaps.explosion-team.spb.ru/event.html#/dvg2009/runpro/1 schemas

klikh commented 12 years ago

Fixed! Welcome to test links like this: http://localhost:8000/event.html#/dvg2010/rider-light/11

klikh commented 12 years ago

http://hardcore.bgmapstest.appspot.com/event.html#/dvg2010/rider-light/11

klikh commented 12 years ago

http://hardcore.bgmapstest.appspot.com/event.html#/dvg2010/rider-light/322

4ndrew commented 12 years ago

Yes, good job! Looks very nice!