|
Create
from Index menu, Fig.3. Index menu. Add the link to the added web-site will appear in the area above buttons "OK" and "Cancel"
(Fig.5). Now let us take a look at four pairs of radio buttons in Fig.4.
When PION creates an index Index_i (i=1,2,...) it enumerates all files, URLs and write them in file.lst. Then pion creates the file
word.ind that contains all the words from files and URLs taken from file.lst. Each word is accompanied with numbers corresponding to
the addresses of files and/or URLs where the word could be found.
If
Yes is chosen for Optimal?, then PION optimizes
word.ind and creates xword.ind.
If Yes is set for Compress?, then PION creates
file.zip, word.zip, xword.zip instead of file.lst, word.ind,
xword.ind, respectively.
If Yes is selected for Index now?, then the index
will be created immediately. Otherwise, the real indexing will be skipped, but
the index directory with all config files will be in place.
If No is pushed for Use Default Browser?, then PION will enquire the executable of the browser which will be used to serve this
particular index (Fig.7).
netscape is located in /usr/bin, then
/usr/bin/netscape has to be typed in the text-field of the dialog
in Fig.7.Expand option and then Pion will expand the corresponding URL. After expanding operation is completed double-click on URL will show
the added links (Fig.8). After Create index dialog is completed and
OK button is pressed. PION starts creating the index. During this
work the open book icon is used for the index. For example, in Fig.9 the
LinuxHOWTO index is in work.
LinuxHOWTO index is in work.
After the i-th index is created let us look into the directory
Index_i in .PHome. It has Index.conf
which is similar to the following.
#ICON is updated
#Thu Mar 30 23:41:03 MST 2000
OPTIMAL=Yes
TITLE=Chess
COMPRESS=Yes
BROWSER=/usr/bin/netscape
ICON=/home/devel/.PHome/images/icon.chess.gif
TRIMMED=No
Index_i contains URL.lst which is the list of URLs used to
create the index. The file Index.log documents the messages and
errors generated during the indexing process. The usage of the file
word.trm will be discussed later in this manual. The actual index
itself is presented by the files file.lst, word.ind and, if the
index is optimized, then xword.ind is added. If the index is annotated then annotate.zip is present in the index directory. If one decides to add "Ignore Case" feature to the index, then der1.zip will be created in the index directory.