CDR Tickets

Issue Number 5328
Summary Update samples for data partners
Created 2024-06-25 14:09:41
Issue Type Improvement
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status In Progress
Resolved
Resolution
Path /home/bkline/backups/jira/ocecdr/issue.449431
Description

We provide example materials (with accompanying documentation) to the PDQ data partners illustrating the process of rendering the CDR XML documents as HTML web pages. Originally, these materials included resources for styling the resulting HTML output to resemble the appearance provided on the NCI web site for such documents, as well as client-side processing to make the pages responsive. However, it has been difficult to keep these materials up-to-date and reflecting changes on the web site, and the decision has been made to scale back the purpose of the materials so that we're just showing the partners how to transform the XML document into correctly marked-up HTML, but not aspire to illustrate custom formatting or client-side scripting. Please modify the documentation to make this goal explicit, and remove all styling and scripting (including any links to external CSS or JavaScript resources). These changes need to be made both to the files we provide to the data partners, as well as the script which generates the HTML file.

https://github.com/NCIOCPL/cdr-publishing/tree/riemann/pdqdocs
https://github.com/NCIOCPL/cdr-admin/blob/riemann/Inetpub/wwwroot/cgi-bin/cdr/show-PDQ-summary.py

Comment entered 2025-01-29 17:42:22 by Englisch, Volker (NIH/NCI) [C]

I don't think that it's necessary to remove all styling if the documentation makes it clear that the styling isn't significant for the purpose of the transformation.

Considering that we haven't received any questions regarding these sample documents I'm hesitant to spend much time on making them perfect.

I will first make updates to the documentation.

Comment entered 2025-02-12 19:46:08 by Englisch, Volker (NIH/NCI) [C]

, I've made the changes you requested to the sample documents - still working on the documentation.  However, I'm not clear what the benefit is to make the changes also to the script that's only used internally: show-PDQ-summary.py.

Comment entered 2025-02-19 18:55:25 by Englisch, Volker (NIH/NCI) [C]

, do you want these changes to be part of "stern" or go out independently?

Comment entered 2025-02-19 18:57:12 by Kline, Bob (NIH/NCI) [C]

No strong preference. Easiest to put them in Stern, I suppose.

Elapsed: 0:00:00.001563