Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual page 240

Nsapi
Table of Contents

Advertisement

Init SAFs
In common (fancy) indexing, the directory list shows the name, last modified date,
size and description for each indexed file or directory.
Parameters:
opts
widths
timezone
format
ignore
icon-uri
240
Netscape Enterprise Server NSAPI Programmer's Guide • November 2001
(optional) is a string of letters specifying the options to activate.
Currently there is only one possible option:
s tells the server to scan each HTML file in the directory being
indexed for the contents of the HTML <TITLE> tag to display in the
description field. The <TITLE> tag must be within the first 255
characters of the file. This option is off by default.
The search for <TITLE> is not case-sensitive.
(optional) specifies the width for each column in the indexing
display. The string is a comma-separated list of numbers that specify
the column widths in characters for name, last-modified date, size,
and description respectively.
The default values for the widths parameter are 22,18,8,33.
The final three values (corresponding to last-modified date, size,
and description respectively) can each be set to 0 to turn the display
for that column off. The name column cannot be turned off. The
minimum size of a column (if the value is non-zero) is specified by
the length of its title -- for example, the minimum size of the Date
column is 5 (the length of "Date" plus one space). If you set a
non-zero value for a column which is less than the length of its title,
the width defaults to the minimum required to display the title.
(optional) This indicates whether the last-modified time is shown in
local time or in Greenwich Mean Time. The values are GMT or
local. The default is local.
(optional) This parameter determines the format of the last modified
date display. It uses the format specification for the UNIX function
strftime().
The default is %d-%b-%Y %H:%M.
(optional) specifies a wildcard pattern for file names the server
should ignore while indexing. File names starting with a period (.)
are always ignored. The default is to only ignore file names starting
with a period (.).
(optional) specifies the URI prefix the index-common function uses
when generating URLs for file icons (.gif files). By default, it is
/mc-icons/. If icon-uri is different from the default, the
pfx2dir function in the NameTrans directive must be changed so
that the server can find these icons.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents