How to Publish Quizzes to Web
If you want your students or Website visitors to be allowed access to the quiz, you can just upload the files to your web space and post the link of the quiz page on your website. But how?
In fact, Wondershare QuizCreator is what you need. It provides different publishing options which even enables you to publish quiz to Web. That means QuizCreator will generate a Webpage for your quiz Now, by using some basic coding, you can add the quiz to your own Webpage, blog, forum and more.
1 Add a QuizCreator quiz to your own web page.
Usually, QuizCreator creates a simple web page with HTML extension to host the Flash quiz. If you are running a website, you may want to insert the Flash into your own web page instead of using the quiz in an external web page.
Before we go on, here is an example for your reference.
Then how to do it?
Here we will talk about some basic HTML coding. The common practice to insert a Flash file is to use the Object tag coding.
Since QuizCreator creates Flash-based quizzes, you can insert a quiz in the same way you insert a Flash file. When you publish a quiz for web, QuizCreator will generate three files: *.html, *.swf, With the *.swf, you can create your own webpage for the quiz. Here is the step by step instruction.
Step 1. Open your web page in a HTML editor.
Step 2. Go to where you want to add the Flash quiz.
Step 3. Insert the Flash quiz by using the following coding.
< object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="600" height="500" > < param name="movie" value="quiz.swf" /> <param name="quality" value="high" />
<embed src="quiz.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="500">
- Width and Height
You can specify the size of the Flash quiz by changing the width and height parameters. In this example, the size is 600*500 pixels. Change these values to the size you require.
Here you specify the address of the quiz on web. A relative address is also acceptable. You can see in the example that we have used the relative address "quiz.swf" for the quiz webpage and that the .swf quiz file is in the same folder as our webpage.
If you put the quiz web page and the .swf file in different folders, for example, the quiz web page in folder Test 1 and the .swf file in Test2, then the address should be /Test2/quiz.swf.
Step 4. Upload the files to the web space
You need to upload three files to the web, including the *.swf and *.xml created by QuizCreator and the *.html page created by you. The XML and HTML must be in the same directory, while the directory for the SWF is flexible (absolute address/relative address).
1. HTML webpage
This is the webpage to be used on the website and to host the quiz, meaning, containing the flash file with the SWF extension.
2. SWF file
This is file containing the quiz content.
This is the file required to perform the quiz reporting feature amongst other things and also contains information about the quiz and questions.
Once these steps have been completed, you may open the webpage to view the quiz.
2 Add QuizCreator quizzes to a blogA blog post is similar to a webpage. Therefore, you can insert a quiz with SWF extension to your blog in the same way as you insert Flash into a webpage. You use the same tags, as in the above example, to insert a Flash quiz by QuizCreator.
By following the instructions above, you will be able to add the flash quiz to your blog. If you are inserting a quiz into an external blog, do not forget to use the absolute address of the Flash quiz file.