I am about to make a book with recipes in FrameMaker 2015. The book is to be published as html 5 and pdf. I would like to be able to tag all recipe ingredients, so that one may click on them and get a search whice encompasses all the instances of the tagged work.
Is it possible to do that with variables ? Or is there another solution?
Search in HTML5 output looks at all text, so I’m not sure what you mean. Are you referring to index entries?
Thanks for answering me. Please look at this page:
Below the illustration are some tags. Some of the blogposts are tagged. If you click on a tag, the website will display all blogposts using that tag. I am wondering whether I can recreate that effect from within FrameMaker, so that I may publish my recipes as html5 with tags.
Ah, I suspect not – you could attach a hyperlink paragraph tag to the ingredient, but having the site dynamically reorganize itself to show all the posts tagged with that category depends on the programming of the site. If you look at your example, you see that there’s an index.php program that’s controlling it.
Thanks Jeff. I did suspect that it might not be feasible, but nice to have another opinion.
Maybe another idea …
You could leverage search for that. Just add the tags and add a hyperlink to the tag, handing over the search string.
You can also narrow the search more down to the exact string my putting the string into quotes (%22).
You might want to add a # to the tags in general so that it becomes easier to distinguish them for your scenario from regular search strings.
This will open the search panel and prefill it with the search results. The quotes make just make it sharper here:
You can also use multi-space tags. In this case, make sure to replace the space with %20 in the URL
This might be another approach. Also, it's a nice effect: The page currently open just stays open. Only the search panel opens, displaying the results.