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.

Talk:Import glossary entries

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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:

<![CDATA[<]]> <![CDATA[>]]>

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 (fdhs@operamail.com)

Fortune files to XML?

I have a list of quotations from the fortune program that are in text format.

How do I convert these into XML to be imported into a glossary? (The preceding unsigned comment was added by Paul Perspectoff (talkcontribs) .)

Hi Paul, see Import_and_export_FAQ for further information on import formats and ways to convert them. And you should better post such questions in the appropriate forum. And please sign your comments. TIA --Frank Ralf 18:02, 27 March 2010 (UTC)