Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.4 KB

README.md

File metadata and controls

24 lines (16 loc) · 1.4 KB

Website and Eclipse Help Plug-in Validator

Extensible validator based on jsoup to find:

  • Broken links (link checker): internal linking only, no validation of external links or mailto links yet
  • Broken link anchors: check if the anchor of internal links exists, e. g. for<a href="foo.html#bar">, it is checked if the anchor bar (e. g. <a name="bar">, <p id="bar">, etc.) exists in the file foo.html
  • Missing resources: images, CSS files, JavaScript files, videos, etc.
  • Dubious files: unwanted files directly included or contained in ZIP files
    • Windows thumbs cache file (Thumbs.db, ehthumbs.db, etc.)
    • LibreOffice/OpenOffice lock/temp file (.~*#)
    • Microsoft Office lock/temp file (~*.tmp)
    • Microsoft Word auto-recovery file (*.asd)
  • Duplicate ZIP entries: doc.zip or another ZIP file (inside or outside of doc.zip) contains multiple entries with the same name

Usage

java -jar website-validator-<version>.jar /path/to/website-or-plugin-dir/ [ -htmlreport /path/to/report.html [ -htmlreportbaseurl http://www.example.com/help ] ]

A .jar Eclipse help plug-in has to be unzipped first.

HTML report contains tablesort (MIT License).

Developed by Advantest Corporation and Holger Voormann