Default Triggers

i-net Doqua comes with a set of default triggers. They are based on JTidy and do several checks on HTML documents.

com.inet.doqua.trigger.TidyValidateHTML

This trigger does a validation of your file against the DTD defined in the document's header. If you use this trigger you will have to define a DTD - or the check will fail.

Your documents should have the following layout (you can of course select whatever HTML version you like):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
 lang="en" dir="ltr">
	<head>
		<title>TITLE</title>
		...
	</head>
 
	<body>
		...
	</body>
 
</html>

com.inet.doqua.trigger.TidyLinkChecker

The TidyLinkChecker tests if internal links defined in your documents are still alive. It also checks references inside the document.

com.inet.doqua.trigger.TidyMetaDuplicateChecker

Editors often copy pages to create new ones. But they often forget to change the meta information in the documents' headers. Use this trigger to avoid duplicates throughout your documentation.

What's next?

 

© Copyright 1996 - 2024, i-net software; All Rights Reserved.