﻿{"id":889,"date":"2023-11-10T13:18:34","date_gmt":"2023-11-10T11:18:34","guid":{"rendered":"https:\/\/www.olivertacke.de\/labs\/?p=889"},"modified":"2023-11-10T13:18:34","modified_gmt":"2023-11-10T11:18:34","slug":"refurbishing-personality-quiz","status":"publish","type":"post","link":"https:\/\/www.olivertacke.de\/labs\/2023\/11\/10\/refurbishing-personality-quiz\/","title":{"rendered":"Refurbishing Personality Quiz"},"content":{"rendered":"<p>Do you know this content type?<\/p>\n<p><iframe loading=\"lazy\" title=\"Personality Quiz\" src=\"https:\/\/h5p.org\/h5p\/embed\/20635\" width=\"1090\" height=\"441\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><script src=\"https:\/\/h5p.org\/sites\/all\/modules\/h5p\/library\/js\/h5p-resizer.js\" charset=\"UTF-8\"><\/script><\/p>\n<p>This is &#8220;Personality Quiz&#8221; which was created by Lumenia as a student project (as far as I know of). You can have a <a href=\"https:\/\/github.com\/LumeniaAS\/h5p-personality-quiz\">look at the source code<\/a> and you will notice that it is seven years old and has not been updated since. And that&#8217;s a shame, because it contains several bugs, the coding style feels a little off, common H5P features such a resuming or xAPI are not supported, it was not translatable, accessibility was a pain, etc.<\/p>\n<h2>IG Metall to the rescue<\/h2>\n<p>A trade union in Germany called IG Metall sponsored an update to Personality Quiz as part of another project. This update addresses all the issues that were just mentioned &#8211; and more.<\/p>\n<p>The idea of the update was to modernize the content type while being fully compatible with existing contents and keeping all the options, even though one could probably have lived without some of them. And here&#8217;s how the demo content that you can see above would look and feel after the update:<\/p>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-158\" class=\"h5p-iframe\" data-content-id=\"158\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Personality Quiz\"><\/iframe><\/div>\n<p>It resembles younger H5P content types now. For instance, the optional start screen uses the same design as the start screen of Interactive Book. When choosing images, it feels a little like Image Choice. On top, you can now resume, get xAPI statements, translate the interface to other languages, etc. Oh, and I mentioned something extra which was one of the requirements that IG Metall had. There now is a &#8220;chat mode&#8221; as well which allows you to change the way that the questions are presented. There are also some new scoring options (assigning different scores to different answers).<\/p>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-159\" class=\"h5p-iframe\" data-content-id=\"159\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Personality Quiz (chat variant)\"><\/iframe><\/div>\n<h2>Want to use it already?<\/h2>\n<p>This is a little tricky now.<\/p>\n<p>H5P Group has signaled that they are okay with using this version, and I have created a <a href=\"https:\/\/h5ptechnology.atlassian.net\/browse\/HFP-3755\" target=\"_blank\" rel=\"noopener\">ticket asking for review and release<\/a>. That still needs to be done. So far, so good. You may be used to downloading the demo content from this site and to uploading it to your side in order to install the libraries. I have not allowed to download the demo content here, however. Why is that?<\/p>\n<p>This version of Personality Quiz is not a new content type, but an update to an existing content type. It will have a new version number, and you can upgrade your existing content to that version. However, as long as the new code is not officially used by H5P Group, they could decide to create an update of their own which is likely to be incompatible to the new one, which eventually would overwrite the code of this update, and render your content useless. That&#8217;s a mess that I would not want to cause.<\/p>\n<p>I could have made this a new content type instead of an update to prevent this from happening, but then you might end up with libraries for two Personality Quiz content types that essentially do the same, you could not upgrade existing content and would have to re-create it, etc. That&#8217;s also something that I would not want to put forward.<\/p>\n<p>So, the best I can offer is to either wait for H5P Group to find time to review and release the changes &#8211; then you will find an update on the H5P Hub &#8211; or to <a href=\"https:\/\/github.com\/otacke\/h5p-personality-quiz\" target=\"_blank\" rel=\"noopener\">use the source code<\/a>, to build the library yourself and to install it at your own risk &#8211; I think it&#8217;s unlikely that H5P Group would release their own update leading to trouble, but there&#8217;s precedence &#8230;<\/p>\n<h2>Is it available in my language?<\/h2>\n<p>In theory: yes! If it\u2019s missing, you can normally fill in the gaps yourself on <a href=\"https:\/\/translate-h5p.tk\/weblate\/projects\/h5p\/h5p-discrete-option-multi-choice\" target=\"_blank\" rel=\"noopener\">translate-h5p.tk<\/a>. But this will not be possible in a clean way before H5P Group handled things. You would need to <a href=\"https:\/\/snordian.de\/2023\/01\/16\/how-can-i-improve-h5p-translations\/\" target=\"_blank\" rel=\"noopener\">do it the &#8220;old-fashioned&#8221; way<\/a> and <a href=\"https:\/\/github.com\/otacke\/h5p-personality-quiz\" target=\"_blank\" rel=\"noopener\">create a pull request to my github repository<\/a>.<\/p>\n<h2>Any future plans for that content type?<\/h2>\n<p>Not really. I was merely a contractor \u2013 like an architect that created a building but doesn\u2019t keep working on it once the building is done. \u00a0I\u2019ll take care of all the change requests that the H5P core team may have to bring the content type onto the H5P Hub. Additionally, I suppose that I will find time to help you on the H5P forum if you have questions. That\u2019s what I usually do anyway. But if you claim free support or demand features as if it was your right, you\u2019ll most likely get a \u201cno\u201d from me. I may add things, even consider your ideas, but at my own pace \u2013 or expect you to toss me some coin. I hope you understand that. Not all do, as I know from bad experience.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you know this content type? This is &#8220;Personality Quiz&#8221; which was created by Lumenia as a student project (as far as I know of). You can have a look at the source code and you will notice that it is seven years old and has not been updated since. And that&#8217;s a shame, because &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.olivertacke.de\/labs\/2023\/11\/10\/refurbishing-personality-quiz\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Refurbishing Personality Quiz&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,16,71],"class_list":["post-889","post","type-post","status-publish","format-standard","hentry","category-h5p","tag-content-type","tag-h5p","tag-personality-quiz"],"_links":{"self":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts\/889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/comments?post=889"}],"version-history":[{"count":0,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts\/889\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/media?parent=889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/categories?post=889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/tags?post=889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}