Current version: 1.01. Download the source, or a Windows executable
webcheck automatically checks links on a web page for validity, and reports errors in a format that Gnu Emacs (and other IDEs) can use to bring up the source html files to be fixed.
webcheck can operate on a web page via the http protocol, or on a local file system, using a root URI with the file: scheme.
The command line for webcheck is:
webcheck {root-uri} {output-root}
[options]
webcheck retrieves the root-uri, and scans it for
html links. Some html syntax errors are detected during the scan, but
not all. If the link uri has the same root as root-uri, it is
recursively retrieved and scanned. If it has a different root, it is
just checked for existence.
The options are:
See webcheck/build/x86_windows_gnat_debug/Makefile, targets stephe-file, stephe-web, adawings-web for examples of how to run webcheck from a Makefile.
webcheck was inspired by finder written by Tom Moran, but is a totally new implementation. It uses OpenToken to parse html, and SAL data structures.
webcheck requires the SAL library. The required subset of OpenToken is included with the webcheck source, since it is slightly modified from Ted's distribution.
I use Auto_Text_IO to create some test utilities. These are included in the webcheck source, but make maintainer-clean will delete them, and if you change the spec they are built from, the makefile will try to run auto_text_io.
my home page.
Last modified: Fri Sep 28 03:22:01 Eastern Daylight Time 2007