Skip to content
  • Categories
  • Recent
  • Popular
  • World
Skins
  • Light
  • Dark

Collapse

NodeBB

SAK Selector link

Scheduled Pinned Locked Moved Swiss Army Knights Forum
38 Posts 1 Posters 45.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sLaughterMedS
    sLaughterMedS
    sLaughterMed
    wrote on last edited by
    #22

    Awesome, thanks!

    1 Reply Last reply
    0
    • WhoeyW
      WhoeyW
      Whoey
      administrators
      wrote on last edited by
      #23

      I am actually not currently working on it, but the original creator/maintainer decided to step away from the project, and he graciously passed the source files on to us. We are in the process of migrating the domain to our platform, so in the meantime please use the http://www.swissarmyknights.com/cgi-bin/sak_selector.cgi link.

      We are hoping to do even more with it in the near future, including some much needed updating to the database.

      The difficult we do immediately, the impossible takes a little longer.

      1 Reply Last reply
      0
      • L
        L
        Little Tinker
        wrote on last edited by Little Tinker
        #24

        Having thought I'd lost my vintage Black Climber 😢 I stumbled across the Selector while pondering what to replace it with. After also finding SAKWik.com I realised the Selector was a bit out of date, so I snarfed the 91mm and 84mm Victorinox layer / tool info from SAK Wiki into Excel to give me a more complete picture of possibilities. Having done that I ought to be able to construct it into something that is easily loaded into the Selector so that Wiki and Selector are more consistent for those knives (the OCD part of me would also like to tidy up the 'flexibility' of tool descriptions on the Wiki, but that's another story...).

        Does anyone have examples of what the Selector runs from so that I can prepare suitable updates, assuming there is a broader desire to update it ??? ?

        And since we all love a happy ending :): I found the late-80s Climber that I feared was lost, but the whole saga of looking at the range in more detail that I have for 25+ years has left me thinking that I need an additional knife to fill a gap in my SAK capability anyway, so the above research is paying off ;).

        1 Reply Last reply
        0
        • enki_ckE
          enki_ckE
          enki_ck
          Global Moderators
          wrote on last edited by
          #25

          @Little Tinker said:

          @enki_ck said:

          I'll address the sakselektor question when I'm a bit more awake. 😉

          Shall we pick that up in the sticky-ed thread :pok:?

          I don't have the keys to the room where we keep the SAKselektor, and don't have the knowledge to do the coding either. 😉 I did mention all the hard work you did to the folks who do and hopefully when Whoey finds more free time to do all this he'll be able to help you go forward with this. :salute:

          1 Reply Last reply
          0
          • L
            L
            Little Tinker
            wrote on last edited by
            #26

            @enki_ck said:
            I don't have the keys to the room where we keep the SAKselektor, and don't have the knowledge to do the coding either. 😉 I did mention all the hard work you did to the folks who do and hopefully when Whoey finds more free time to do all this he'll be able to help you go forward with this. :salute:

            Cool. I think it'd be nice to get it updated for the benefit of all - I effectively have my own private improved version at the mo :o.

            1 Reply Last reply
            0
            • WhoeyW
              WhoeyW
              Whoey
              administrators
              wrote on last edited by
              #27

              The current version (which we inherited from the sakselector creator) is a CGI script which pulls data from a CSV file. I have an XLS version of the CSV for updates, as it's a massive PITA to go back and forth due to the amount of data. We had hoped to rebuild it in PHP with a MYSQL database and some further sort of easier to update interface, but alas there's always 50 other things that need taking care of first. Updates would be great, the data in the file is pretty extensive with 120 options per SAK model with approximately 310 models included, with obviously some gaps in the data, and it's far out of date (it was never updated by us since we inherited it).

              If you have some corrections/additions etc let me know and I'll make an effort to integrate them.

              The difficult we do immediately, the impossible takes a little longer.

              1 Reply Last reply
              0
              • Poncho65P
                Poncho65P
                Poncho65
                Global Moderators
                wrote on last edited by
                #28

                Sounds exciting for the Selector :dd:

                🍿

                1 Reply Last reply
                0
                • L
                  L
                  Little Tinker
                  wrote on last edited by Little Tinker
                  #29

                  @Whoey said:
                  The current version (which we inherited from the sakselector creator) is a CGI script which pulls data from a CSV file. I have an XLS version of the CSV for updates, as it's a massive PITA to go back and forth due to the amount of data. We had hoped to rebuild it in PHP with a MYSQL database and some further sort of easier to update interface, but alas there's always 50 other things that need taking care of first. Updates would be great, the data in the file is pretty extensive with 120 options per SAK model with approximately 310 models included, with obviously some gaps in the data, and it's far out of date (it was never updated by us since we inherited it).

                  If you have some corrections/additions etc let me know and I'll make an effort to integrate them.

                  If you're happy to send the files over I'll see if I can produce updated versions. Or maybe provide a subset to show what is needed? Alternatively, I can try and describe the changes in a way that you can apply.

                  Any reason the data files can't be on the Wiki so that everyone can at least propose changes, and some be given permission to edit? Then copy / paste to selector app?

                  Would it benefit from putting the data into an Excel structure where VLOOKUP() and the like can be used to create a consistent data set, then a bit of VBA to squirt out refreshed CSV files to move to the web server?

                  EDIT - Thinks / lightbulb: Which is pretty much what I have for the SAK Wiki tables we've been refining, so maybe it's just another output from that... But we ought to have a shared database which can be maintained by multiple folk.

                  1 Reply Last reply
                  0
                  • WhoeyW
                    WhoeyW
                    Whoey
                    administrators
                    wrote on last edited by
                    #30

                    Some things are in motion, lets see how this goes, we may actually update the entire thing to be easier to edit/add new items.

                    So rather than get ahead of ourselves we'll see if this works out, then get into updating the data.

                    The difficult we do immediately, the impossible takes a little longer.

                    1 Reply Last reply
                    0
                    • ChopperCharlesC
                      ChopperCharlesC
                      ChopperCharles
                      wrote on last edited by
                      #31

                      Whatever happend to updating the SAK selector? It's broken now, it doesn't display anything. There's no submit button visible, and no knives are ever displayed.

                      Charles.

                      1 Reply Last reply
                      0
                      • ddoguD
                        ddoguD
                        ddogu
                        wrote on last edited by
                        #32

                        It does work on the computer I'm working at. Configuration: Macos El Capitan, using Chrome.
                        And this is the link http://www.swissarmyknights.com/sak-selector

                        Tried emptying the cache/cookies, if you're on a computer?

                        1 Reply Last reply
                        0
                        • T
                          T
                          tritrek
                          wrote on last edited by
                          #33

                          OK, latest SW, that is:

                          • MacBook, macOS 11.2.3 (20D91) Big Sur,
                          • Chrome Version 89.0.4389.128 (Official Build) (x86_64) (or any other browser)
                          • cache cleared, etc... the iframe doesn't load:
                            https://www.swissarmyknights.com/sak-selector

                          Same on Win10 64-bit...
                          It's the page not us...

                          1 Reply Last reply
                          0
                          • ReinierR
                            ReinierR
                            Reinier
                            wrote on last edited by
                            #34

                            Remove the www. then it works: https://swissarmyknights.com/sak-selector
                            Or this, open the .cgi directly: https://swissarmyknights.com/cgi-bin/sak_selector.cgi

                            1 Reply Last reply
                            0
                            • T
                              T
                              tritrek
                              wrote on last edited by
                              #35

                              @Reinier said:
                              Remove the www. then it works: https://swissarmyknights.com/sak-selector
                              Or this, open the .cgi directly: https://swissarmyknights.com/cgi-bin/sak_selector.cgi

                              Thanks! Has anyone contacted them regarding this bug?

                              1 Reply Last reply
                              0
                              • ReinierR
                                ReinierR
                                Reinier
                                wrote on last edited by
                                #36

                                @tritrek said:
                                Thanks! Has anyone contacted them regarding this bug?

                                I know I haven't. But Whoey may read this thread.

                                Technically it's not a bug, it's just a security feature in all modern browsers, but it is something that should be fixed server-side. My suggestion: force all traffic to the non-www URL. In that case, including the SAK Selector page in an iframe like it is now should work and it's also better from a SEO point of view. Because currently all content on swissarmyknights.com is available on at least 2 different URLs.

                                Alternatively the iframe source could just be the relative URL /cgi-bin/sak_selector.cgi (so, no protocol, no domain name). That should work as well.

                                1 Reply Last reply
                                0
                                • T
                                  T
                                  tritrek
                                  wrote on last edited by
                                  #37

                                  @Reinier said:
                                  I know I haven't. But Whoey may read this thread.

                                  Technically it's not a bug, it's just a security feature in all modern browsers, but it is something that should be fixed server-side. My suggestion: force all traffic to the non-www URL. In that case, including the SAK Selector page in an iframe like it is now should work and it's also better from a SEO point of view. Because currently all content on swissarmyknights.com is available on at least 2 different URLs.

                                  Alternatively the iframe source could just be the relative URL /cgi-bin/sak_selector.cgi (so, no protocol, no domain name). That should work as well.

                                  Right... and that's a coding bug 🙂 Loose coding... nothing lethal just causing headaches to us and basically crippling their own page...

                                  1 Reply Last reply
                                  0
                                  • enki_ckE
                                    enki_ckE
                                    enki_ck
                                    Global Moderators
                                    wrote on last edited by
                                    #38

                                    I posted a link for Whoey, hopefully it will be fixed soon

                                    1 Reply Last reply
                                    0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login

                                    • Login

                                    • Don't have an account? Register

                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Popular
                                    • World