// Internet Duct Tape

Linklint – fast html link checker in Perl

Posted in Perl, Technology by engtech on April 19, 2006

Linklint – fast html link checker

I've used this tool for checking intranet HTML documentation I took over that was poorly maintained. It will generate a summary like the following as well generating HTML results that show all of the missing links, etc.

Linklint found 196 files in 3 directories and checked 136 html files. There were 41 missing files. 27 files had broken links.
119 errors, 5 warnings.

found 3 directories with files
found 1 default index
found 135 html files
found 51 image files
found 9 other files
found 9 http links
found 8 mailto links
found 1 file link
found 377 named anchors
—– 1 action skipped
—– 88 orphans
warn 5 warnings
ERROR 37 missing html files
ERROR 4 missing other files
ERROR 78 missing named anchors

4 Responses

Subscribe to comments with RSS.

  1. engtech said, on April 27, 2006 at 11:14 am

    Here are some common options I use

    linklint-2.3.5 -host machinename -http /@ -doc output_dir -limit 25000 -redirect

    A couple of gotchas:

    The default limit is 500, so you will most likely need to increase it.

    If the website you are spidering uses symbolic links then you will need the -redirect option to follow them.

  2. engtech said, on April 27, 2006 at 11:30 am

    Another (better) way to find broken symbolic links on a webserver is to use linkcheck.pl


  3. […] Being a unix geek, I’m going to check my site for dead links using a perl script I’ve mentioned before called LinkLint. I’ll be doing this under Windows XP though, not Unix. […]

  4. earn money taking online surveys said, on January 16, 2009 at 7:43 am

    earn money taking online surveys…

    Find surveys online that are legitimate survey sites is truly becoming harder and harder to find….

Comments are closed.


Get every new post delivered to your Inbox.

Join 294 other followers

%d bloggers like this: