]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - doc/help/man-mime.types.html
Initial work on man page modernization (STR #4372)
[thirdparty/cups.git] / doc / help / man-mime.types.html
index 55e5ed4f8a41cfb0c9de6eda26a0399e73c9396a..d40097fda9ca6d6d6f57ec92d6a3729ce0a6f630 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE HTML>
 <html>
 <!-- SECTION: Man Pages -->
 <head>
@@ -33,64 +33,51 @@ logical AND and "," or whitespace for a logical OR, and negated using
 <h2 class="title"><a name="RULES">Rules</a></h2>
 Rules take two forms - a filename extension by itself and functions with test
 values inside parenthesis. The following functions are available:
-<dl>
-<dt>match("pattern")
-</dt>
-<dd></dd>
-<dd>Pattern match on filename
-</dd>
-<dt>ascii(offset,length)
-</dt>
-<dd></dd>
-<dd>True if bytes are valid printable ASCII (CR, NL, TAB, BS, 32-126)
-</dd>
-<dt>printable(offset,length)
-</dt>
-<dd></dd>
-<dd>True if bytes are printable 8-bit chars (CR, NL, TAB, BS, 32-126, 128-254)
-</dd>
-<dt>priority(number)
-</dt>
-<dd></dd>
-<dd>Specifies the relative priority of this MIME type. The default priority is 100.
+<p style="margin-left: 5.0em; text-indent: -5.0em">match("pattern")
+<br>
+<br>
+Pattern match on filename
+<p style="margin-left: 5.0em; text-indent: -5.0em">ascii(offset,length)
+<br>
+<br>
+True if bytes are valid printable ASCII (CR, NL, TAB, BS, 32-126)
+<p style="margin-left: 5.0em; text-indent: -5.0em">printable(offset,length)
+<br>
+<br>
+True if bytes are printable 8-bit chars (CR, NL, TAB, BS, 32-126, 128-254)
+<p style="margin-left: 5.0em; text-indent: -5.0em">priority(number)
+<br>
+<br>
+Specifies the relative priority of this MIME type. The default priority is 100.
 Larger values have higher priority while smaller values have lower priority.
-</dd>
-<dt>string(offset,"string")
-</dt>
-<dd></dd>
-<dd>True if bytes are identical to string
-</dd>
-<dt>istring(offset,"string")
-</dt>
-<dd></dd>
-<dd>True if a case-insensitive comparison of the bytes is identical
-</dd>
-<dt>char(offset,value)
-</dt>
-<dd></dd>
-<dd>True if byte is identical
-</dd>
-<dt>short(offset,value)
-</dt>
-<dd></dd>
-<dd>True if 16-bit integer is identical
-</dd>
-<dt>int(offset,value)
-</dt>
-<dd></dd>
-<dd>True if 32-bit integer is identical
-</dd>
-<dt>locale("string")
-</dt>
-<dd></dd>
-<dd>True if current locale matches string
-</dd>
-<dt>contains(offset,range,"string")
-</dt>
-<dd></dd>
-<dd>True if the range contains the string
-</dd>
-</dl>
+<p style="margin-left: 5.0em; text-indent: -5.0em">string(offset,"string")
+<br>
+<br>
+True if bytes are identical to string
+<p style="margin-left: 5.0em; text-indent: -5.0em">istring(offset,"string")
+<br>
+<br>
+True if a case-insensitive comparison of the bytes is identical
+<p style="margin-left: 5.0em; text-indent: -5.0em">char(offset,value)
+<br>
+<br>
+True if byte is identical
+<p style="margin-left: 5.0em; text-indent: -5.0em">short(offset,value)
+<br>
+<br>
+True if 16-bit integer is identical
+<p style="margin-left: 5.0em; text-indent: -5.0em">int(offset,value)
+<br>
+<br>
+True if 32-bit integer is identical
+<p style="margin-left: 5.0em; text-indent: -5.0em">locale("string")
+<br>
+<br>
+True if current locale matches string
+<p style="margin-left: 5.0em; text-indent: -5.0em">contains(offset,range,"string")
+<br>
+<br>
+True if the range contains the string
 <h2 class="title"><a name="STRING_CONSTANTS">String Constants</a></h2>
 String constants can be specified inside quotes ("") for strings
 containing whitespace and angle brackets (&lt;>) for hexadecimal
@@ -107,10 +94,10 @@ extension "doc", normally the type "text/bar" will be chosen since its name is
 alphanumerically smaller than "text/foo". However, if "text/foo" also defines a
 higher priority than "text/bar", "text/foo" will be chosen instead.
 <h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
-<a href='man-classes.conf.html?TOPIC=Man+Pages'>classes.conf(5)</a>, <a href='man-cupsd.html?TOPIC=Man+Pages'>cupsd(8)</a>, <a href='man-cupsd.conf.html?TOPIC=Man+Pages'>cupsd.conf(5)</a>,
-<a href='man-mime.convs.html?TOPIC=Man+Pages'>mime.convs(5)</a>, <a href='man-printers.conf.html?TOPIC=Man+Pages'>printers.conf(5)</a>,
+<i>classes.conf(5)</i>, <i>cupsd(8)</i>, <i>cupsd.conf(5)</i>,
+<i>mime.convs(5)</i>, <i>printers.conf(5)</i>,
 <br>
-<a href='http://localhost:631/help'>http://localhost:631/help</a>
+<a href="http://localhost:631/help">http://localhost:631/help</a>
 <h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
 Copyright 2007-2013 by Apple Inc.