Monday, May 9, 2016

XML template for creating entries to import into Moodle Glossary

Let's say you want to write a bunch of entries for a Glossary on your Moodle and you want to do this offline -- not directly on your Moodle. In that case the best course of action is to create an XML file with all the entries and import it into a Glossary.

Here's an XML template that you might like to use. It also contains an example of an entry including hyperlinks (you have to use &lt, &gt and &quot in place of <, > and ", respectively).

To create your own entries, copy the lines between <ENTRY> and </ENTRY>. The tags after </DEFINITION> need a binary input: 0 or 1. I'm not sure what <FORMAT> means but I don't think there's any harm keeping this and the last one - <TEACHERENTRY> - as 1. The other three tags match the below settings which you'll see when you try to add a new Glossary entry in Moodle. If they're not self-explanatory see this page.

PS. This post has been featured in Moodlenews!


  1. the link 'Here's an XML template' in:

    leads nowhere.

    1. Hi Alex - the link to the XML file works for me. It's a shared document on Google Docs.

  2. Thanks for a wonderful share. Your article has proved your hard work and experience you have got in this field. Brilliant .i love it reading.
    Whmcs templates

  3. Thank you so much for taking effort to share such a useful information. I will definitely share this Moodle Web Development Company