Stream: social
Topic: History page question
Grahame Grieve (Nov 08 2018 at 23:14):
I'm looking for some advice. For the FHIR IGs, we maintain a history page. Here's an example: http://hl7.org/fhir/uv/sdc/history.html. These are manually maintained HTML - which isn't really viable going forward.
Grahame Grieve (Nov 08 2018 at 23:15):
So I've prototyped a dynamically driven page. Here's an example: http://hl7.org/fhir/us/core/history.html. This page is built on the client side by javascript, using the master information in http://hl7.org/fhir/us/core/package-list.json
Grahame Grieve (Nov 08 2018 at 23:16):
The trouble with this is that IE-X won't load that page, and then some users have additional security policies that prevent that page from loading.
Grahame Grieve (Nov 08 2018 at 23:16):
it's possible I could work around the IE-X issue with some javascript wizardry I don't yet know (js is like that). but that won't work around the security issues
nicola (RIO/SS) (Nov 08 2018 at 23:17):
So it's time for web server to serve FHIR docs :) ?
Grahame Grieve (Nov 08 2018 at 23:17):
so I though I would move the page building to the server side using ASP (old server IIS 6 - a big issue for HL7 but not easy to resolve).
Grahame Grieve (Nov 08 2018 at 23:18):
IIS 6 doesn't support any js markdown library I can find. So I can't produce the page server side, without writing my own js markdown processor... not going to happen
nicola (RIO/SS) (Nov 08 2018 at 23:18):
why not nodejs server?
Grahame Grieve (Nov 08 2018 at 23:19):
I could process the json file to the html file using some batch process...
Grahame Grieve (Nov 08 2018 at 23:19):
because HL7 is tied to IIS
Grahame Grieve (Nov 08 2018 at 23:19):
and everything else on HL7 is just static html
nicola (RIO/SS) (Nov 08 2018 at 23:20):
is all hl7.org/fhir served by IIS?
Grahame Grieve (Nov 08 2018 at 23:20):
yes
nicola (RIO/SS) (Nov 08 2018 at 23:24):
I this file is not a part of FHIR build?
Grahame Grieve (Nov 08 2018 at 23:25):
no the history file is special
nicola (RIO/SS) (Nov 08 2018 at 23:25):
May be put redirect to file from build?
Lloyd McKenzie (Nov 09 2018 at 01:09):
Can we trigger a generation when the package-list.json changes? (I'd suggest XSLT except you went and made it JSON... ;))
Yunwei Wang (Nov 09 2018 at 02:58):
Build an Angular page?
Grahame Grieve (Nov 09 2018 at 04:28):
that would help how?
Yunwei Wang (Nov 09 2018 at 04:34):
You can have a dynamic page, hostable on IIS and viewable in IE
Michel Rutten (Nov 09 2018 at 09:45):
I'd prefer server-side generation of a cached static history page, as Lloyd suggests.
Grahame Grieve (Nov 09 2018 at 13:17):
I don't know how to do server side generation of a cached static page
Lloyd McKenzie (Nov 09 2018 at 13:47):
Can't we kick off a script on a commit of the package-list.json that generates an HTML view?
Lloyd McKenzie (Nov 09 2018 at 13:48):
(and commits it too)
Grahame Grieve (Nov 09 2018 at 20:30):
package-list.json isn't committed anywhere. it's uploaded to the server by FTP
Lloyd McKenzie (Nov 09 2018 at 20:31):
Can you run the transform and upload the rendered version at the same time you upload the JSON?
Grahame Grieve (Nov 09 2018 at 20:38):
yes. I can do that. I was seeking a non-manual solution
Lloyd McKenzie (Nov 09 2018 at 20:45):
Well, you could script the upload process...
Last updated: Apr 12 2022 at 19:14 UTC