AKFCloze
AKFCloze is a little program to generate a cloze. The program generates HTML files with some JavaScript code.
- Download:
- http://akfoerster.de/dl/akf-software/akfcloze/
- Browse source code archive:
- http://akfoerster.de/gitweb/?p=akfcloze.git
- Clone git repository:
- git clone http://git.akfoerster.de/akfcloze.git
- License:
- GPLv3 or later
(The generated files are not under the GPL)
The embedded JavaScript code is released with no further conditions under the license CC0. - Author:
- Andreas K. Förster
- Uses:
- The variant with a graphical user interface uses AKFAvatar, SDL-1.2
- Examples:
-
- Setze den richtigen Artikel ein (German)
Mini-Howto
Command-line: $ akfcloze [textfiles]
input-files:
The input-files should be plain text-files:
- The first line is the heading, second line must be empty.
- Then comes the text. The expressions to ask for have to be enclosed into brackets: “[example]”. The expressions can be more than one word, but the expression must end in the same line. Alternate answer possabilities can be separated by vertical bars, for example „[AKFCloze | AKFLückentext]“.
- Use an empty line for separating paragraphs. It is not enough just to use indentation.
- If you want to have further headings in your text, prepend them with an equal-sign in the first column of the line. For example: "=new heading".
- If you want to enforce a line-break, you can put a "|" sign at the end of the line. For example: "Line-break:|"
output-file:
The program creates HTML-files with embedded JavaScript. These files can be used with a JavaScript-capable Webbrowser.
A warning is displayed if your Webbrowser doesn't support JavaScript, or if it is switched off.
personal note
I wrote this program for someone else. So the code is by me, but don't blame me for design and usability decisions.
See Also
- http://linuxwiki.de/AkfCloze/en
- AkfQuiz - program package to create quiz-games and similar stuff