The structure of the exported keyword index file is quite simple, but it's important to know what you can edit and what you should leave untouched:
<hmkeyword value=".ipp files" translate="true">
<hmtopicid value="HM_Working_Graphics_Formats"/>
<hmtopicid value="HM_Working_Graphics_Hotspots"/>
<hmsubkeyword value="hotspots in old .ipp files" translate="true">
<hmtopicid value="HM_Working_Graphics_Formats"/>
<hmtopicid value="HM_Working_Graphics_Hotspots"/>
</hmsubkeyword>
</hmkeyword>
Each keyword is stored in a <hmkeyword> </hmkeyword> tag pair, with the actual keyword in a value attribute. The topics in which the keyword is used are listed inside the tag pair, in <hmtopicid /> elements. If the keyword has any sub-keywords, these are also enclosed inside the main hmkeyword element, in their own pair of <hmsubkeyword> ... </hmsubkeyword> tags that use the same structure, with the topics inside them in <hmtopicid /> elements .
Normally, you should ONLY edit the value attributes!
You should only edit the value="keyword" attributes, particularly if you are translating the index. If you change the topic ID references the keywords will be applied to different topics when you import the index.
Adding keywords to new topics
If you want to add the keywords to new topics or remove them from existing topics, you can achieve this by adding, removing and changing the hmtopicid elements for the corresponding keywords. You can also add new keywords in the same way, so long as you preserve the structure described above. However, make sure that the topic IDs you use actually exist in the project, otherwise you will get errors!
|