uoForms / App-CANBeWell

https://canbewell-2022-prod.web.app/
MIT License
10 stars 16 forks source link

Run the automated external links test #871

Closed mooesy closed 3 months ago

shaikwasef commented 5 months ago

A JS script is in the JSON folder which goes through the files and identifies the links which take too long to respond or do not work. Kindly take a look at the links that may need to be replaced on each of this file.

HtmlTest-EN.json

HtmlTest-FR.json

http://chd.bestsciencemedicine.com/calc2.html

HtmlTopic-EN.json

https://www.cdc.gov/teenpregnancy/pdf/Teen-Condom-Fact_Sheet-English-March-2016.pdf https://www.saskhealthauthority.ca/your-health/conditions-diseases-services/healthline-online/hwsxchk https://www.saskhealthauthority.ca/your-health/conditions-diseases-services/healthline-online/hwsxchk https://www.caddra.ca/public-information/adults/forms/ https://www.wellnesstogether.ca/en-CA

HtmlTopic-FR.json

https://www.cdc.gov/teenpregnancy/pdf/Teen-Condom-Fact_Sheet-English-March-2016.pdf https://www.caddra.ca/fr/public/adultes/l-evaluation/ https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://academic.oup.com/jcem/article/102/11/3869/4157558 https://www.chudequebec.ca/patient/maladies-soins-et-services/m-informer-sur-ma-maladie-ou-ma-condition/insuffisance-renale.aspx https://www.wellnesstogether.ca/fr-CA

mooesy commented 5 months ago

Thank you Wasef, it seems like the links below still work as of now:

HtmlTopic-EN.json

https://www.saskhealthauthority.ca/your-health/conditions-diseases-services/healthline-online/hwsxchk https://www.caddra.ca/public-information/adults/forms/

HtmlTopic-FR.json

https://www.caddra.ca/fr/public/adultes/l-evaluation/ https://academic.oup.com/jcem/article/102/11/3869/4157558 https://www.chudequebec.ca/patient/maladies-soins-et-services/m-informer-sur-ma-maladie-ou-ma-condition/insuffisance-renale.aspx

The other links are confirmed to be broken, and we will need a replacement link from Dr. Cleo.

shaikwasef commented 5 months ago

So the folloing pages don't work :

HtmlTest-FR.json http://chd.bestsciencemedicine.com/calc2.html

HtmlTopic-EN.json https://www.cdc.gov/teenpregnancy/pdf/Teen-Condom-Fact_Sheet-English-March-2016.pdf https://www.wellnesstogether.ca/en-CA

HtmlTopic-FR.json https://www.cdc.gov/teenpregnancy/pdf/Teen-Condom-Fact_Sheet-English-March-2016.pdf https://www.wellnesstogether.ca/fr-CA