Previous page
About InfoWorlds

InfoWorld is a file, containing links to the InfoPages and/or other InfoWorlds.
In fact, InfoWorlds are written mostly in a conventional HTML format. Therefore, they can be developed with a help of any HTML or text editor.
The only point of departure of the InfoWorlds' syntax from HTML standard is using special addresses in anchor tags. Instead of specifying an URL, references in the InfoWorlds are instructions to 2D-info applications like the 2D-infoExplorer. As InfoWorlds are designed to be used only from with in such applications, we may extend their anchor syntax.
Format for the InfoWorlds' links.
The rules are simple.
All InfoWorlds' links must begin with 2DI letters (case sensitive), that stand for "2D-Information". If an HTML anchor reference contains the 2DI in the beginning, - it is treated as the InfoWorld link.
Symbol "@" starts full address for instantiating a whole document (usually InfoPage). The address can contain just a file name.
Colon ":" starts description of location for some specific fragment within InfoPage. Coordinates of the location are given in the following order: Unit, Instance, Level.
File names without extension are treated as ".class" files. Otherwise, it is expected that a target application is responsible for compiling files with ".java" extension before their starting.
If present, symbol "$" begins description of domain or Web host part of the address for the requested file. Here, we can also use symbol "*", which stands for the directory specified by running 2D-info browser (e.g., 2D-infoExplorer) as Data_path. This allows creating relative addresses in a portable way: Actual location of the Data_path is defined at a runtime by a specific machine. The convention for the * also is true in HTML links to other InfoWorlds.
Examples of the format:
     2DI@fileName$file://C:/MyDirectory/
     2DI@fileName.class$file://C:/MyDirectory/
     2DI@fileName.java$file://C:/MyDirectory/
     2DI@fileName$*
     2DI@fileName$*MyDirectory/MySubdirectory/     
     2DI@fileName.java$*
     2DI@fileName:1,2,3$*
     2DI@fileName:2,8,4$domainLocation.com
     2DI@fileName.java:1,2,3$domainLocation.com
     2DI@fileName$www.domainLocation.com
     2DI@fileName.infoworld$www.domainLocation.com
     2DI@fileName.html$www.domainLocation.com
     2DI@MyFile.htm$www.domainLocation.com
Completed link looks like this:
     <A HREF="2DI@myFile.java:5,22,7$www.myCompany.com">Click this link</A>
An HTML link to another InfoWorld can be described as:
     <A HREF="file://C:/DATA/MyDirectory/page_2.infoworld">Go to InfoWorld 2</A>
	or
     <A HREF="*MyDirectory/page_2.infoworld">Go to InfoWorld 2</A>

Previous page
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) S. Beloy
Up