ft:resource - Fluid Topics - 3.4 - Technical Notes

Upload Unstructured Documents to Fluid Topics

Fluid Topics
Technical Notes

Using an ft:resource entry, it is possible to provide additional processing information for any resource, whether or not that resource is included in the archive:

Element Status Description
ft:resource@id Optional

An identifier that is used later for sending "delete" instructions.

If the id is not set, ft:file is used as the identifier of the resource.

ft:resource@status Optional

The default status value (if unspecified) is visible.

Set the status value to deleted if you want to delete a resource.

ft:resource@xml:lang Optional

Defines the language of the resource. If unset, Fluid Topics tries to determine it automatically.

Note: This attribute can be added to the ft:resources element to be set to ALL resources in the archive.

ft:resource@extractFileMetadata Optional

Boolean parameter used to indicate if Fluid Topics should try to extract metadata from the file itself (if they exist) and use them to enrich the file definition.

  • This parameter only makes sense if files are in PDF, Word, or Excel format. Simple text files like HTML or XML do not embed such additional metadata.
  • This attribute can be added to the ft:resources element to be set to ALL resources in the archive.
ft:file Mandatory

The resource you are controlling is referred to with the ft:file tag using a relative path/filename in the archive.

ft:dispName Optional

Sets the name of the resource as it will be displayed in the portal.

If this parameter is not set, Fluid Topics deduces the title of the document from its built-in metadata.

If Fluid Topics cannot deduce the title of the document, the filename is used.

ft:description Optional

Gives a short description of the resource.

ft:facets Optional

Element encompassing ft:facet elements.

ft:facet Optional

Sets the facet values.

ft:facet@name Optional

Set the name of the facet to be displayed.

Tip: The values set in the Control File (metadata, names, and so on) prevail over the existing values in the resources or over values extracted from the file metadata.