Batch Wizard Tips

Get More Out of the Batch Wizard

Here are some tips to get more out of the Batch Wizard in the professional and enterprise editions.

Select an "errors only" or an "errors and warnings only" validation mode instead of a "normal" validation if there are too many "non-important" messages being generated. This can be selected in the Tool to Use Page of the Batch Wizard Options.

Each folder target can be set to include subfolders. If a folder target includes subfolders, then an I will be included in the Flags column of the target. You can change whether subfolders are included in the target or not by selecting the folder target or targets that you want to change, bringing up the context menu, and then selecting Selection->Set I Flag or Selection->Clear I Flag.

Double-clicking on a file or URL target will open it in the editor or view its properties. Which action is performed is determined by a Batch Wizard option that you can change. Alternatively you can right-click on a target and choose either option from the menu.

Multiple targets can be selected at the same time by using the standard multiple file selection technique (using Ctrl and/or Shift when selecting targets). You can also select all targets by pressing Ctrl+A.

Targets matching specified strings can be excluded. This allows certain folders to be excluded from processing. These strings may be specified in the Target List Options tab of the Batch Wizard.

Targets can be limited to only those that match specified strings. These strings may be specified in the Target List Options tab of the Batch Wizard.

To delete a target or targets, select the target or targets to delete and press the Delete key or select Target->Delete.

Targets matching specified strings can be treated as case-insensitive. This allows better target handling for case-insensitive servers. These strings may be specified in the Target List Options tab of the Batch Wizard.

A URL can be added to test dynamic web pages like ASP, PHP, and CGI pages. Variables can also be included in the URL, like in "http://www.test.com/mycgi.cgi?var1=value1&var2=value2". Agents can also be specified in case the document returned by the server is sensitive to the agent. For example, some dynamic URLs may return a different page for Internet Explorer users than for Firefox users (the server uses the agent to determine what browser is requesting the document). Furthermore, usernames and passwords can also be specified for protected URLs.

Batch Wizard jobs can be run from the command line.

Link Checking: Limiting to Specific Links

You can limit link checking in the Batch Wizard to specified links.

Links matching specified strings can be excluded from the link check. If a link matches one of these strings, then it will not be checked. These strings may be specified in the Target List Options tab of the Batch Wizard.

If you only want to check certain links, then you can specify which links should be checked by provided a list of matching strings. If a link matches one of these strings, then it is checked. These strings may be specified in the Target List Options tab of the Batch Wizard.

Link checking filter options are also available to limit link checking. (New v9.00)

More

hmtoggle_plus1Checking Large Sites (1000+ pages)

When working with large sites (over 1000 pages), consider splitting up the job. One way to do this is by folder/directory. Consider creating multiple target lists, one for each major folder/directory of the site. For example, you could split a large website into a target list that checks "http://www.domain.com/folder1" and another target list that checks "http://www.domain.com/folder2". If you have a very large site with many thousands of pages, then this will probably be required.

If checking a large site, consider CSE HTML Validator Enterprise which has extended functionality to support more targets with less resource (memory) usage.

hmtoggle_plus1Increasing the Maximum Target Limit

If your system has a lot of resources such as memory, then you may want to override the default maximum target limit of 9999 targets. To do this, use the Registry Editor to change the value of "TargetListLimitMaximum" in the key "HKEY_CURRENT_USER\Software\AI Internet Solutions\CSE HTML Validator v4\Editor\BatchWizard".

NOTE: The Batch Wizard in the professional edition is not designed and tested for very large jobs. If you change this limit to more than the default of 9999, then be aware that CSE HTML Validator could crash or stop working if not enough resources (such as memory) are available to handle all the targets. If processing fails because of too many targets and not enough resources, then reduce the maximum number of targets and try splitting up the job into smaller parts. Alternatively, use the Enterprise edition's extended capability to handle large jobs.