ExamProfessor



How do I embed exams on my web site?


Putting exams into your own web pages is extremely easy, and Exam Professor offers two options:


  • Embed individual exams.
  • Embed the whole student interface.

Individual exams

You will need to embed a few lines of code in your web page for an exam to load and a gateway to be formed between your web server and ours. A typical web page will contain HTML code that can be viewed by selecting "view source" in your browser's menu options. Between the opening and closing tags copy and paste the following code:

<script type="text/javascript">
// <![CDATA[
examprofessor_size = "medium";
examprofessor_exam = "96A69A8E1A0E450F";
// ]]>
</script>
<script src="/api/scripts/exam_embed.js" language="javascript"></script>

Change the fourth line above (examprofessor_exam) with the key provided to you in the teacher admin interface.


The XML escape code: // is optional. We've included it in this example because some content management system strip out all code between tags.


Exam sizes can range from full page (100% x 100%) to a page that fits nicely in blogs (525px x 545px).


Just set exam size as:

examprofessor_size = "medium";

or

examprofessor_size = "full";


Student interface

If you wish to embed the whole student interface onto your web-site, and a gateway to be formed between your web server and ours use the following code:


<script type="text/javascript">
// <![CDATA[
examprofessor_account = "yourcoolthirdpartydomain";
// ]]>
</script>
<script src="/api/scripts/exams_embed.js" language="javascript"></script>


Change the third line above (examprofessor_account) to the third party domain your created when signing up for your account.


Once again, the XML escape code: // is optional.


The student interface will include a complete list of both private and public exams under your account, including a student log-in, dashboard of exam data including exam name, passing score, number of takes, retakes, scores and other data specific to your account.

Need help or support?Need help or support?

Get answers to your questions by filling out our contact form


Got something to say?

Drop us an email and let us know what you think about Exam Professor. We will share your thoughts.


I found a bug. Now what?

First of all, thanks for finding it since we obviously missed it. Please fill out our support form and we'll get right on it.