Forums | Mahara Community
Support
/
Embed Survey Monkey?
01 April 2013, 22:51
Is it possible to embed a survey/poll from Survey Monkey, on a Mahara Page? Cheers, Jonas
02 April 2013, 23:00
You can embed a Survey Monkey but the coding does not use iframes as far as I can see so you cannot add it to the Allowed iframe sources extension feature in Mahara.
The code from the Survey Monkey site appears to be "<div id="surveyMonkeyInfo"><div><script src="http://www.surveymonkey.com/jsEmbed.aspx?sm=PvHDVBrk2d32sLSaKFJ2QA_3d_3d"> </script></div>Create your free online surveys with <a href="http://www.surveymonkey.com/">SurveyMonkey</a> , the world's leading questionnaire tool.</div>"
I could be proved wrong of course!
11 April 2013, 23:09
Hello,
How have you embedded your Monkey Survey? I tried to but I have succeeded.
-dajan
12 April 2013, 0:21
No, I cannot get it to work with the code Surveymonkey provides.
Cheers, Jonas
12 April 2013, 14:45
Hello,
Judging from the jsembed.aspx part of the embed URL, there is JavaScript involved and that is filtered out by HTMLPurifier. Hence, it can't be embedded without writing a filter. Sadly, SurveyMonkey doesn't use iframes.
Cheers
Kristina
16 April 2013, 3:16
Hi Jonas,
in your mahara, logged in as an admin, under Extensions ->Allowed iframe sources, add surveymonkey as a new site as this: www.surveymonkey.com/s/
Then, go to a page and use the Textbox artefact -> choose HTML and put this code into the box: <iframe src="http://www.surveymonkey.com/s/2RS5GHV" width="600" height="800"></iframe> Adjust the width and height as you see fit.
Replace "http://www.surveymonkey.com/s/2RS5GHV" with the url to your own survey.
You can embedd many sites this way that do not provide a iframe embed code for you to copy.