{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/32962914","id":32962914,"diff_hunk":"@@ -0,0 +1,256 @@\n+.. _Survey Tool:\r\n+\r\n+###################\r\n+Survey Tool\r\n+###################\r\n+\r\n+This section describes how to embed surveys in your course. \r\n+\r\n+.. contents::\r\n+   :local:\r\n+   :depth: 1\r\n+\r\n+*********\r\n+Overview \r\n+*********\r\n+\r\n+You can embed a survey in your course. A survey has multiple answers and\r\n+multiple questions. A learner sees the survey and selects appropriate answers.\r\n+\r\n+Screenshot\r\n+\r\n+When learners submit answers, they see results\r\n+\r\n+Screenshot\r\n+\r\n+*******************************************\r\n+Enable the Survey Tool\r\n+*******************************************\r\n+\r\n+Before you can add a survey to your course, you must enable it in Studio or\r\n+OLX.\r\n+\r\n+======================================\r\n+Enable the Survey Tool in Studio\r\n+======================================\r\n+\r\n+#. From the **Settings** menu, select **Advanced Settings**.\r\n+\r\n+#. In the **Advanced Module List** field, place your cursor between the braces,\r\n+   and then type ``\"survey\"``. If you see other values in this field,\r\n+   add a comma after the closing quotation mark for the last value, and then\r\n+   type ``\"survey\"``. \r\n+   \r\n+   .. image:: ../../../shared/building_and_running_chapters/Images/survey_poll_advanced_setting.png\r\n+    :alt: Advanced modules setting for surveys\r\n+    :width: 400\r\n+\r\n+#. At the bottom of the page, select **Save Changes**.\r\n+\r\n+======================================\r\n+Enable the Survey Tool in OLX\r\n+======================================\r\n+\r\n+To enable surveys in your course, you edit the XML file that defines\r\n+the course structure.\r\n+\r\n+Open the XML file for the course in the ``course`` directory. In the ``course``\r\n+element's ``advanced-modules`` attribute, add the string ``survey``.\r\n+\r\n+For example, the following XML code enables surveys in a course.\r","path":"en_us/shared/exercises_tools/survey.rst","position":60,"original_position":60,"commit_id":"24e43417282e99ff9483ac03dfb8e9c8bd8d63e7","original_commit_id":"24e43417282e99ff9483ac03dfb8e9c8bd8d63e7","user":{"login":"catong","id":9041399,"avatar_url":"https://avatars.githubusercontent.com/u/9041399?v=3","gravatar_id":"","url":"https://api.github.com/users/catong","html_url":"https://github.com/catong","followers_url":"https://api.github.com/users/catong/followers","following_url":"https://api.github.com/users/catong/following{/other_user}","gists_url":"https://api.github.com/users/catong/gists{/gist_id}","starred_url":"https://api.github.com/users/catong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catong/subscriptions","organizations_url":"https://api.github.com/users/catong/orgs","repos_url":"https://api.github.com/users/catong/repos","events_url":"https://api.github.com/users/catong/events{/privacy}","received_events_url":"https://api.github.com/users/catong/received_events","type":"User","site_admin":false},"body":"\"enables surveys\" -> \"enables the survey tool\"","created_at":"2015-06-22T17:53:44Z","updated_at":"2015-06-22T17:53:44Z","html_url":"https://github.com/edx/edx-documentation/pull/401#discussion_r32962914","pull_request_url":"https://api.github.com/repos/edx/edx-documentation/pulls/401","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments/32962914"},"html":{"href":"https://github.com/edx/edx-documentation/pull/401#discussion_r32962914"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/401"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-documentation/pulls/401","id":38045676,"html_url":"https://github.com/edx/edx-documentation/pull/401","diff_url":"https://github.com/edx/edx-documentation/pull/401.diff","patch_url":"https://github.com/edx/edx-documentation/pull/401.patch","issue_url":"https://api.github.com/repos/edx/edx-documentation/issues/401","number":401,"state":"open","locked":false,"title":"Poll and Survey XBlock","user":{"login":"mhoeber","id":5607222,"avatar_url":"https://avatars.githubusercontent.com/u/5607222?v=3","gravatar_id":"","url":"https://api.github.com/users/mhoeber","html_url":"https://github.com/mhoeber","followers_url":"https://api.github.com/users/mhoeber/followers","following_url":"https://api.github.com/users/mhoeber/following{/other_user}","gists_url":"https://api.github.com/users/mhoeber/gists{/gist_id}","starred_url":"https://api.github.com/users/mhoeber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhoeber/subscriptions","organizations_url":"https://api.github.com/users/mhoeber/orgs","repos_url":"https://api.github.com/users/mhoeber/repos","events_url":"https://api.github.com/users/mhoeber/events{/privacy}","received_events_url":"https://api.github.com/users/mhoeber/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-18T19:51:56Z","updated_at":"2015-06-22T17:53:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c42460575bc4e62ed8f47802814b69eb78333f68","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-documentation/pulls/401/commits","review_comments_url":"https://api.github.com/repos/edx/edx-documentation/pulls/401/comments","review_comment_url":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-documentation/issues/401/comments","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/24e43417282e99ff9483ac03dfb8e9c8bd8d63e7","head":{"label":"edx:markhoeber-doc1918","ref":"markhoeber-doc1918","sha":"24e43417282e99ff9483ac03dfb8e9c8bd8d63e7","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":23839256,"name":"edx-documentation","full_name":"edx/edx-documentation","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-documentation","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-documentation","forks_url":"https://api.github.com/repos/edx/edx-documentation/forks","keys_url":"https://api.github.com/repos/edx/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-documentation/teams","hooks_url":"https://api.github.com/repos/edx/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-documentation/events","assignees_url":"https://api.github.com/repos/edx/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-documentation/tags","blobs_url":"https://api.github.com/repos/edx/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/edx/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-documentation/subscription","commits_url":"https://api.github.com/repos/edx/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-documentation/merges","archive_url":"https://api.github.com/repos/edx/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-documentation/downloads","issues_url":"https://api.github.com/repos/edx/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-documentation/releases{/id}","created_at":"2014-09-09T15:29:04Z","updated_at":"2015-06-17T08:57:08Z","pushed_at":"2015-06-22T17:52:28Z","git_url":"git://github.com/edx/edx-documentation.git","ssh_url":"git@github.com:edx/edx-documentation.git","clone_url":"https://github.com/edx/edx-documentation.git","svn_url":"https://github.com/edx/edx-documentation","homepage":null,"size":80687,"stargazers_count":17,"watchers_count":17,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":18,"forks":58,"open_issues":18,"watchers":17,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"62ce95e71e9862c10b492b9e1782103fd6f81ceb","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":23839256,"name":"edx-documentation","full_name":"edx/edx-documentation","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-documentation","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-documentation","forks_url":"https://api.github.com/repos/edx/edx-documentation/forks","keys_url":"https://api.github.com/repos/edx/edx-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-documentation/teams","hooks_url":"https://api.github.com/repos/edx/edx-documentation/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-documentation/events","assignees_url":"https://api.github.com/repos/edx/edx-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-documentation/tags","blobs_url":"https://api.github.com/repos/edx/edx-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-documentation/languages","stargazers_url":"https://api.github.com/repos/edx/edx-documentation/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-documentation/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-documentation/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-documentation/subscription","commits_url":"https://api.github.com/repos/edx/edx-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-documentation/merges","archive_url":"https://api.github.com/repos/edx/edx-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-documentation/downloads","issues_url":"https://api.github.com/repos/edx/edx-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-documentation/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-documentation/releases{/id}","created_at":"2014-09-09T15:29:04Z","updated_at":"2015-06-17T08:57:08Z","pushed_at":"2015-06-22T17:52:28Z","git_url":"git://github.com/edx/edx-documentation.git","ssh_url":"git@github.com:edx/edx-documentation.git","clone_url":"https://github.com/edx/edx-documentation.git","svn_url":"https://github.com/edx/edx-documentation","homepage":null,"size":80687,"stargazers_count":17,"watchers_count":17,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":18,"forks":58,"open_issues":18,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/401"},"html":{"href":"https://github.com/edx/edx-documentation/pull/401"},"issue":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/401"},"comments":{"href":"https://api.github.com/repos/edx/edx-documentation/issues/401/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/401/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-documentation/pulls/401/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-documentation/statuses/24e43417282e99ff9483ac03dfb8e9c8bd8d63e7"}}}}