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
(reply)
 
(4 intermediate revisions by 2 users not shown)
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."
:Hi Mary, I think the text in [[Import glossary entries]] should be included in [[Using Glossary]] as suggested by Tomaz in his page notes. --[[User:Helen Foster|Helen Foster]] 21:37, 27 September 2011 (WST)
 
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?

Latest revision as of 13:37, 27 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)

Hi Mary, I think the text in Import glossary entries should be included in Using Glossary as suggested by Tomaz in his page notes. --Helen Foster 21:37, 27 September 2011 (WST)