I have what seems an odd problem.
If I add keywords (and tried A-Keywords), when I compile chm files (M$ help compiler (Hcc?)) the keywords show up in the index, but they do not "search" properly. I ONLY can search keywords in the topic titles/texts.
For instance - search for unit flat will bring up topics (including this one) since the words are in the text. Zone flat will do the same. If I add the word per, which is not in any text, only keywords - "No Topics Found".
I don't want to add a "keywords" block that is displayed at the end of each topic. Although that would work.
Am I missing something?
Keywords not searchable in chm
Moderators: Alexander Halser, Tim Green
Keywords not searchable in chm
You do not have the required permissions to view the files attached to this post.
- Alexander Halser
- EC-Software Support
- Posts: 1101
- Joined: Mon Jun 24, 2002 7:24 pm
- Location: Salzburg, Austria
- Contact:
Re: Keywords not searchable in chm
That's correct, you are not missing anything.
Help+Manual exports the topic keywords with a <meta> tag, but the Microsoft CHM compiler does not include this into the full text search index.
Help+Manual exports the topic keywords with a <meta> tag, but the Microsoft CHM compiler does not include this into the full text search index.
Alexander Halser
Senior Software Architect, EC Software GmbH
Senior Software Architect, EC Software GmbH
- Tim Green
- Site Admin
- Posts: 7819
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Keywords not searchable in chm
You could try putting the keywords in an invisible tag at the end of the HTML page template for CHM in your skin. Put this directly before the closing </body> tag in the template:
Since that is then normal text, it should be indexed by the CHM search engine.
Code: Select all
<span style="display:none"><%TOPIC_KEYWORDS%></span>Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.