I use a site search service that works the way it's supposed to -- matching words. My site has a lot of old letters. But when people try to search the site for references to them they usually are unsuccessful. For example, they want to find pages on my site that refer to John Q. Jones. But a document may refer to him as "John Jones", "J.Q. Jones", "Mr. Jones", "Uncle John". "father", etc. so the searcher comes up empty handed. In most cases, I have a link to that person's entry in my WorldConnect tree, but the contents of anchor tags aren't searched. Obviously I can add a note to each document saying "[This document mentions: John Q. Jones, Sally (Brown) Smith, ..." But that's rather obtrusive. Neither HTML comments or CSS comments are searched, but is there a way to add "index terms" to a page that will be searched, but not display when just viewing the page? I thought of making the text white, so it will be "invisible", but I'm not sure that would work on everyone's device, browser, etc. Surely others have encountered and dealt with this problem.
Bite the bullet and transcribe the letters and annotate the text. ...father [John Q. Jones] -- put it right into the text.
Bill, The following should work - <style>p.names {display:none}</style> <p class="names">"John Q. Jones", "John Jones", "J.Q. Jones", "Mr. Jones", "Uncle John"</p> Barry On 24/08/2018 03:22, William Thompson wrote: > I use a site search service that works the way it's supposed to -- matching > words. My site has a lot of old letters. But when people try to search the > site for references to them they usually are unsuccessful. For example, > they want to find pages on my site that refer to John Q. Jones. But a > document may refer to him as "John Jones", "J.Q. Jones", "Mr. Jones", > "Uncle John". "father", etc. so the searcher comes up empty handed. > > In most cases, I have a link to that person's entry in my WorldConnect > tree, but the contents of anchor tags aren't searched. Obviously I can add > a note to each document saying "[This document mentions: John Q. Jones, > Sally (Brown) Smith, ..." But that's rather obtrusive. Neither HTML > comments or CSS comments are searched, but is there a way to add "index > terms" to a page that will be searched, but not display when just viewing > the page? > > I thought of making the text white, so it will be "invisible", but I'm not > sure that would work on everyone's device, browser, etc. > > Surely others have encountered and dealt with this problem. > >