General Parameters:

  • Each line must begin with a three character xml code. <xml>
  • Each line must end with the matching xml code with open slash  </xml>
  • There must be NO HANGING line breaks. If you want a series of paragraphs, use the body tag.


XML Three Codes

The following XML codes are used.


<bod> Body Text, a standard paragraph


<box> A textarea response box. For user to enter in a longer answer limited to 240 characters.


<but> An action Button


<dne> Done Button (currently not used)


<com> Used to display 10 random comments made by people to this answer. The format is a three numbers connected with a dot (e.g. 12.2.1) The dots represent the following:

 1) lesson 2) sequence 3) response on page (for when there are multiples questions on a page)


<jmp> Used to jump to another page. The format is there entries separated by a pip (|) The entries are:

 1) The lesson to jump to | 2) The text to show in the button | 3) the color of the button (grn, blu, red)

    This is typically used at the end of a lesson to jump to the next one.


<med> Play a media file. Format is three entries separated by a |:| The entries are:

 1) media type (video or audio) | 2) The text to show in the button | 3) the code lookup for the media

    Here is an example for the Brothers Film <med>video|:|Brothers Film Summary|:|en_11</med>


<prs> The word you put in the middle is usually "Privacy" so the tag looks like this <prs>Privacy</prs> This puts the phrase "Your answer to this question may randomly and privately be shown to others (only identified with a date, no personal info)" It is typically placed on the bottom of a page where their answers may be randomly displayed on the next page.


<que> Brings up the "QUESTION" heading followed by the text you place


<ran> The word you put between brackets is normally "Random" so the tag looks like this <ran>Random</ran>. This puts the phrase "Take a moment to review other random answers to this question." at this line.


<res> Similar format to <com>. It is used to display the specific compared response to a drop down menu (selection) question. The format is three numbers connected with a dot.

 1) lesson 2) sequence 3) response on page (for when there are multiples questions on a page)


<rsp> The word you put between brackets is normally "Response" so the tag looks like this <rsp>Response</rsp>. This puts the phrase "Response." at this line.


<sel> Drop down selection. The text you place becomes the question. The contents of the drop down appear as a separate "action field." The format for the action field is a two-tier level response. Each element (line) of the drop down is separated by a pip (|). Then each individual line is made up of two elements separated by a color (:). The first element is the value to be saved. The second element is the on screen display. So in the case of the question, "Which is your favoite geographic region" the action field becomes this:

0:The Ocean|1:Mountains|2:Desert|3:Woods|4:Plains|5:Jungle|6:Other


<sma> Similar to body (a full paragraph) but just a smaller font.


<sub> The word you put between brackets is normal "Submit" so the tag looks like this <sub>Submit</sub>. This puts the word "Submit" in the button.


<tt2> This is a sub title at the top of a page. (A <h1> tag)


<ttl> This is a main title (An <h3> tag)


<uls> This creates an unordered list of bulleted items. The format is that each bullet is separated by |:| So a bullet list of three items would look like this.

 Item 1|:|Item 2|:|Item 3


<vid> This creates the play screen for a video. The format is two items separated by a

 1) Title of Video to Display on Screen |:| 2) location of video (language, an underscore, a lesson number).

  For example, brothers video is: <vid>Brothers|:|en_11</vid>


<vis> Visual picture heading of the video. The format is two items separated by |:|

 1) The on display title of video |:| 2) The photograph name

 For example, the splash page for the Brothers video is: <vis>Brothers|:|11_brothers|:|en_11</vis>

   

<vrs> The splash screen that gives you the option of listening to or playing the scripture reference. The format is two elements separated by |:|

 1) The on screen reference |:| 2) the internal pointer

 For example, <vrs>Luke 15 - The Two Brothers|:|luk15_11</vrs>


<vrt> For displaying the Bible as text. The format is two elements separated by |:|

 1) The display text |:| 2) the internal verse pointer