RouteGadget unpopular?
Moderators: [nope] cartel, team nopesport
Re: RouteGadget unpopular?
I almost always attempt to put my routes on Routegadget. However if a club's website takes me to the old version I don't - it's that simple.
- EddieH
- god
- Posts: 2513
- Joined: Tue Aug 08, 2006 4:04 pm
Re: RouteGadget unpopular?
EddieH wrote:I almost always attempt to put my routes on Routegadget. However if a club's website takes me to the old version I don't - it's that simple.
I wonder what is the thinking behind keeping the old java version still there. Why not simply redirecting all visitors to RG2? There is links all over the internet, so editing link at club's web site really isn't quite enough. If manager is still in use, one could either redirect only normal viewers (not manager user), or install and use manager in an other directory. Even upgrading RG1 to more recent version would erase the java misery.
-
Jagge - white
- Posts: 61
- Joined: Mon May 08, 2006 1:40 pm
Re: RouteGadget unpopular?
Perhaps a thought about backward compatibility? Good to see the Kendal urban courses now up on RG2, but the original details seem to point to the old map/courses on RG1, not accessible to everybody (unless you can work out the file address and point the new tool in an appropriate direction). I had thought that the new RG versions generally worked with archived course files, so given that both seem to be LOC addresses, is it simply a case of organisers not just copying old URLs, was RG2 not available at the time of drafting the details, or is there a subtlety here?
- Glucosamine
- orange
- Posts: 133
- Joined: Wed Sep 07, 2011 6:03 pm
Re: RouteGadget unpopular?
Glucosamine wrote:is it simply a case of organisers not just copying old URLs, was RG2 not available at the time of drafting the details, or is there a subtlety here?
they're fully compatible
http://www.loc.routegadget.co.uk/ is the homepage of RG1
http://www.loc.routegadget.co.uk/rg2/ is the homepage of RG2
Andrew Dalgleish (INT)
Views expressed on Nopesport are my own.
Views expressed on Nopesport are my own.
- andy
- god
- Posts: 2455
- Joined: Thu Nov 06, 2003 11:42 pm
- Location: Edinburgh
Re: RouteGadget unpopular?
Yes - good to see Kendal on RG, but it's a strange looking map on the iPad!
- High Peak
- string
- Posts: 9
- Joined: Fri Jan 28, 2011 3:57 pm
Re: RouteGadget unpopular?
For example all links at worldofo point to those not up to date versions, for example:
http://omaps.worldofo.com/index.php?id=109412
Also, there is plenty of links all over the web pointing to old versions not working that well any longer:
http://singletrackworld.com/forum/topic ... st-5320036
It doesn't make much sense to me to keep directing viwers to the old, not that functional version how when there is plenty of better alternatives available (and easy to implement).
http://omaps.worldofo.com/index.php?id=109412
Also, there is plenty of links all over the web pointing to old versions not working that well any longer:
http://singletrackworld.com/forum/topic ... st-5320036
It doesn't make much sense to me to keep directing viwers to the old, not that functional version how when there is plenty of better alternatives available (and easy to implement).
-
Jagge - white
- Posts: 61
- Joined: Mon May 08, 2006 1:40 pm
Re: RouteGadget unpopular?
I'm investigating a way to setup redirects on the server. But there are variations on the url structure for some clubs, so setting up the regex to cope with that is challenging my regex and .htaccess skills. There are about 80 individual installations, each in it's own subdomain.
For example the 2 formats are:
these need to be rewritten to
Any techie people with a solution?
For example the 2 formats are:
- Code: Select all
www.club.routegadget.co.uk/cgi-bin/reitti.cgi?act=map&id=20&kieli=
www.club.routegadget.co.uk/club/reitti.cgi?act=map&id=20&kieli=
these need to be rewritten to
- Code: Select all
www.club.routegadget.co.uk/rg2/#20
Any techie people with a solution?
- Paul Frost
- addict
- Posts: 1176
- Joined: Sat Feb 26, 2005 6:25 pm
- Location: Highlands
Re: RouteGadget unpopular?
from a quick researching
or similar!
http://stackoverflow.com/questions/5060 ... cript-file
https://wiki.apache.org/httpd/RewriteQueryString
- Code: Select all
RewriteRule ^cgi-bin/cgi-bin.cgi?act=(.+)&id=(.+)&kieli=(.+)$ /rg2/$2/
RewriteRule ^club/cgi-bin.cgi?act=(.+)&id=(.+)&kieli=(.+)$ /rg2/$2/
or similar!
http://stackoverflow.com/questions/5060 ... cript-file
https://wiki.apache.org/httpd/RewriteQueryString
Andrew Dalgleish (INT)
Views expressed on Nopesport are my own.
Views expressed on Nopesport are my own.
- andy
- god
- Posts: 2455
- Joined: Thu Nov 06, 2003 11:42 pm
- Location: Edinburgh
Re: RouteGadget unpopular?
The link to the Kendal Urban routegadget on the LOC site takes you to RG2.
- bewildered
- red
- Posts: 166
- Joined: Wed Jan 11, 2012 11:06 am
Re: RouteGadget unpopular?
That didn't work, for several reasons. One of which is that 'club' is a variable, it's different for every club. But it gave me a few things to think about ways to do it. I still haven't managed to get a combination to work but have run out of time for now, and my brain hurts.
Every url has an identical format if you start from the ^/reitti.cgi
It's only the "id=X" that needs collecting and inserting into the new url.
But I thought the new url had to have the whole http://www.club.routegadget.co.uk/rg2/#20 rather than just the /rg2/#20
If collecting and inserting the ID proves to hard, in the worse case it might be helpful if I could just remove everything that's after .club.routegadget.co.uk/
and replace it with rg2
As people could then just look down the list for the event they want.
Every url has an identical format if you start from the ^/reitti.cgi
It's only the "id=X" that needs collecting and inserting into the new url.
But I thought the new url had to have the whole http://www.club.routegadget.co.uk/rg2/#20 rather than just the /rg2/#20
If collecting and inserting the ID proves to hard, in the worse case it might be helpful if I could just remove everything that's after .club.routegadget.co.uk/
and replace it with rg2
As people could then just look down the list for the event they want.
- Paul Frost
- addict
- Posts: 1176
- Joined: Sat Feb 26, 2005 6:25 pm
- Location: Highlands
Re: RouteGadget unpopular?
I have now got a workable solution and it is implented for all clubs on routegadget.co.uk.
All links to the old RG1 index page (ending reitti.cgi) now automatically redirect to the RG2 index page.
All links to an RG1 event (with format reitti.cgi?act=map&id=XXX&kieli=) now automatically redirect to that event in RG2.
This works for any link anywhere for those clubs (so for example it means that all World Of O links now go to RG2, as well as any random links on other websites, as long as the query string is exactly as shown above)
This works for a range of clubs and links that I have tested, but please let me know if you find something that doesn't work.
[Following details editted now that a better solution is available.]
This may cause problems for people who can't get RG2 to run. The best solution is to upgrade your browser. The workarounds are:
1) for the index page change reitti.cgi to RG1reitti.cgi, so for example http://www.happyherts.routegadget.co.uk/cgi-bin/RG1reitti.cgi
2) for a specific event change reitti.cgi to RG1reitti.cgi, so for example use http://www.happyherts.routegadget.co.uk/cgi-bin/RG1reitti.cgi?act=map&id=156&kieli=
And just to keep the techies happy:
Turned out to be:
All links to the old RG1 index page (ending reitti.cgi) now automatically redirect to the RG2 index page.
All links to an RG1 event (with format reitti.cgi?act=map&id=XXX&kieli=) now automatically redirect to that event in RG2.
This works for any link anywhere for those clubs (so for example it means that all World Of O links now go to RG2, as well as any random links on other websites, as long as the query string is exactly as shown above)
This works for a range of clubs and links that I have tested, but please let me know if you find something that doesn't work.
[Following details editted now that a better solution is available.]
This may cause problems for people who can't get RG2 to run. The best solution is to upgrade your browser. The workarounds are:
1) for the index page change reitti.cgi to RG1reitti.cgi, so for example http://www.happyherts.routegadget.co.uk/cgi-bin/RG1reitti.cgi
2) for a specific event change reitti.cgi to RG1reitti.cgi, so for example use http://www.happyherts.routegadget.co.uk/cgi-bin/RG1reitti.cgi?act=map&id=156&kieli=
And just to keep the techies happy:
andy wrote:from a quick researching
- Code: Select all
RewriteRule ^cgi-bin/cgi-bin.cgi?act=(.+)&id=(.+)&kieli=(.+)$ /rg2/$2/
RewriteRule ^club/cgi-bin.cgi?act=(.+)&id=(.+)&kieli=(.+)$ /rg2/$2/
or similar!
Turned out to be:
- Code: Select all
# if a call to RG1
RewriteCond %{REQUEST_URI} /reitti\.cgi [NC]
RewriteCond %{QUERY_STRING} ^act=map\&id=(.+)\&kieli=$ [NC]
RewriteRule .* /rg2#%1? [R=301,NE,NC,L]
Last edited by Simon E on Sun May 11, 2014 10:47 am, edited 2 times in total.
-
Simon E - green
- Posts: 344
- Joined: Sat Jul 03, 2004 10:13 pm
- Location: St Albans
Re: RouteGadget unpopular?
Many thanks. The Northern event details 'old map reference' example seems to work nicely now. Hope any remaining RG1 enthusiasts can work out the workaround without reference to Nopesport.
- Glucosamine
- orange
- Posts: 133
- Joined: Wed Sep 07, 2011 6:03 pm
Re: RouteGadget unpopular?
Looks better, outdated java version does not show up. But I wonder does old versions still work even with that "RG1" url parameter, it makes various get and post requets to server and it will not work if those get redirected. I tried and none of them worked. Like this should show Simon's route straight away, but it does not even start.
http://www.jk.routegadget.co.uk/cgi-bin ... =50512&RG1
Might have been better idea to simply drop old java version and use RG2 only. Or simply upgrade RG1 version and put RG2 link to banner or event info. I haven't checked lately, but believe RG1 may still be slightly more usable with tablets, phones and older browsers, so those users could use it if they like.
http://www.jk.routegadget.co.uk/cgi-bin ... =50512&RG1
Might have been better idea to simply drop old java version and use RG2 only. Or simply upgrade RG1 version and put RG2 link to banner or event info. I haven't checked lately, but believe RG1 may still be slightly more usable with tablets, phones and older browsers, so those users could use it if they like.
-
Jagge - white
- Posts: 61
- Joined: Mon May 08, 2006 1:40 pm
Re: RouteGadget unpopular?
Simon E wrote:usuallylast wrote:ps - I was thinking of doing a screen capture video showing how you can use routegadget...
That's next on my list of things to do, and should happen within the next week or so.
In an attempt to avoid the Eurovision Song Contest I have just created two RG2 videos:
Video: Quick introduction to RG2
Video: Quick introduction to RG2 manager functions
I have also made a start on the User Guide, which is incomplete but is at least a start.
-
Simon E - green
- Posts: 344
- Joined: Sat Jul 03, 2004 10:13 pm
- Location: St Albans
Re: RouteGadget unpopular?
Excellent - just in time for our Galoppen tomorrow 
And do you really need an excuse to avoid the Eurovision Song Contest?

And do you really need an excuse to avoid the Eurovision Song Contest?
- usuallylast
- red
- Posts: 158
- Joined: Tue Jul 20, 2010 4:17 pm
- Location: North Cumbria
Who is online
Users browsing this forum: No registered users and 31 guests