Data formats and exchange
From SuperMemopedia
Contents |
SuperMemo data formats
There are a number of different data formats for representing SuperMemo collections and learning data. This is a brief summary of the various formats, how they are supported by the SuperMemo platforms and how SuperMemo data can be exchanged between platforms.
Q and A
A simple plain text format where each question-answer pair is listed using prefixes:
Q: What is the capital of Slovakia? A: Bratislava
Multiple lines can be generated by multiple Q and A prefixes:
Q: What countries can be found at Tanzania's northern border? A: Uganda (west) A: Kenya (east)
If you are converting from non-SuperMemo files, you can also generete line breaks as follows:
- when importing to plain text components: inserting #2 to be interpreted as the end of line
- when importing to HTML components: inserting BR or P tags
Multiple choice answers can be represented with numbered answers (only in SuperMemo for Windows):
Q: The telephone was invented by ... A: Thomas Edison A1: Alexander Graham Bell A2: Benjamin Franklin
SuperMemo 2004 allows of HTML tags in Q&A files. It also allows of import of files in UTF-8 format.
This format is to be retained for its simplicity and popularity among users.
Knowledge Harvester makes it simple to create Q&A files from texts you read. You do not need to constantly switch between applications
FAQ
SuperMemo XML
This is just a rough beginning: http://supermemo.com/beta/xml/index.htm
Currently the core is implemented in:
- SuperMemo for Pocket PC ver. 3.0 (and later)
- SuperMemo 2004 for Windows (and later)
Currently in implementation:
- SuperMemo for Palm Pilot ver. 2.0 (and later)(developed as an independent standalone tool)
- supermemo.net ver. ? (and later)
- other SuperMemos ?
This format is intended to be a standard for data exchange between SuperMemos and other flashcard applications that care to support it. It is extensible. It is being extended while the core is being implemented on various platforms.
See also:
- SuperMemo XML FAQ: http://www.supermemo.com/help/faq/xml.htm
- XML_for_mindmapping
SuperMemo native format
May gradually be opened as open source if there is substantial interest.
See also: http://supermemo.com/help/files.htm
SuperMemo PDB converter
Open source PDB converter: http://www.reavesmd.com/software/#SMConv
Knowledge harvester: http://www.banaban.net/
Mapletop Software also offer a free command-line export program (from Palm SM to Q&A)
