Check for broken web links in DITA topics?

mhGLEIF
Posts: 43
Joined: Tue Jul 26, 2016 6:31 pm

Check for broken web links in DITA topics?

Post by mhGLEIF » Tue Apr 18, 2017 11:30 am

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)...

Radu
Posts: 6907
Joined: Fri Jul 09, 2004 5:18 pm

Re: Check for broken web links in DITA topics?

Post by Radu » Tue Apr 18, 2017 11:31 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

syed
Posts: 55
Joined: Tue Nov 14, 2017 8:34 pm

Re: Check for broken web links in DITA topics?

Post by syed » Wed Feb 26, 2020 7:35 am

Hi,

This is a good feature. Is there a parameter for this feature to be used with Oxygen XML Webhelp (Publishing Engine)?

Thanks...
Syed

Radu
Posts: 6907
Joined: Fri Jul 09, 2004 5:18 pm

Re: Check for broken web links in DITA topics?

Post by Radu » Wed Feb 26, 2020 8:50 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

syed
Posts: 55
Joined: Tue Nov 14, 2017 8:34 pm

Re: Check for broken web links in DITA topics?

Post by syed » Fri Feb 28, 2020 7:12 am

Thanks Radu.

Post Reply