Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Questions in Bulk #13

Open
sangeeyeah opened this issue Sep 8, 2019 · 1 comment
Open

Creating Questions in Bulk #13

sangeeyeah opened this issue Sep 8, 2019 · 1 comment

Comments

@sangeeyeah
Copy link

This is not an issue. This is a feature-request & a question.

The advanced blanks is working perfectly in Wordpress. Thanks!

Just two questions / feature requests.

[1] How can content be created in bulk ? i.e. I have to create around 400+ questions. Is there a way to use a XML file or a formatted text file to import the sentences in bulk ?

[2] I have tried all the current options for CSS styling the H5P content, but none are working. Would it be possible to change the fonts and apply some CSS (background color etc.) to the text boxes ?

@sr258
Copy link
Owner

sr258 commented Sep 8, 2019

It's great that the content type is useful to you!

About your questions:

  1. Currently, bulk import is not part of the features of Advanced Blanks. I've given this a try some time ago, but there is a restriction in the general H5P editor, which makes it hard to do this. (What I would need is a switch between "bulk import" and "normal mode", which switches between to different editor widgets but edits the same data. This is currently not possible in the H5P editor framework without completely writing your own editor code, which I would rather not.)
    What is possible, however is to simply modify the JSON content file inside a .h5p package. These packages are simply zip files that you can open and edit in any regular zip tool or even within the Windows Explorer if you just rename the .h5p file to .zip. If you have a look at the content file here, you can simply modify the file anywhere you like and then replace the file content/content.json inside the package with it. Sorry that there is no more convenient way at the moment!

  2. How are you trying to style the content? Applying CSS styles should work. Maybe I can help, if you describe how you apply the changes to the CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants