Undocumented Features
The following are known missing pieces or errors in the XTF documentation.
- Query attribute ‘returnMetaFields’ can be useful for limiting size and processing time for large queries on docs with lots of fields.
- Could use a FAQ on using XTF with DSpace and Fedora
- Saxon extension used to send email
- Extension function to grab and Tidy an external HTML document
- Query sort modifiers… field:emptyFirst and field:emptyLast. Also, field:ascending and field:descending as a more verbose form of “+field” and “-field”
- Freeform query language (should go under Experimental Features)
- Exec args no quotes — see email archive for details.
- Flesh out discussion of AJAX support, with “More like this” in default stylesheets as example
- Experimental RawQuery servlet. Include a test HTML page in our distro.
- Robots handling support
- Experimental support for alternate URL parameter tokenizers in crossQuery and dynaXML
- Experimental FileUtils.createTempFile()
- Extension function: CharUtils:applyAccentMap(pathToMapFile, stringToMap)
- Sub-document querying: need better docs (currently they’re just a copy of the announcement email). Also, it’s no longer experimental.
- Expermental support for ERC metadata output in crossQuery.
- Saxon extension instruction to run an external command that produces a JPEG or PNG image, and pipe that image directly to servlet output stream.
- Saxon extension to pipe the contents of a file (or is it a URL?) directly to the servlet output stream.
- Saxon extension to create a PDF file with FOP and pipe it directly to the servlet output stream, optionally appending an PDF file from disk. Useful for sticking a splash page at the front of a PDF file.
- Saxon extension to create an HTTP error directly from a stylesheet.
- Saxon extension to generate an HTTP redirect (either temporary or permanent) from a stylesheet.
- FileUtils Saxon extension function: Converts the size of a file to a human-readable string, e.g. “36 Kb”, “1.2 Mb”, etc.
- FileUtils Saxon extension function: Calculate the MD5 hash of a string.
- FileUtils Saxon extension function: Compute the number of days, hours, or minutes that have elapsed between a given time and now.
- Experimental support for OpenURL resolving in crossQuery stylesheets.