The Verity Spider automatically indexes HTML meta tags as collection fields when the collection field names are defined for the collection schema. When defined, you can allow users to search over collection fields by setting up field searching in your SEARCHScript templates.
style.ufl file (the user fields file) in order for the field to be populated by the spider. The style.ufl file is one of the collection configuration files in the default collection style directory located in:
It is important to note that the spider parses <META> tags it finds within a <HEAD> tag. The spider stops parsing for <META> tags after it encounters </HEAD> within a document.
/common/style) to preserve the original files. Verity recommends that you do not edit the style files in place. After making a copy of the styles directory, you can add a field definition that corresponds to the meta tag name in the style/style.ufl file. In the example above, you would add a field definition for the "Abstract" field as shown in the sample
style.ufl syntax below:
- # Copyright (C) 1987-1996 Verity, Inc.
- # style.ufl - Application-specific User Fields
- # These fields are included in the internal documents table. For
- # more information about adding fields to the internal documents
- # table, see the "Defining Custom Fields" chapter in the
- # Collection Building Guide.
- #
- # Example:
- #
- # data-table: ddf
- # {
- # varwidth: MyTitle dxa
- # }
- # -----------------------------------------------------------------
- # Specify additional application-specific fields here in their own
- # data-table[s].#
- data-table: ddj
- {
- varwidth: Abstract ddk
- }
- $$
style.ufl file, refer to Chapter 6 of the Verity Collection Building Guide.