Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a post-process step to transform search page #263

Open
joeytakeda opened this issue Jan 25, 2023 · 1 comment
Open

Create a post-process step to transform search page #263

joeytakeda opened this issue Jan 25, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@joeytakeda
Copy link
Contributor

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
@martindholmes
Copy link
Collaborator

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 martindholmes modified the milestones: Release 2.0, Release 2.1 Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants