--- doc/homework/homework5.html 2002/05/03 18:34:20 1.14 +++ doc/homework/homework5.html 2002/06/06 08:24:55 1.16 @@ -57,6 +57,11 @@
+ <externalresponse> implements the ability to have
+ an external program grade a response, expects either a
+ <textline> or <textfield> inside the tag.
+
+ The response of the remote server needs to be in XML as follows. +
++<loncapagrade> + <awardetail> +CORRECT + </awardetail> + <message> +A message to be shown to the students + </message> +</loncapagrade> ++
+ <randomlabel bgimg="URL" width="12" height="45" texwidth="50"> + <labelgroup name="GroupOne" type="image"> + <location x="123" y="456" value="10" /> + <location x="321" y="654" value="20" /> + <location x="213" y="546" value="13" /> + <label description="TEXT-1">IMG-URL</label> + <label description="TEXT-2">IMG-URL</label> + <label description="TEXT-3">IMG-URL</label> + </labelgroup> + <labelgroup name="GroupTwo" type="text"> + <location x="12" y="45" /> + <location x="32" y="65" /> + <location x="21" y="54" /> + <label>TEXT-1</label> + <label>TEXT-2</label> + <label>TEXT-3</label> + </labelgroup> + </randomlabel> ++ Arguments: +
- These tags allow the document to behave programatically -
-+ These tags allow the document to behave programatically +
+