Keyword based search

Feb 03, 2024

I am trying to build a project that showcases the work of a visual artist. I want the user to be able to enter a search term and then click through all the relevant works based on the search term, skipping the rest.

My approach has been to put each work on a slide, and in each Timeline Starts trigger set a SearchTerms variable to a list of terms (separated by spaces) that apply to that work. On the home page, the user would enter a search term, and then the thing would go through each screen in succession, using a little JS script to check the entered search term against the list of terms assigned in that screen's timeline starts event. If the word is found, the slide is displayed. If not, it jumps to the next slide where the process repeats. I placed the image at 1/8 second, so it will not display if the slide doesn't match. (This prevents every slide from displaying very briefly while the script is being run and the variables evaluated.)

However, while this worked well in my test, it does not work in real life. Because there are so many images to catalog (over 100), the wait time is just too long as it jumps from slide to slide. On top of that, the execution time on each slide is inconsistent, so some of the incorrect images do display briefly. It's not going to work.

So I need some new idea. Again, the vision here is to have a home page with a search input box where the user can enter some search term. They are then presented somehow with all the slides (art works) that match the search term, and the rest are skipped.

 

Another wrinkle is that I was trying to do this with all the images stored locally and published with the course, but the compile time and subsequent published folder was going to be too big, so instead I am storing the images in AWS and just using URLs to access them. Don't know if that makes any difference, but I will have a hard-coded URL for each image.

IDEAS!?

8 Replies
Math Notermans

2 possible approaches that could help fix your issues.

- Using dynamic images. Thus you search in an array...and only show those found. Not jumping to slides, but showing the found images on the page after the search has completed.

- Using fuzzy search. I do have some samples for fuzzy searching in Storyline. So you can misspel and still get response that fall within a specified range. Displaying the images might be with dynamic images too.

Math Notermans
Christy Tucker

I know this is an Articulate forum, but does the solution have to be built in Storyline? It seems like this project would be much better served by using web tools. A searchable gallery would be trivial to build in WordPress, for example. Even something like a Glide app seems like it would be worth exploring.

Before you selected Storyline as the tool to create this, did you consider any other options? It might be worth backing up in the process to think about the best tool for the job. Any responsive web-based tool for managing media seems like it would be more viable than Storyline's slide-based model.

Jim Owen

Thanks Christy, you're right, I had Storyline on the brain. That's a good thing to think about. The reason I wanted to use SL was two things 1) it's what I'm using all day already anyway, and 2) I can easily publish to web then store the whole enchilada on AWS and simply give the user a link.

But your reminder is a good one, and I should think about that. Thank you for that.