Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 75 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




           weblint [ -d id ] [ -e id ] [ -l ] [ -s | -t ] [ -stderr ]
                   [ -help ] [ -version ] file1 ... fileN


       weblint is a Perl script which picks fluff off HTML pages.

       Files to be checked are passed on the command-line:

           % weblint foobar.html ./dodgy-files/ index.html

       If any of the arguments are directories weblint will
       recurse in the directory, and check any HTML files found.

       Warnings are generated a la lint:

           home.html(9): unmatched </A> (no matching <A> seen).

       Weblint includes the following features:

       ·   Support for HTML 4.0 (current HTML standard)

       ·   Over 50 different checks and warnings

       ·   Messages can be enabled/disabled individually, as per
           your preference.  Can also enabled/disabled all mes­
           sages of a given class (warning, error, etc.)

       ·   Basic structure and syntax checks

       ·   Warnings for use of unknown elements and element

       ·   Context checks (where a tag must appear within a cer­
           tain element).

       ·   overlapped or illegally nested elements.

       ·   do IMG elements have ALT text?

       ·   flags obsolete elements.

       ·   support for user and site configuration files

       ·   stylistic checks


       -d message-identifier
           Disable the message associated with the identifier.
           Multiple identifiers can be specified, with a comma
           between identifiers.

       -l  When recursing in directories, ignore any files which
           are symlinks (also known as soft links).  This will
           also cause files on the command-line to be ignored if
           they are symlinks, unless only one file is given.

           Turn on all messages except the case-sensitive and
           bad-link message.

       -s  Generate `short' messages, which do not include the

           Print messages to STDERR rather than STDOUT.

       -t  Enable terse message mode, which is mainly useful for
           the weblint testsuite.

           Display the version number.

           List all supported messages, with message identifier,
           and whether the message is enabled.


       Weblint can be configured using a file .weblintrc in your
       home directory (or a file referenced by the WEBLINTRC
       environment variable).  This file can be used to enable or
       disable specific messages, set weblint variables, and
       include HTML extensions, as described above.  Each message
       has a short identifier string, used to refer to the mes­
       sage in config files, and from the command-line.  For
       example, if you want to enable the check for tags in
       upper-case, but disable the check for obsolete elements,
       then you would include the following lines in your

           # the style of message to generate (lint, short, or terse)
           set message-style = lint

           # enable message for tags not in upper-case
           enable upper-case

           # disable the message for obsolete tags
           disable obsolete

       The keywords can be followed by any number of arguments,
       separated by spaces or tabs.  Anything following a `#' is
       treated as a comment.

       At some point in the future there will be configuration
       support for weblint, so you won't have to modify the
       script directly yourself.

       If you have a site configuration file, then users can
       inherit the site defaults by adding the following line at
       the top of their .weblintrc file:

           use global weblintrc


       A full list of the messages supported by weblint can be
       found in the documentation for the Weblint::Messages mod­
       ule, or on the weblint web page (see below).

       You can get a list of the messages supported by weblint
       with the "-messages" switch:

           % weblint -messages


       A simple regression testsuite is included with weblint, in
       the t directory. When you install weblint, you should run
       the testsuite, and expect to get no errors:

           % perl Makefile.PL
           % make test

       All tests should pass.  If any tests fail, please email
       details to the address given in the AUTHOR section below.


           If this variable is defined, and references a file,
           then weblint will read the referenced file for the
           user's configuration, rather than $HOME/.weblintrc.


           The user's configuration file.  See the section `CON­
           FIGURATION FILE'.

           A system-wide global configuration file. This isn't
           installed by default, but it may be installed locally.


       Weblint home page




       Since weblint 2 is still under development there are bound
       to be plenty.  Please check the weblint home page for the
       latest list.


       Neil Bowers neilb@weblint.org


       Lots of people have contributed to weblint, in the form of
       suggestions, bug reports, fixes, and contributed code.
       These people are now listed on the weblint home page.

perl v5.8.1                 1999-04-08                 WEBLINT(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds