Wusage: Silly Name, Serious Stats!

Wusage 8.0 Manual

Email Markup Language (EML)

Email Markup Language, or EML, is a simple alternative to HTML which is used to create plain-text reports for inclusion in email messages. When Wusage is creating an email report, the report macro language is used in the normal manner; see the Report Macro Language section for details. However, instead of delivering the generated report directly, it is first passed through the "EML processor," which interprets EML tags to create a plain-text message.

EML supports the following tags. All other tags that may appear are ignored silently. Comments and HTML escape sequences are supported exactly as in HTML. Any sequence of one or more whitespace characters is treated as a single space, as in HTML. To move to a new line, use the <BR> and <P> tags, as in HTML. "Word wrap" is automatically performed.
TagSyntaxMeaning
br <br> Break the current line and move down one line
p <p> Break the current line and move down two lines, if this has not already happened. As in HTML, consecutive <p> tags do not have a cumulative effect.
etable <etable> ... table tags here... </table> Begins a table. Tables in EML work somewhat differently from tables in HTML, and the tags have different names to emphasize this fact. A table begins with an <etable> tag, which is followed by an <eformat> tag containing one or more <eheading> tags specifying the width of each table column and providing a title for the column. The <eformat> tag is followed by one or more <etr> table row tags, each of which contains an <etd> tag for each entry in that row in the table. Table text must not contain tags. Table entries which extend beyond the heading width are chopped off at the heading width and continued on the next line.
eformat <eformat> ... <eheading> tags here... </eformat> Specifies the format of the table. The <eformat> tag contains one or more <eheading> tags, which specify the width of each table column and provide titles for the columns.
eheading <eheading cols="XX" [numeric]> heading text goes here </eheading> Specifies the format of a single table column. The cols attribute of the <eheading> tag indicates how many columns this column will occupy. The numeric attribute, if present, indicates that each entry in this column should be right-justified, which is the best presentation for numbers. Otherwise, each entry is left-justified. Any entry in this column which exceeds the specified width will be cut off at that width and continued on the next line. one or more <eheading> tags, which specify the width of each table column and provide titles for the columns. Table or heading text must not contain tags. Table entries which extend beyond the heading width are chopped off at the heading width and continued on the next line.
etr <etr> ... <etd> tags go here ... </etr> The <etr> tag specifies a single row of table data. The individual table entries appera in <etd> tags within the <etr> tag.
etd <etd> table entry text goes here </etd> The <etd> tag contains the text of a single table entry. Table or heading text must not contain tags. Table entries which extend beyond the heading width are chopped off at the heading width and continued on the next line.


Previous: Report Macro Language
Next: If You Have Problems
Table of Contents
Topical Configuration Editor Reference
Alphabetical Configuration Editor Reference
Alphabetical Configuration File Reference
Glossary of Frequently Used Terms

Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Boutell.Com, Inc.
wusage@boutell.com
Boutell.Com, Inc - PO Box 16716, Seattle WA, 98116, USA
Phone/Fax +1 206 658-8176
Copyright Statement

All material, including images, on this web site is Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Boutell.Com, Inc. unless otherwise noted.
Need more information? Wondering who to contact? Visit our whom page.

Boutell.Com, Inc.
PO Box 16716
Seattle WA 98116
USA
+1 206 658 8176