/
HTML Query Response Transformer

HTML Query Response Transformer

 

 

Description

The HTML Query Response Transformer transforms metacards and results from queries into an html format that is easier to read and understand. For results it provides the following fields when available:

  • Hyperlinked title
  • Created date
  • Hyperlinked Product information
  • Spatial information
  • Thumbnail

Usage

Using the OpenSearch Endpoint for example, query with the format option set to either the HTML shortname (html) or the HTML table shortname (html-table).

http://localhost:8181/services/catalog/query?q=Sarin&format=html
 

Example Output

HTML

 

HTML Table

Installation and Uninstallation

Install the catalog-transformer-ui feature using the Web Console or System Console.

Configuration

None

Implementation Details

Registered ServiceService PropertyValue
ddf.catalog.transform.QueryResponseTransformertitleView as Html-table...
 shortnamehtml-table
 descriptionTransforms query results into html-table
Metacard ResultHTML Table ColumnNotes
Metacard.TITLETitle 
Metacard.CREATEDDate 
Metacard.RESOURCE_URIProduct 
Metacard.GEOGRAPHYSpatial 
Metacard.THUMBNAILThumbnailif thumbnail available

 

Metacard Result to HTML Table Column Mapping

Known Issues

None