Can someone help me get started? Anyone ever use WebCT? It uses quizzes, field types described here. https://online.csus.edu/web-ct/help/en/designer/quiz/quiz_transfer.html#formats
Can someone help me parse them out please? I don't want to pay for WebCT. It was a GNU project gone commercial. It is a good project, but I can do better. I have an offlire quiz generator that will export to WebCT format. I want to use that export type to import. I've learned how to parse stuff using explode http://www.php.net/manual/en/function.explode.php But this is a little beyond that. Here are some fields I'm trying to find. See WebCT code below. Can someone help me get started please? Here are my field types $TYPE $TITLE $QUESTION which iwll give me H or T The I need the question, itself, which is one the next line. $ANSWERS $CASE $ANSWER1 $ANSWER2 but here could be up to $ANSWER1-10 $ANSWERS does not count them. $ANSWERS is That is just one quiz :TYPE: Quiz.txt might contain another quiz question :TYPE:. https://online.csus.edu/web-ct/help/en/designer/quiz/quiz_transfer.html#formats explains 5 quiz types. if $TYPE = MC, there are three fields to add: :TYPE:MC:1:0:C $possible_number_of_correct_answers $no_negative_scores $cumulative_score_will_be_used -----quiz.txt---------- :TYPE:S :TITLE:Sample Exercise JQuiz 2 (2) :CAT:Sample Exercise 2 :QUESTION:H I have come here <u>a lot</u>. :ANSWERS:1 :CASE:0 :ANSWER1:How often have you come here?:100:0:0 :ANSWER2:How often have I come here?:100:0:0 :TYPE:MC:1:0:C :TITLE:Sample JBC Exercise 1 (1) :CAT:Sample Exercise 1 :QUESTION:H Which if the following sentences is incorrect? :ANSWER1:0:H That's not a very funny joke. :REASON1:H :ANSWER2:0:H The book I'm reading is quite long. :REASON2:H :ANSWER3:0:H He's much taller than me. :REASON3:H :ANSWER4:100:H Anna is more younger than Halley. :REASON4:H The corrct response is: "Anna is younger than Halley." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php