Previous Next Index Close


1.1)  Categories

A dii file is a simple text-file that describes a category, and possibly also a tree of subcategories of this category. While the file itself represents a category, the existence of subcategories has to be explicitly mentioned in the file.

The last line of a dii file must always be comprised of a percent-sign ( '%', without quotes. ) Therefore, a dii file describing the empty category simply consists of one line containing a percent-sign. Subcategories can be denoted by placing their names above the percent-sign:
subcategory1
subcategory2
subcategory3
%
Subcategories of subcategories are denoted by placing their names, preceded by a forward-slash, starting anywhere to the right of, or at the same horizontal position as the denotation of the parent category, on the same line or on a lower line:
   category 1/category 1.1/category 1.1.1
           /category 1.2
           /category 1.3
                             /category 1.3.1
%


Previous Next Index Close