Accessing input data of a Branching Scenario
Dear H5P-community,
I´m using H5P in a wordpress environment on my website for creating a learning environment for students as Branching Scenario. As I want to do research about the learning environment, I´m highly interested in accessing the data (text, …) inserted by the users.
In the Branching-Scenario content type, I inserted a course presentation with an exportable text area inside. In this text area the users can insert text, but I didn´t find a way to access this input.
In other H5P content type like the “essay”, I can access the input via the H5PxAPIkatchu-plugin, which is just what I am looking for with respect to the essay content type. Just this seems not to work with the input in branching scenarios - or did I miss something in this useful plug-in?
Is there a way to access the user input in a branching scenario/course presentation/exportable text area (or similar content type inside a branching scenario) using the H5PxAPIkatchu-plugin or another tool?
Answers are appreciated a lot!
Bests,
Jan
Normal 0 21 false false false DE X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0cm; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}
otacke
Sun, 03/28/2021 - 12:59
Permalink
Hi Jan!The text that's
Hi Jan!
The text that's entered in an exportable text area is not part of the results, so you cannot retrieve them via xAPI. If you activate the "save content state" option, the text will be stored in the database of WordPress inside the table wp_h5p_contents_user_data. You'd have to retrieve it from that table.
Cheers,
Oliver
Jan Hey
Mon, 03/29/2021 - 11:01
Permalink
Hi Oliver, thanks for your
Hi Oliver,
thanks for your answer! This makes it clearer for me!
I checked it for our server and indeed it should be possible for us to access the data. However, as I have no experience with MySQL, accessing the WordPress data base and how to put it in a format, which is handy for me, I guess the following idea as work-around solution might be easier:
If I implement the Branching options not as H5P Branching Scenario but via single Wordpress pages connected via links, which create the branching options, on the single WordPress-pages I can put simple H5P content like “essay” and access the inserted data just via your plugin.
Cheers,
Jan
Normal 0 21 false false false DE X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0cm; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}
otacke
Mon, 03/29/2021 - 14:59
Permalink
Hi Jan!If that's easier for
Hi Jan!
If that's easier for you and feasible enough, go for it :-)
Cheers,
Oliver
Jan Hey
Tue, 03/30/2021 - 15:40
Permalink
... alright - thanks!
... alright - thanks!