wiki:eXe_and_the_power_of_interoperable_discussion_forums/Moodle

This is a sample XML file that captures all the data required to setup a discussion forum in Moodle; see Brent/eXe_excursions/Moodle_Discussion_Forum_iDevice for more information on how we think this can be implemented inside Moodle.

<?xml version="1.0" ?>

<forums>

  <forum name="test1">
     <type></type>
     <introduction></introduction>
     <studentpost></studentpost>
     <subscription></subscription>
     <tracking></tracking>
     <attachmentsize></attachmentsize>
     <ratings>default to off</ratings>
     <groupmode></groupmode>
     <visible></visible>
  </forum>

  <forum name="test2">
     <type></type>
     <introduction></introduction>
     <studentpost></studentpost>
     <subscription></subscription>
     <tracking></tracking>
     <attachmentsize></attachmentsize>
     <ratings>default to off</ratings>
     <groupmode></groupmode>
     <visible></visible>
  </forum>

</forums>

<discussions>

   <discussion id="test1">
      <subject></subject>
      <message></message>
      <subscription></subscription>
   </discussion>

   <discussion id="test2">
      <subject></subject>
      <message></message>
      <subscription></subscription>
   </discussion>

</discussions>


We've changed it slightly; will add changes soon. If you are using Subversion to check-out "bleeding edge eXe" then you can see part of this in action as a new iDevice.