FHIR Chat · History page question · social

Stream: social

Topic: History page question


view this post on Zulip 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.

view this post on Zulip 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

view this post on Zulip 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.

view this post on Zulip 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

view this post on Zulip nicola (RIO/SS) (Nov 08 2018 at 23:17):

So it's time for web server to serve FHIR docs :) ?

view this post on Zulip 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).

view this post on Zulip 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

view this post on Zulip nicola (RIO/SS) (Nov 08 2018 at 23:18):

why not nodejs server?

view this post on Zulip Grahame Grieve (Nov 08 2018 at 23:19):

I could process the json file to the html file using some batch process...

view this post on Zulip Grahame Grieve (Nov 08 2018 at 23:19):

because HL7 is tied to IIS

view this post on Zulip Grahame Grieve (Nov 08 2018 at 23:19):

and everything else on HL7 is just static html

view this post on Zulip nicola (RIO/SS) (Nov 08 2018 at 23:20):

is all hl7.org/fhir served by IIS?

view this post on Zulip Grahame Grieve (Nov 08 2018 at 23:20):

yes

view this post on Zulip nicola (RIO/SS) (Nov 08 2018 at 23:24):

I this file is not a part of FHIR build?

view this post on Zulip Grahame Grieve (Nov 08 2018 at 23:25):

no the history file is special

view this post on Zulip nicola (RIO/SS) (Nov 08 2018 at 23:25):

May be put redirect to file from build?

view this post on Zulip 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... ;))

view this post on Zulip Yunwei Wang (Nov 09 2018 at 02:58):

Build an Angular page?

view this post on Zulip Grahame Grieve (Nov 09 2018 at 04:28):

that would help how?

view this post on Zulip Yunwei Wang (Nov 09 2018 at 04:34):

You can have a dynamic page, hostable on IIS and viewable in IE

view this post on Zulip Michel Rutten (Nov 09 2018 at 09:45):

I'd prefer server-side generation of a cached static history page, as Lloyd suggests.

view this post on Zulip Grahame Grieve (Nov 09 2018 at 13:17):

I don't know how to do server side generation of a cached static page

view this post on Zulip 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?

view this post on Zulip Lloyd McKenzie (Nov 09 2018 at 13:48):

(and commits it too)

view this post on Zulip Grahame Grieve (Nov 09 2018 at 20:30):

package-list.json isn't committed anywhere. it's uploaded to the server by FTP

view this post on Zulip 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?

view this post on Zulip Grahame Grieve (Nov 09 2018 at 20:38):

yes. I can do that. I was seeking a non-manual solution

view this post on Zulip Lloyd McKenzie (Nov 09 2018 at 20:45):

Well, you could script the upload process...


Last updated: Apr 12 2022 at 19:14 UTC