| How to customize
your search results page with a template file?
If you are an experienced web designer and want to control
the look of your search results in greater detail, you can use
template file to full control over the look of your results
page.

What
is a template file?
A template file is simply an HTML file with special tags. The
special tags tell Search Engine Composer where to insert the
page contents. This enables you to create a completely customized
look and feel.
How it
works?
Using templates is straightforward.
First you create a template file. A template file is simple
an HTML file with special tags. Second, in the program, click
"Options" button, in the "Options" window,
"Search Results Page" panel, "New" a template,
and select the template file you created.
Then, select the template in the list box.
Now, when you click "Build", Search Engine Composer
will generate search engine files according to your template.
Creating
a template file.
There are three kinds of tags for the template.
::RESULT::
This is the location the search engine will insert the search
results text before showing it to your visitors.
::SEARCHBOX::
This is the location the search engine will insert a search
box.
::CHARSET::
This is the location the search engine will replace the
HTML encoding charset.
An example
The following HTML code is a simple template. It creates a
page with the headline "Search Engine Composer Example",
and search results page will contain a search query box.
<html>
<head>
<title>Search Engine Composer Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=::CHARSET::">
</head>
<body bgcolor="#777777">
<center>
<H2>Search Results</H2>
<table width=500>
<tr>
<td width="100%">
::SEARCHBOX::
</td>
</tr>
<tr>
<td width="100%">
::RESULT::</td>
</tr>
</table>
</center>
</body>
</html>
|