When you say glossary you talk about https://docs.moodle.org/34/en/Glossary_activity ?
If that is the case your task would be much better resolved by writing a PHP script that uses Moodle API to handle all this.
When you say glossary you talk about https://docs.moodle.org/34/en/Glossary_activity ?
If that is the case your task would be much better resolved by writing a PHP script that uses Moodle API to handle all this.