Page 1 of 1
Check for broken web links in DITA topics?
Posted: Tue Apr 18, 2017 11:30 am
by mhGLEIF
Hello all!
Is there a functionality to do a simple check for broken Web links in a whole folder of DITA files?
I tried the oxygen web help but couldn't find this (also couldn't log in to comment there but that's another topic)...
Re: Check for broken web links in DITA topics?
Posted: Tue Apr 18, 2017 11:31 am
by Radu
Hi,
Open the main DITA Map in the DITA Maps Manager view, use the "Validate and check for completeness" action, check the Include Remote Resources checkbox.
Regards,
Radu
Re: Check for broken web links in DITA topics?
Posted: Wed Feb 26, 2020 7:35 am
by syed
Hi,
This is a good feature. Is there a parameter for this feature to be used with Oxygen XML Webhelp (Publishing Engine)?
Thanks...
Syed
Re: Check for broken web links in DITA topics?
Posted: Wed Feb 26, 2020 8:50 am
by Radu
Hi Syed,
If you want to make some kind of DITA validate and check for completeness on the server side before the publishing starts, we have a special scripting license:
https://www.oxygenxml.com/oxygen_scripting.html
The Oxygen installation folder contains some scripts like "validateCheckDITA.sh" which can be run from a command line.
Recently I set up such a validation on the Oxygen XML Blog project with a gradle script, downloading an Oxygen installation, unpacking it and running the validation script from the command line:
https://github.com/oxygenxml/blog/blob/ ... ild.gradle
Or another option would be first to generate WebHelp and then find some other script to check for broken links directly in the HTML output, maybe you can find a free script doing this).
Regards,
Radu
Re: Check for broken web links in DITA topics?
Posted: Fri Feb 28, 2020 7:12 am
by syed
Thanks Radu.