How the Content is Stored

Introduction

In this example the files created by the input application are placed in the “john_projects” directory.

For every online learning application (file), the input application will create 3 folders. Assume that the working directory is called john and the online application will be called test1.

1. appName: This folder contains the text files that store the content and graphic file references (john_test1)

2. appNameGraphics: This folder contains copies of all the graphics used in the learning application. (john_test1Graphics)

3. appNamePages: This folder contains snapshots of each page created. This will be used by the input application to facilitate editing the content. (john_test1Pages)

By default on a standalone PC these folders will be created as a subfolder of the directory rapidTBK which is in the “My Documents” folder. In the example illustrated the folders are also a sub folder of the directory “john_projects”

store projects

 

Storing Content

The content for each page is saved as a separate text file in the folder “appName”.

store text (content)

This shows the first 14 pages of an online application.

The first file, test1_index.text contains information about how many pages are in file, and how many of each type of page is to be created.

Each of the other pages contains all the data required to set up one page.
An example of the information stored in a text file is presented below. This data is for template page textGraphic2.

Type of template Page
Page Heading
Text Heading
Introduction Text
Graphic Details
Graphic Title
Page Messages
End of File

TG2_3
PH_textGraphic2
TH_Venice
IT_This is a wonderful city|| a once in a life time place.
GN_venice.jpg||622||309
PT_St. Marks Square
ME_none
EOF

The text files for more complex pages include further information about objects’ position, size and colour.

 

Storing Graphics

The graphic folder “appNameGraphics” (john_test1Graphics) contains copies of the graphics used in the online application.

store graphics

Thumbnails

The page folder "appNamePages" (john_test1Pages) contains screen shots of the pages created. Two sizes are stored; the first is full page size and the second in a thumbnail.

store graphics

Sending the Data (Content)

Once the online application has been completed, the files stored in the appName (john_test1) and appNameGraphics (john_test1) directories need to be moved to the directory containing the publish application. If this is on another PC then the folders must be compressed.

compress folders

The "zipped" folders:

zipped files

can be sent...