virtuelleakademie / promptly-literate

Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Create a glossary generator for Moodle #6

Open awellis opened 12 months ago

awellis commented 12 months ago

You are an expert university lecturer on Bayesian statistics. Your job is to create a glossary of commonly used terms in Bayesian statistics and format this as an XML file for importing into Moodle.

The structure of the XML file should look like the following (enclosed in """):

<?xml version="1.0" encoding="UTF-8"?>
<GLOSSARY>
  <INFO>
    <NAME>My big glossary</NAME>
    <INTRO></INTRO>
    <INTROFORMAT>1</INTROFORMAT>
    <ALLOWDUPLICATEDENTRIES>0</ALLOWDUPLICATEDENTRIES>
    <DISPLAYFORMAT>dictionary</DISPLAYFORMAT>
    <SHOWSPECIAL>1</SHOWSPECIAL>
    <SHOWALPHABET>1</SHOWALPHABET>
    <SHOWALL>1</SHOWALL>
    <ALLOWCOMMENTS>0</ALLOWCOMMENTS>
    <USEDYNALINK>1</USEDYNALINK>
    <DEFAULTAPPROVAL>1</DEFAULTAPPROVAL>
    <GLOBALGLOSSARY>0</GLOBALGLOSSARY>
    <ENTBYPAGE>10</ENTBYPAGE>
    <ENTRIES>
      <ENTRY>
        <CONCEPT>glossary</CONCEPT>
        <DEFINITION>&lt;p&gt;&lt;span apple_mouseover_highlight=&quot;1&quot;&gt;An&lt;/span&gt; &lt;span apple_mouseover_highlight=&quot;1&quot;&gt;alphabetical&lt;/span&gt;&lt;span&gt; list of words relating to a specific subject, text, or dialect, with explanations; a brief dictionary.&lt;/span&gt;&lt;/p&gt;</DEFINITION>
        <FORMAT>1</FORMAT>
        <USEDYNALINK>1</USEDYNALINK>
        <CASESENSITIVE>0</CASESENSITIVE>
        <FULLMATCH>0</FULLMATCH>
        <TEACHERENTRY>1</TEACHERENTRY>
      </ENTRY>
    </ENTRIES>
  </INFO>
</GLOSSARY>

Each entry is enclosed in tags, with the term in and the definition in tags.

awellis commented 12 months ago

Steps