2D-info Space Content Types
Main content types are plain text and graphics.
Extended set of types adds the "link" type for pointing to fragments anywhere on the Internet. Instead of containing an actual content, data files can consist of only references to the content,
and generate it at a run-time.
Also, the 2D-info Space supports a special "text code" type. That is a kind of data compression, which uses a compact code instead of actual text. For example, content of many pages can be described as a range of words within a text file. As a result, an InfoPage can be assembled of many text files located on the net, as well as of some specific fragments(!) from the files.
In the Meta arrays below there can be allocated the following (String) parameters:
META_ARRAY [0] -- Some info text about the array.
META_ARRAY [1] -- Type of content.
First parameter can be either:
text - plain text (default)
image - gif/jpg/jpeg formats
code - Data Compiler's code
fragment - fragment of formatted HTML text
Other parameters:
link - use reference to content instead of actual content
attached- use files attached to info page
Type description is not case sensitive.
Parameters can have subtypes after slash (/), e.g., "text/plain", "image/jpg".
Multiple parameters may be separated by a delimiter (e.g., InfoExplorer uses ", ").
Examples:
text - text is located in LEVEL array (default mode).
text;link - LEVEL array contains links where to find a file containing
the text; e.g., "DirectoryOne/file1.txt".
If META_ARRAY[2] is not empty, it contains host address,
which is attached to the left of the link for all fragments;
e.g., "www.fv.com/", "file:/C:/MyDir/", "@oracleDB", etc.
In the latter case LEVEL usually contains only names of the files,
e.g., "file1.txt".
text;link;attached
- LEVEL array contains links where to find the text
(usually only names of the files).
The host address for the links is a subdirectory with
name of the data file, located in (a client-based) dataDirectory [was: Data_path].
// For example, for a dataFileName see C:/DataPath/dataFileName_Files/.
(Using attached files is a more portable way of sharing data).
code - LEVEL array contains code of the text.
Base text is located in META_ARRAY[3].
code;link - LEVEL array contains code of the text.
A link to the Base text is located in META_ARRAY[2].
code;link;attached
- LEVEL array contains code of the text.
META_ARRAY[2] refers to name of the Base text file.
The latter is located in dataDirectory, and subdirectory
with name of the data file; e.g., DATA/dataFileName_Files.
image - LEVEL array contains name of the image file.
The latter is located in either:
(a) special DataMedia_path
(UseAttachedFiles=No, default case);
(b) dataDirectory, and subdirectory
with name of the data file [maybe plus path for images];
e.g., dataFileName_Files/
(UseAttachedFiles=Yes).
(Using attached files is a portable way of sharing data).
image;link - LEVEL array contains name of the image file.
(Host) directory for the file is specified in META_ARRAY[2].
Some other user-defined type parameters can be added after semicolon.
META_ARRAY [2] -- Location.
Possible values:
- for "text": alternative location of text
- for "text;link": can contains host address of links
- for "text;link;attached": alternative host address of links
- for "code": alternative location of the Base text.
- for "code;link": link to the Base text
- for "code;link;attached": name of the Base text file
- for "image": alternative host directory for the image file
- for "image;link": host directory for the image file
META_ARRAY [3] -- Base, Image Title
Possible values:
- for "code...": Base text
- for "image...": Title of image (or object)
META_ARRAY [4] -- Info about authorship.
e.g., "Copyright (c) by Richard V. Aster, 1989, aster@rva.com".
This Web site is not and in no way is affiliated to official site of the
InfoSpace, Inc.
The term "2D-info Space" is not affiliated with trademarks of the
InfoSpace, Inc.
Copyright(C) Sergiy Beloy