Stefan_O Posted December 9, 2016 Report Share Posted December 9, 2016 When looking at Money Bridge hand records, http://online.bridgebase.com/mb/mbadmin.phpin the list of items displayed, there is a link to each deal. But when I click it, the browser will not show the deal directly, but download a .lin-file.I can then take a copy of that file's contents, and in text-editor construct a hand-viewer link to see the full deal. But cumbersome. Why is it like this?Is that intentional or just a mistake in the construction of the links, or what? Why isn't there just a link that will display the deal directly in the hand-viewer without this cumbersome workaround? Quote Link to comment Share on other sites More sharing options...
barmar Posted December 9, 2016 Report Share Posted December 9, 2016 Money bridge hands are not stored in the database where the handviewer can retrieve them. Quote Link to comment Share on other sites More sharing options...
Stefan_O Posted December 9, 2016 Author Report Share Posted December 9, 2016 Money bridge hands are not stored in the database where the handviewer can retrieve them. Ok, got it.But then seems it should be possible to generate an extra link to a javascript-function with each deal, that takes the .lin filename as an argument, reads the contents of the .lin-file, constructs the correct handviewer link, and responds with a redirect to that link. I e automating what we now need to do manually, right? Quote Link to comment Share on other sites More sharing options...
barmar Posted December 9, 2016 Report Share Posted December 9, 2016 Yes, it should be possible, we just haven't done it. Quote Link to comment Share on other sites More sharing options...
Stefan_O Posted December 9, 2016 Author Report Share Posted December 9, 2016 Yes, it should be possible, we just haven't done it. OK, would be helpful! :) Quote Link to comment Share on other sites More sharing options...
barmar Posted December 11, 2016 Report Share Posted December 11, 2016 OK, would be helpful! :)I'm working on it, should have it in a few days. Quote Link to comment Share on other sites More sharing options...
barmar Posted December 12, 2016 Report Share Posted December 12, 2016 This is done. There's now two links, Movie and Lin. They work similar to the links on the myhands page: Movie pops up a handviewer, Lin downloads a LIN file. Quote Link to comment Share on other sites More sharing options...
Stefan_O Posted January 4, 2017 Author Report Share Posted January 4, 2017 This is done. There's now two links, Movie and Lin. They work similar to the links on the myhands page: Movie pops up a handviewer, Lin downloads a LIN file. Thanks!Very nice :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.