Add support for HTML meta tag output #31
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
One line description of your change (less than 72 characters)
Adds an option to output HTML meta tags instead of TXT on the generator
Problem
There have been some issues with hospitals using more restrictive content management systems having difficulty placing a file at the root of their domain at /cms-hpt.txt. Offering an option to modify HTML meta tags with some of the output instead would provide another option to place the information in meta tags which would be more straightforward for hospitals with one or only a few locations. Modifying meta tags is much more commonly supported by even limited content management systems.
Solution
Adds a radio button input that toggles whether the output should be .txt or .html and modifies the output and generated filename accordingly.
Important note that this does not modify any of the instructions since that would take more conversation, but is a simpler content update.
Result
Including a screenshot below of the changed output
Test Plan
The same tests for validating the TXT generator output should work here, with the addition of toggling the output format.