Novell NETWARE 6-DOCUMENTATION Manual page 2149

Table of Contents

Advertisement

or more alternate encodings from the Content-Type META tags within the file
that was part of the original Web Search template.
NOTE:
$$IncludeFile[ ] templates can also contain their own Content-Type meta
tags.
To solve this problem, NetWare Web Search allows placing the Content-Type
META tag specifying the template's encoding within an HTML comment.
This effectively obscures the original template encoding from the browser, but
still allows Web Search to read the encoding when the template file is
processed.
A sample Web Search template is illustrated below. The Content-Type META
tag has been hidden inside of an HTML comment. This template can be
embedded within other templates using the $$IncludeFile[ ] template variable
without affecting Web Search's ability to distinguish between the various
encodings. This file can also be processed and then sent to a user's Web
browser without conflicting with the response encoding provided by Web
Search in the HTTP response headers.
<html>
<head>
<!-- Note that the HTML encoding command (meta tag) is hidden
within a comment so that it does not affect a user's browser
display. -->
<!-- The actual encoding used when sending this file to the
user is controlled by the response encoding -->
<!-- <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1"> -->
</head>
<body>
Template data here.
</body>
</html>
220 Getting Results with Novell Web Services

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents