Formating Raw Text
Previous Top Next

Before a valid module can be made using Module Creator, the raw text files must be formatted properly. Below we will deal with formatting each module type separately.


Bibles

Bible texts are simple to format. Each line must contain a single reference and verse separated by a tab. Texts can also contain italics tags (<i>, </i>) and red-letter tags (<r>, </r>). Strong's numbers can be included with the number in brackets after the word. For instance,

Note:
(The space after the reference [Gen 1:1] must be a tab from the keyboard Tab key. It cannot be a normal space or series of spaces)


Gen 1:1    In the beginning...
Gen 1:4    And God saw the light, that <i>it was</i> good...
Mat 5:5    <r>Blessed <i>are</i> the poor in spirit....</r>
Gen 1:1    In the beginning[7225] God[430] created[853] [1254] the heaven[8064]...


The book references must be the three letter abbreviation as found in the Bible Tree in Bible Analyzer. There can not be more than 31102 lines/verses. The entire Bible does not have to be included, but it is best if divisions are between books or chapters. Also, it is best if the reference is still listed for omitted verses within a chapter.


Act 8:37      (Verse Omitted)


Note:
The formatted text must be saved as a plain ASCII text file. Notepad or Notepad++ will save such files.



Commentaries

Commentary texts are much the same except the comment is placed after the tab instead of the verse. Also, references can be for books or chapters alone, and can span verses.

Gen  Comment for the whole book
Gen 1:     Comment for the chapter
Gen 1:1    This is commentary for a single verse...
Gen 1:2-4  This comment spans a range of verses...



Dictionaries

Dictionary texts are very similar. Format them like this: topic, [tab], then definition on a single line.

Abba The definition goes here.


Devotions

Devotions should number 366 (one for each day) and be formatted as, month, [tab], day, [tab], then devotion on a single line,

2    29   This is the devotion for February 29, leap day.
7    4    This is the devotion for July 4.


Books/Articles

Books and Articles consist of slightly modified HTML files. Books of a single chapter need no modification except they must conform the the available tags listed below and be on a single line.

All texts must have a title within title tags on the first line,

<title>Book Title Goes Here</title>

Single chapter books must have Contents as the title and entire text body on a single line separated by a tab.

Contents   Body of entire text goes here...

Multi-chapter books must have the chapter title and chapter body on a single line separated by a tab.

Chapter 1  Chapter 1 body goes here...
Chapter 2  Chapter 2 body goes here...





List of Supported HTML Tags

(These can be used in all modules and books)


A               NAME=[string]
                HREF=[url]
                TARGET=[target window spec]
ADDRESS
AREA            SHAPE=POLY
                SHAPE=CIRCLE
                SHAPE=RECT
                COORDS=[coords]
                HREF=[url]
tB
BIG
BLOCKQUOTE
BODY            TEXT=[color]
                LINK=[color]
                BGCOLOR=[color]
BR              ALIGN=[alignment]
CENTER
CITE
CODE
DD
DIV             ALIGN=[alignment]
DL
DT
EM
FONT            COLOR=[color]
                SIZE=[fontsize]
                FACE=[comma-separated list of facenames]
HR              ALIGN=[alignment]
                SIZE=[pixels]
                WIDTH=[percent|pixels]
                NOSHADE
H1
H2
H3
H4
H5
H6
I
IMG             SRC=[url]
                WIDTH=[pixels]
                HEIGHT=[pixels]
                ALIGN=TEXTTOP
                ALIGN=CENTER
                ALIGN=ABSCENTER
                ALIGN=BOTTOM
                USEMAP=[url]
KBD
LI
MAP             NAME=[string]
META            HTTP-EQUIV="Content-Type"
                CONTENT=[string]
OL
P               ALIGN=[alignment]
PRE
SAMP
SMALL
STRIKE
STRONG
SUB
SUP
TABLE           ALIGN=[alignment]
                WIDTH=[percent|pixels]
                BORDER=[pixels]
                VALIGN=[v_alignment]
                BGCOLOR=[color]
                CELLSPACING=[pixels]
                CELLPADDING=[pixels]
TD              ALIGN=[alignment]
                VALIGN=[v_alignment]
                BGCOLOR=[color]
                WIDTH=[percent|pixels]
                COLSPAN=[pixels]
                ROWSPAN=[pixels]
                NOWRAP
TH              ALIGN=[alignment]
                VALIGN=[v_alignment]
                BGCOLOR=[color]
                WIDTH=[percent|pixels]
                COLSPAN=[pixels]
                ROWSPAN=[pixels]
TITLE
TR              ALIGN=[alignment]
                VALIGN=[v_alignment]
                BGCOLOR=[color]
TT
U
UL