Talk:Import glossary entries
Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Import glossary entries.
In the "Troubleshooting" section it says:
"HTML and XHTML tags written within CONCEPT or DEFINITION elements will fail on import, showing "Array" instead of the desired content. To remedy this, try writing the (X)HTML tags within <![CDATA[ ]]> markup."
I tested this solution in Moodle 1.9, and I couldn't read the characters, because (I think) that Moodle's HTML editor "confuses" the CDATA tag with a comment.
For example, I imported a definition with this tags:
The first one is related to the < symbol, and the second one to the > character.
The tags don't appear in the Definition area of the glossary, and if I edit the definition in the HTML editor, I see nothing (even when I click the <> button).
If I include the CDATA tags manually in the HTML editor (after clicking the <> button), I also see nothing, but if I click again on the <> button, I see:
< !--[CDATA[<]]--> < !--[CDATA[>]]-->
Which, I believe, its the HTML format for a comment.
Maybe somebody else can test this in order to confirm the proposed solution, and/or to give more evidence that it has no effect in the integration of the glossary via the "import" option.
Thanks, David H (email@example.com)
Fortune files to XML?
I have a list of quotations from the fortune program that are in text format.