MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Manual page 191

Table of Contents

Advertisement

Content Options
-metafile
Syntax:
Type: Web crawling only.
Allows you to use a text file to map custom meta tags to valid HTTP header fields. If
you use backslashes, you must double them so they are properly escaped. For
example: C:\\test\\docs\\path.
This means you are able to use your own meta tag, in the document, to replace what
is returned by the Web server, or to insert it if nothing is returned. Currently, the only
header fields of real value are "Last-Modified" and "Content-Length." Note, however,
that future enhancements could allow for much greater variety.
The syntax for entries in the text file is:
name Last-Modified y|n
or
name Content-Length y|n
Where
Example
A mapping file for -metafile might include:
Doc_Last_Touched Last-Modified n
Doc_Size Content-Length y
If you use the y override flag, the value for the custom meta tag overrides the value for
the valid field, even if both values are present and differ. This can be useful when the
valid field value is always sent, but you want to specify your own value with a custom
meta tag.
If you use the n override flag, then the value for the custom meta tag will be used only
if there is no value for the valid field returned by the server. If a value for the valid
field exists, then that is given precedence.
Warning! If you have several entries mapping to the same valid field, only the last
entry will take effect.
-mimeexclude
Syntax:
Specifies MIME types which are neither followed nor indexed.
On Windows NT, you should include double quotes around the argument to protect
the special characters such as (*). On UNIX, you should use single quotes. Note that
this is only required when you run the indexing job from a command line. Quotes are
not necessary within a command file (-cmdfile).
The default is to include all MIME types. For the mime variable, you can include the
asterisk ( * ) wildcard for text strings. For example:
'text/*'
-metafile path_and_filename
is an override flag which can be either yes or no.
y|n
-mimeexclude mime_1 [mime_n] ...
173

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents