Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
+3 votes
Is there a Search function for stand alone pages? Does the wordpress search function work with iframes or embedded code?
in feature_requests by (180 points)
  

A search is absolutely necessary for me. With a little development experience, a static search can be implemented quite well with the Stork Search project ("https://github.com/jameslittle230/stork").

The video "Creating a Custom Menu with in5" ("https://www.youtube.com/watch?v=VPQBgn7BLZ0") shows how to integrate a "Top Menu". Instead of a navigation, a search field can be integrated which then works together with the self-generated full text index of Stork.

Here the result of a little test:

The static index can be created e.g. from a list of self-defined keywords, or e.g. from the texts of the respective pages of the PDF. Instructions for creating an index and the general integration of "stork search" can be found here: https://stork-search.net/docs

Are there any other suggested solutions?

1 Answer

+1 vote
 
Best answer
There is no search function currently offered in in5. The implementation of a search feature has been on the Ajar wishlist for sometime. As with all features, we strive to introduce features that provide a useful and robust solution, so finding the proper approach to an ideal search function is an ongoing endeavor.

As far as search within an iframe, it's generally not doable. I'm not 100% sure on the WP-specific search, but due to how iframes retrieve and deliver content, I would guess that it's not possible. Even search engines tend to skip over the content on the page containing the iframe.
by (9.7k points)
selected by