Processing MGI Tags

MGI processes files wiith extensions specified by the server's suffix mapping settings. Any file extension can be mapped and processed by MGI. The ".mgi" extension is commonly set as a suffix for MGI processing.

Processing means that MGI scans the HTML code of the page looking for MGI tags. Tags are parsed (read by the MGI program) in a specific order -- from the top to the bottom of a page and from the inside out (i.e. the body of a tag is parsed before the rest of the tag, and embedded tags are parsed before the tags in which they reside). If an MGI tag is encountered during the scan, MGI parses the tag, replacing it with the appropriate information before the page is served (e.g. an mgiCounter tag is parsed and replaced with a string of numbers).

Because MGI performs its functions before the page is served, MGI tags will not be visible to the visitor viewing the HTML source code of a page served by MGI. To avoid re-entering MGI tags, it is advisable to work with new, original HTML code only, rather than code downloaded via a browser's "Save As" command.

[Processing Tags] [Errors] [Writing Tags] [Using Tags] [Embedding Tags]

[Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]

[MGI Guides Main Menu] [User Guide Main Menu]