Advanced Features


Templates

 Links

 

 

  Introducing Templates

  Creating Result Page Templates

  Creating Quick View Templates

 
IntroducingTemplates

By using templates, you can easily design your search page. If needed, you can create new templates. The search page and the search result page can be edited or created by using HTML.
You can design search result page in HTML and assign data exporting parts as placeholders. DeepSearch 4 stores assigned templates, and when exporting a search page, the HTML part stays as it is, and the placeholder part uses the requested value.
The search result page is divided into four areas:
1. Static portion (page layout, etc.) (A)
2. Outputted when searches are enabled. (B)
3. Outputted when search results are retrieved. (C)
4. List of search results. (D)

The four areas have the following structure, A<B<C<D; larger areas including the smaller. D is outputted repetitively along with the number of items.

A - Default output part

  • Basic page layout including site names
  • Basic alert messages such as There is no search result

B - Outputted when search is enabled

Messages like Enter search word...
Search Form area
 

C - Information of search result

Information on pages or sites found

D - List of search result

1) Title......
   URL / general information of texts such as size and date.

2) Title......
   URL / general information of texts such as size and date.

3) Title......
   URL / general information of texts such as size and date.

...etc...

 

Links to other search result pages (if there are more than one)

Page epilogue depending on sites

 

Basic Structure

PlaceHolder :

Placeholder assigns attributes of texts messages in above 4 areas. Placeholder begins with [ds$ and ends with ]. After [ds$, the name of placeholder is placed. (i.e.- [ds$Message] and [ds$ItemDate]).

The attributes such as color and fonts have to be created using HTML. For example, if you want to have size 2 and red font for search result items, you have to write <font size=¡°2¡± color-¡°red¡±>[ds$ItemDate]</font> at the place where your date to be displayed. Note that you have to write a placeholder on single line. You can also use the same placeholder repetitively in a template HTML.

Right next to the placeholder, there are commands that control placeholder, called Format Specifier. You have to write after a space next to the placeholder. If you use the same Format Specifier more than once, the latter command will be applied.

FormatSpecifier :

Right next to the placeholder, there are option commands that control placeholders¡¯ output form, etc., called Format Specifier. You have to write after a space next to the placeholder. If you use the same Format Specifier more than once, the latter command will be applied.

 

black03_up.gif