/
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 Service | Service Property | Value |
---|---|---|
ddf.catalog.transform.QueryResponseTransformer | title | View as Html-table... |
shortname | html-table | |
description | Transforms query results into html-table |
Metacard Result | HTML Table Column | Notes |
---|---|---|
Metacard.TITLE | Title | |
Metacard.CREATED | Date | |
Metacard.RESOURCE_URI | Product | |
Metacard.GEOGRAPHY | Spatial | |
Metacard.THUMBNAIL | Thumbnail | if thumbnail available |
Metacard Result to HTML Table Column Mapping
Known Issues
None
, multiple selections available,