Microsoft Word file Import/Export (Glossary) icon

Microsoft Word file Import/Export (Glossary)

Maintained by Eoin Campbell
Import the contents of a Microsoft Word file (in '.docx' format) into a glossary, splitting it into terms based on the heading styles. The file can be from either Microsoft Word or LibreOffice. Also supports exporting glossaries to Word format, for round-trip editing.
Price option: Free

Supports Moodle 3.5-5.0 See all versions
Latest release: 1 year ago
Installations: 516
Downloads (last 90 days): 39

Frankenstyle name: local_glossary_wordimport
Local plugins

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

I believe it works in Moodle 4.0, but I haven't had a chance to fully test it.
This is a very useful plugin and would be awesome to use it in moodle 4.0
Hi Sarah, you're correct, a picture on its own won't work, which is a nuisance, so I'll see if I can fix it. In the meantime, I have found that if you put a paragraph of text before it in the Word file, then it will import correctly. You could put a single non-breaking space in the paragraph to avoid any text.
Hi Eoin, thanks for this great plugin!
I have one problem though: I have a glossary where the definition consists only of pictures (no text). Unfortunately when trying to upload such an entry, it gets rejected (upload works, if there is also text in the definition cell or if there is no picture at all). I tried just putting a space or a linebreak/paragraph before the picture, but to no avail.
Am I doing something wrong? Is there something I could do about it?
Thanks in advance, Sarah
Thank you Eoin.
Why does it have to be XML? Why is it so difficult to import directly from EXCEL?
Anyway, thanks to all developers
See this thread for information about using Excel to write glossary entries in bulk: https://moodle.org/mod/forum/discuss.php?d=425379#p1713054
Hello
Is there a plugin to import from Excel? A table in a Word file is not easy when you have 1000 entries
Note that there is an updated sample glossary Word file now available at https://github.com/ecampbell/moodle-local_glossary_wordimport/blob/master/tests/fixtures/glossarytable.docx
I have now released version 1.1 that supports the import of Categories, Keywords and Tags properly.
The file must be in .docx format, not .doc. Tags and Keywords are exported properly, but they are imported, so I'll have to fix that. I'm not sure how Categories work in Glossaries, so it isn't implemented either. If you want a bullet list in the text, you must use the native Word bullet list style which is "List Bullet" in English. You can select a named style in the Styles area of the Home tab on the ribbon. The keyboard shortcut ++L might work too. I'm not sure what exactly you mean by multilanguage filter tags. If you send me a Glossary in XML format, I can take a look. At present if you set some text in a Word file to be in a different language from the default, that setting is lost on import. In general, text filtering works on the Moodle server side, so it doesn't matter what is in the Word file.
Thank you so much for your help. I tried editing this file using the "compatibility mode" for prevous versions of Word, and it does not work anymore (rejected entries error). So I saved it into the most recent version of Word, and it works, partially: it imports entries, but it does not import categories nor tags. Also the bullet list in the entry text is not replicated.
Also, does the import mantain also the multilanguage filter tags?
Thank you.
Hi Chiara, the Word file you import must include tables within the Heading 1 style. See an example at https://github.com/ecampbell/moodle-local_glossary_wordimport/blob/master/tests/fixtures/glossarytable.docx
Hello, I cannot manage to import my Word document into glossary. I put the heading 1 style on all the entry names and the normal style for the entry content.
The message says: 75 entries found; 75 rejected.
Why does it so? How exactly have I to format my file? And how does the option "import categories" works? Thank you.
Approval issue created: CONTRIB-8202