Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Import glossary entries.

Talk:Import glossary entries: Difference between revisions

From MoodleDocs
(question about import/export pages)
Line 1: Line 1:
In the "Troubleshooting" section it says:
I deleted the page "export" as it had hardly anything on it but this is a very full - albeit not up to date page on importing. Should this stay as it is as in its own right and we  re-instate the export page - or should this page be incorporated into one of the main glossary pages as was the Export page? Did I act too soon? :) --[[User:Mary Cooch|Mary Cooch]] 23:01, 26 September 2011 (WST)
 
"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?
{{Unsigned|Paul Perspectoff}}
: 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 --[[User:Frank Ralf|Frank Ralf]] 18:02, 27 March 2010 (UTC)

Revision as of 15:01, 26 September 2011

I deleted the page "export" as it had hardly anything on it but this is a very full - albeit not up to date page on importing. Should this stay as it is as in its own right and we re-instate the export page - or should this page be incorporated into one of the main glossary pages as was the Export page? Did I act too soon? :) --Mary Cooch 23:01, 26 September 2011 (WST)