Recommendations: dynamically link glossary terms in Catalog indexes??
I am perplexed on where to start with this solution... Has anyone seen this type of problem? maybe in a product already? I have a zClass(Glossary of terms) and another zClass of Technical Procedures. Is there a way to dynamically find every instance of a glossary term in a Technical Procedure and the make the term a hotlink to its instance in the Glossary(do a pop-up, make it the alt tag...whatever) A concern is speed, so I guess this cant be real-time, maybe cached or something? Is this a search and replace function...which I havent seen documented anywhere? Any help or suggestions to approach this would be greatly appreciated. Thanks for feedback (or pushing me off the cliff...) ;) -Trevor **I am inspired to contribute this as my first how-to if we can solve it.
Trevor Toenjes writes:
I have a zClass(Glossary of terms) and another zClass of Technical Procedures.
Is there a way to dynamically find every instance of a glossary term in a Technical Procedure and the make the term a hotlink to its instance in the Glossary(do a pop-up, make it the alt tag...whatever) Not easy:
Split the text into words (using e.g. a splitter). Stem the resulting words (not too difficult in English, may be much more difficult in other languages, e.g. Finnish). If your glossary terms are single words, you can look them up already. Otherwise, you find candidates for phrases. You need more analysis to check whether the occurences are really instances of your glossary term. You would probably not do it fully dynamically but only after changes or periodically at night/weekend. Dieter
participants (2)
-
Dieter Maurer -
Trevor Toenjes