Word Bank Instructions
How to create your own word bank
You don't have to be a computer programmer, or even know anything about HTML, to customise this program. However, you will need to change some code in a file. This may sound very technical, but it is actually quite straightforward. All the difficult stuff which makes the program work has been done. All you will be doing is changing the content.
What you will be doing
- Downloading the file from the Storybook website to your machine
- Creating your own version of the word bank
- Saving any changes you make
The version of the word bank you create will run from your machine or any other that you copy the files to. It will not change the word bank games on the storybook website.
Downloading the files
To begin you will need to download the word bank files onto your machine from the Storybook website. Click on either the PC or Mac link on the page, follow the on-screen instructions and save the file to wherever you want to store it on your hard disk. Double-click the downloaded file and follow the on-screen instructions.
How to customise the word bank
When you open the folder called 'wordbank' you will see a number of files.
- The 'click me' file is the default game which you will be using.
- The folder called 'pre-set wordbanks' contains the code for all the word bank games featured on the website.
Once you have mastered changing the default code, you then have the option of using and changing the other word bank games featured in the website.
If you open the file called 'wordbank', you will see lots of code which looks similar to this:
<?xml version="1.0" encoding="iso-8859-1" ?>
<wordbank title="Who Works Where" random_order="true" phrases_to_display="10">
<phrase text="Policewoman" level="easy">
<characters_to_remove text="o">
<alternative text="a">
<alternative text="i">
<alternative text="e">
</characters_to_remove>
</phrase>
|
You don't need to worry about what the text in red means; all you are really concerned with is the text in bold.
What can I change ?
You can change:
- the order of words/sentences to be completed
- the number of words/sentences to be completed
- letters
- words
- sentences
Order of words/sentences to be completed
The game has been programmed to display a sequence of 10 words/sentences in random order. The code for this looks like this:
random_order="true" phrases_to_display="10">
So, if you wanted to have the sequence of 10 in order and not random then you would change
random_order="true" phrases_to_display="10"> to
random_order="false" phrases_to_display="10">
You only need to change what is in bold. If you change any of the surrounding quotation marks, you will change the code and things will not work the way they're supposed to.
Number of words/sentences to be completed
The game has been programmed to display a sequence of 10 words/sentences in each level. The code for this looks like this:
phrases_to_display="10">
So, if you wanted to have a sequence of 5 then you would change
phrases_to_display="10"> to
phrases_to_display="5">
You only need to change what is in bold. If you change any of the surrounding quotation marks, you will change the code and things will not work the way they're supposed to.
Easy level
In the easy level, you want your users to complete a spelling activity. They are given a word, with a letter removed and alternatives to complete the word.
The code for this looks like this:
<phrase text="Policewoman" level="easy">
<characters_to_remove text="o">
<alternative text="a">
<alternative text="i">
<alternative text="e">
|
In this example the letter 'o' is being removed, and the letters 'a', 'i' and 'e' are being given as alternatives. So, if you want the letter 'e' to be removed, you would change:
<characters_to_remove text="o"> to
<characters_to_remove text="e">
Again all you have to do is change the character in bold.
Creating your own words
You can replace the words used to ones of your choosing. If you wanted to use the word 'story' you would change the code to look like this:
<phrase text="story" level="easy">
<characters_to_remove text="o">
<alternative text="a">
<alternative text="i">
<alternative text="e">
|
Again, all you are doing is changing the bold text.
Hard level
In the hard level users have to select the right word to complete a sentence. The code looks like this:
</phrase>
<phrase text="A doctor uses a stethoscope." level="hard">
<characters_to_remove text="doctor">
<alternative text="fireman">
<alternative text="postwoman">
<alternative text="mechanic">
</characters_to_remove>
<characters_to_remove text="stethoscope">
<alternative text="fire hose">
<alternative text="school">
<alternative text="garage">
</characters_to_remove>
|
This code allows the sentence <phrase text="A doctor
uses a stethoscope"> to have two alternative ways of being
displayed. In the first instance the code:
<characters_to_remove text="doctor">
means that the word 'doctor' is being removed and in the second instance the code:
<characters_to_remove text="stethoscope">
means that the word 'stethoscope' is being removed.
Again by changing the words in bold you can create two different options.
Creating your own sentence
If you wanted to use the sentence to 'Changing HTML code is easy', the code would be:
<phrase text="Changing HTML code is easy." level="hard">
<characters_to_remove text="easy">
<alternative text="difficult">
<alternative text="boring">
<alternative text="pointless">
</characters_to_remove>
<characters_to_remove text="HTML">
<alternative text="ABCD">
<alternative text="EFGH">
<alternative text="IJKL">
</characters_to_remove>
|
How to change the code
You will have to use an HTML editor to change the code. Probably the easiest way to do this is to use the Notepad program.
This can be accessed on a PC by:
- clicking on the start menu
- select Programs,
- then Accessories
- then Notepad
If you are a Mac user, you can use the Simple Text program to open the file.
You can open the file by:
- clicking on the file menu
- select open
- browse until you find the word bank file on your machine.
Tips
Since Notepad/Simple Text provides no formatting, words will not be distinguished in bold. Here are some suggestions to help you make your changes:
- You might find it helpful to print out the word bank file and work out what you want to change on paper before you start working with Notepad/Simple Text.
- Use the find tool to find the words you want to change. If you simply type in the word you want to work with, it will find it on the page and you can make your changes.
- Save your changes.
- When you open the 'click me' file your changes will appear in the game.
If you want to use the preset word banks, cut and paste the code into the 'wordbank' file and make your changes in the same way.
If it all goes wrong, don't worry, you can download the files again from the Storybook website.
|