staticSearch icon indicating copy to clipboard operation
staticSearch copied to clipboard

Create a post-process step to transform search page

Open joeytakeda opened this issue 2 years ago • 1 comments

In #251, we were talking about changing fieldsets, but talking it through, we determined that it may be best to give more flexibility for post-processing the search page (we do it for the majority of our projects anyway). So what we're thinking is:

  • A configuration element that points to an XSL file (relative to the configuration file) that would post-process the search HTML page
  • In the search configuration page, we add the XSL path as a parameter and then using fn:transform to transform the result of the search page, if necessary.
  • We provide a sample one that changes fieldsets to <details> since that's a common modification

joeytakeda avatar Jan 25 '23 18:01 joeytakeda

We should actually build this into our test suite, so we can be sure it works on Windows etc., and take advantage of it to pretty-up the test results a bit perhaps.

martindholmes avatar Mar 22 '23 16:03 martindholmes