Skip to content
Collapse
? [[global:guest]]
Unread Recent
HOME SEARCH PROFILE NOTIFICATIONS 0 MESSAGES 0 BOOKMARKS MEMBERS BADGES
Multitool.Org Forum
MultiTool.org • Community Header Space • Watch This Space

SAK Selector link

Scheduled Pinned Locked Moved Swiss Army Knights Forum
38 Posts 1 Posters 45.3k Views
  1. Home
  2. Tool Talk
  3. Swiss Army Knights Forum
  4. SAK Selector link
SAK Selector link
  • 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.
  • Little Tinker Offline
    Little Tinker
    Posts: 153
    Little Tinker Offline
    Little Tinker
    wrote on last edited by Little Tinker
    #28 Quote Reply

      @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
      • Whoey Offline
        Whoey
        administrators
        Posts: 12,658
        Whoey Offline
        Whoey
        administrators
        wrote on last edited by
        #29 Quote Reply

          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
          • ChopperCharles Offline
            ChopperCharles
            Posts: 1,404
            ChopperCharles Offline
            ChopperCharles
            wrote on last edited by
            #30 Quote Reply

              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
              • ddogu Offline
                ddogu
                Posts: 1,403
                ddogu Offline
                ddogu
                wrote on last edited by
                #31 Quote Reply

                  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
                  • tritrek Offline
                    tritrek
                    Posts: 3
                    tritrek Offline
                    tritrek
                    wrote on last edited by
                    #32 Quote Reply

                      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
                      • Reinier Offline
                        Reinier
                        Posts: 10,743
                        Reinier Offline
                        Reinier
                        wrote on last edited by
                        #33 Quote Reply

                          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
                          • tritrek Offline
                            tritrek
                            Posts: 3
                            tritrek Offline
                            tritrek
                            wrote on last edited by
                            #34 Quote Reply

                              @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
                              • Reinier Offline
                                Reinier
                                Posts: 10,743
                                Reinier Offline
                                Reinier
                                wrote on last edited by
                                #35 Quote Reply

                                  @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
                                  • tritrek Offline
                                    tritrek
                                    Posts: 3
                                    tritrek Offline
                                    tritrek
                                    wrote on last edited by
                                    #36 Quote Reply

                                      @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
                                      • enki_ck Offline
                                        enki_ck
                                        Global Moderators
                                        Posts: 20,936
                                        enki_ck Offline
                                        enki_ck
                                        Global Moderators
                                        wrote on last edited by
                                        #37 Quote Reply

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

                                          1 Reply Last reply

                                          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

                                          • 1
                                          • 2
                                          1. Home
                                          2. Tool Talk
                                          3. Swiss Army Knights Forum
                                          4. SAK Selector link
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          COMMUNITY LINKS
                                          EDC-TV SAKWiki GearFeed SAKSelector
                                          Operational Funds

                                          Help us keep the Unworkable working!

                                          Make A Donation
                                          November Goal: $300.00
                                          Due Date: Nov 30
                                          Total Receipts: $0.00
                                          Below Goal: $300.00
                                          0% funded
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0