Is it possible to automatically link all entries after the fact?

Is it possible to automatically link all entries after the fact?

by Edward Hewlett -
Number of replies: 2
Got my students to put together a glossary, but didn't realize you had to turn on automatic linking in each individual entry. Is there no way to just turn on automatic linking for all entries in a glossary, or does one have to go back and update and turn on automatic linking for each term individually?
Average of ratings: -
In reply to Edward Hewlett

Re: Is it possible to automatically link all entries after the fact?

by Edward Hewlett -
Still wondering...
In reply to Edward Hewlett

Re: Is it possible to automatically link all entries after the fact?

by Riaan Bredenkamp -
If you do not feel like editing the database smile you can do the following:

Export the glossary > this will give you a xml file which contains all the entries in your glossary. get a good text editor (not word. I suggest you look at "vim" or "jedit") and do a search and replace on <USEDYNALINK>0</USEDYNALINK> replace it with <USEDYNALINK>1</USEDYNALINK>

You should replace this for all entries you want to auto-link.

In case you want to make the entry-linking case-sensitive you need to edit <CASESENSITIVE>0</CASESENSITIVE> to <CASESENSITIVE>1</CASESENSITIVE>. To match full words only edit <FULLMATCH>0</FULLMATCH> to <FULLMATCH>1</FULLMATCH>

Then delete your glossary and recreate it (or delete the specific entries one by one) and import this XML file back into the glossary.
Hope this helps.

Riaan

Average of ratings: Useful (1)