2011-02-17 18:59:02 +00:00
|
|
|
# Sample resource file; see the linkcheckerrc(5) man page or
|
|
|
|
|
# execute linkchecker -h for help on these options.
|
2006-09-15 09:39:33 +00:00
|
|
|
# Commandline options override these settings.
|
2000-02-26 10:24:46 +00:00
|
|
|
|
|
|
|
|
[output]
|
2004-08-16 19:21:36 +00:00
|
|
|
# enable debug messages; see 'linkchecker -h' for valid debug names
|
|
|
|
|
#debug=all
|
2004-01-03 13:27:47 +00:00
|
|
|
# print status output
|
|
|
|
|
#status=1
|
2002-02-14 15:33:53 +00:00
|
|
|
# change the logging type
|
2004-08-25 21:32:59 +00:00
|
|
|
#log=xml
|
2000-07-15 14:14:16 +00:00
|
|
|
# turn on/off --verbose
|
2002-02-14 15:33:53 +00:00
|
|
|
#verbose=1
|
2000-07-15 14:14:16 +00:00
|
|
|
# turn on/off --warnings
|
2005-05-08 20:07:30 +00:00
|
|
|
#warnings=0
|
2000-07-15 14:14:16 +00:00
|
|
|
# turn on/off --quiet
|
2002-02-14 15:33:53 +00:00
|
|
|
#quiet=1
|
2000-07-15 14:14:16 +00:00
|
|
|
# additional file output
|
2004-08-25 21:32:59 +00:00
|
|
|
#fileoutput = text, html, gml, sql
|
2001-02-20 09:32:36 +00:00
|
|
|
|
2005-05-08 20:07:30 +00:00
|
|
|
##################### logger configuration ##########################
|
|
|
|
|
# logger output part names:
|
2010-12-15 12:24:31 +00:00
|
|
|
# all For all parts
|
|
|
|
|
# realurl The full url link
|
|
|
|
|
# result Valid or invalid, with messages
|
|
|
|
|
# extern 1 or 0, only in some logger types reported
|
|
|
|
|
# base <base href=...>
|
|
|
|
|
# name <a href=...>name</a> and <img alt="name">
|
|
|
|
|
# parenturl The referrer URL if there is any
|
|
|
|
|
# info Some additional info, e.g. FTP welcome messages
|
|
|
|
|
# warning Warnings
|
|
|
|
|
# dltime Download time
|
|
|
|
|
# checktime Check time
|
|
|
|
|
# url The original url name, can be relative
|
|
|
|
|
# intro The blurb at the beginning, "starting at ..."
|
|
|
|
|
# outro The blurb at the end, "found x errors ..."
|
|
|
|
|
# stats Statistics including URL lengths and contents.
|
2000-02-26 10:24:46 +00:00
|
|
|
|
2000-06-03 12:50:19 +00:00
|
|
|
# each Logger can have separate configuration parameters
|
2004-08-25 21:32:59 +00:00
|
|
|
|
2000-06-03 12:50:19 +00:00
|
|
|
# standard text logger
|
|
|
|
|
[text]
|
2002-02-14 15:33:53 +00:00
|
|
|
#filename=linkchecker-out.txt
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2004-08-25 21:32:59 +00:00
|
|
|
# colors for the various parts, syntax is <color> or <type>;<color>
|
|
|
|
|
# type can be bold, light, blink, invert
|
|
|
|
|
# color can be default, black, red, green, yellow, blue, purple, cyan, white,
|
|
|
|
|
# Black, Red, Green, Yellow, Blue, Purple, Cyan, White
|
|
|
|
|
#colorparent=white
|
|
|
|
|
#colorurl=default
|
|
|
|
|
#colorname=default
|
|
|
|
|
#colorreal=cyan
|
|
|
|
|
#colorbase=purple
|
|
|
|
|
#colorvalid=bold;green
|
|
|
|
|
#colorinvalid=bold;red
|
|
|
|
|
#colorinfo=default
|
2004-09-08 12:44:31 +00:00
|
|
|
#colorwarning=bold;yellow
|
2004-08-25 21:32:59 +00:00
|
|
|
#colordltime=default
|
|
|
|
|
#colorreset=default
|
2000-06-03 12:50:19 +00:00
|
|
|
|
|
|
|
|
# GML logger
|
|
|
|
|
[gml]
|
2002-02-14 15:33:53 +00:00
|
|
|
#filename=linkchecker-out.gml
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2010-10-25 19:42:11 +00:00
|
|
|
# valid encodings are listed in http://docs.python.org/library/codecs.html#standard-encodings
|
2004-10-27 09:25:05 +00:00
|
|
|
# default encoding is iso-8859-15
|
|
|
|
|
#encoding=utf_16
|
2000-06-03 12:50:19 +00:00
|
|
|
|
2005-01-28 11:51:12 +00:00
|
|
|
# DOT logger
|
|
|
|
|
[dot]
|
|
|
|
|
#filename=linkchecker-out.dot
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2005-01-28 11:51:12 +00:00
|
|
|
# default encoding is ascii since the original DOT format does not
|
|
|
|
|
# support other charsets
|
|
|
|
|
#encoding=iso-8859-15
|
|
|
|
|
|
2000-06-03 12:50:19 +00:00
|
|
|
# CSV logger
|
|
|
|
|
[csv]
|
2002-02-14 15:33:53 +00:00
|
|
|
#filename=linkchecker-out.csv
|
2005-01-20 22:16:01 +00:00
|
|
|
#separator=,
|
|
|
|
|
#quotechar="
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2000-06-03 12:50:19 +00:00
|
|
|
|
|
|
|
|
# SQL logger
|
|
|
|
|
[sql]
|
2002-02-14 15:33:53 +00:00
|
|
|
#filename=linkchecker-out.sql
|
|
|
|
|
#dbname=linksdb
|
2005-01-20 22:16:01 +00:00
|
|
|
#separator=;
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2000-06-03 12:50:19 +00:00
|
|
|
|
|
|
|
|
# HTML logger
|
|
|
|
|
[html]
|
2002-02-14 15:33:53 +00:00
|
|
|
#filename=linkchecker-out.html
|
2001-01-22 23:02:54 +00:00
|
|
|
# colors for the various parts
|
2002-05-14 23:01:48 +00:00
|
|
|
#colorbackground=#fff7e5
|
|
|
|
|
#colorurl=#dcd5cf
|
|
|
|
|
#colorborder=#000000
|
|
|
|
|
#colorlink=#191c83
|
2004-08-28 12:39:12 +00:00
|
|
|
#colorwarning=#e0954e
|
|
|
|
|
#colorerror=#db4930
|
|
|
|
|
#colorok=#3ba557
|
2005-05-08 20:07:30 +00:00
|
|
|
#parts=all
|
2000-06-03 12:50:19 +00:00
|
|
|
|
|
|
|
|
# blacklist logger
|
|
|
|
|
[blacklist]
|
2005-05-08 20:07:30 +00:00
|
|
|
#filename=~/.linkchecker/blacklist
|
2000-06-03 12:50:19 +00:00
|
|
|
|
2005-07-15 21:58:24 +00:00
|
|
|
# custom xml logger
|
2004-10-27 09:25:05 +00:00
|
|
|
[xml]
|
|
|
|
|
#encoding=iso-8859-1
|
|
|
|
|
|
2005-07-15 21:58:24 +00:00
|
|
|
# GraphXML logger
|
|
|
|
|
[gxml]
|
|
|
|
|
#encoding=iso-8859-1
|
|
|
|
|
|
2000-06-03 12:50:19 +00:00
|
|
|
# checking options
|
2000-02-26 10:24:46 +00:00
|
|
|
[checking]
|
2000-07-15 14:14:16 +00:00
|
|
|
# number of threads
|
2002-02-14 15:33:53 +00:00
|
|
|
#threads=5
|
2006-05-15 19:04:21 +00:00
|
|
|
# connection timeout in seconds
|
|
|
|
|
#timeout=60
|
2000-07-15 14:14:16 +00:00
|
|
|
# check anchors?
|
2002-02-14 15:33:53 +00:00
|
|
|
#anchors=0
|
|
|
|
|
#recursionlevel=1
|
2000-07-15 14:14:16 +00:00
|
|
|
# supply a regular expression for which warnings are printed if found
|
|
|
|
|
# in any HTML files.
|
2002-02-14 15:33:53 +00:00
|
|
|
#warningregex=Oracle DB Error
|
2000-07-15 14:14:16 +00:00
|
|
|
# Basic NNTP server. Overrides NNTP_SERVER environment variable.
|
2002-12-06 17:26:34 +00:00
|
|
|
# warn if size info exceeds given maximum of bytes
|
|
|
|
|
#warnsizebytes=2000
|
2002-02-14 15:33:53 +00:00
|
|
|
#nntpserver=
|
2008-05-08 10:36:54 +00:00
|
|
|
# check HTML or CSS syntax locally with HTML tidy or cssutils
|
2008-04-24 09:44:18 +00:00
|
|
|
#checkhtml=1
|
|
|
|
|
#checkcss=1
|
2008-05-08 10:36:54 +00:00
|
|
|
# check HTML or CSS syntax online with W3C validators
|
|
|
|
|
#checkhtmlw3=1
|
|
|
|
|
#checkcssw3=1
|
2008-05-20 08:57:37 +00:00
|
|
|
# scan URL content for viruses with ClamAV
|
|
|
|
|
#scanvirus=1
|
|
|
|
|
# ClamAV config file
|
|
|
|
|
#clamavconf=/etc/clamav/clamd.conf
|
2010-10-11 22:41:14 +00:00
|
|
|
# Send and store cookies
|
|
|
|
|
#cookies=1
|
2000-02-26 10:24:46 +00:00
|
|
|
|
2005-10-10 21:57:14 +00:00
|
|
|
# filtering options
|
2000-03-07 22:47:50 +00:00
|
|
|
[filtering]
|
2006-09-21 14:30:27 +00:00
|
|
|
#ignore=
|
2006-11-17 20:16:31 +00:00
|
|
|
# ignore everything with 'lconline' in the URL name
|
|
|
|
|
# lconline
|
|
|
|
|
# and ignore everything with 'bookmark' in the URL name
|
|
|
|
|
# bookmark
|
|
|
|
|
# and ignore all mailto: URLs
|
|
|
|
|
# ^mailto:
|
2005-05-09 22:05:21 +00:00
|
|
|
# do not recurse into the following URLs
|
2006-11-17 20:16:31 +00:00
|
|
|
|
2006-09-21 14:30:27 +00:00
|
|
|
#nofollow=
|
2010-10-25 19:42:11 +00:00
|
|
|
# just an example
|
|
|
|
|
# http://www\.example\.com/bla
|
2006-11-17 20:16:31 +00:00
|
|
|
|
2005-07-13 15:03:17 +00:00
|
|
|
# Ignore specified warnings (see linkchecker -h for the list of
|
|
|
|
|
# recognized warnings). Add a comma-separated list of warnings here
|
2005-10-13 21:23:13 +00:00
|
|
|
# that prevent a valid URL from being logged. Note that the warning
|
|
|
|
|
# will be logged in invalid URLs.
|
2010-07-29 18:09:47 +00:00
|
|
|
#ignorewarnings=url-unicode-domain,anchor-not-found
|
2006-09-15 09:39:33 +00:00
|
|
|
# Regular expression to add more URLs recognized as internal links.
|
|
|
|
|
# Default is that URLs given on the command line are internal.
|
2006-11-17 20:16:31 +00:00
|
|
|
|
2010-10-25 19:42:11 +00:00
|
|
|
#internlinks=^http://www\.example\.net/
|
2000-03-07 22:47:50 +00:00
|
|
|
|
2010-10-14 16:36:11 +00:00
|
|
|
[authentication]
|
2010-10-25 20:41:03 +00:00
|
|
|
# Different user/password pairs for different URLs can be provided.
|
2010-10-25 19:42:11 +00:00
|
|
|
# Entries are a triple (URL regular expression, username, password),
|
2000-03-07 22:47:50 +00:00
|
|
|
# separated by whitespace.
|
|
|
|
|
# If the regular expression matches, the given user/password pair is used
|
|
|
|
|
# for authentication. The commandline options -u,-p match every link
|
|
|
|
|
# and therefore override the entries given here. The first match wins.
|
2010-10-25 19:42:11 +00:00
|
|
|
# At the moment, authentication is used for http[s] and ftp links.
|
2006-09-21 14:30:27 +00:00
|
|
|
#entry=
|
2010-10-25 20:41:03 +00:00
|
|
|
# Note that passwords are optional. If any passwords are stored here,
|
|
|
|
|
# this file should not readable by other users.
|
|
|
|
|
# ^https?://www\.example\.com/~calvin/ calvin mypass
|
2010-10-25 19:42:11 +00:00
|
|
|
# ^ftp://www\.example\.com/secret/ calvin
|
2010-10-14 16:36:11 +00:00
|
|
|
|
|
|
|
|
# if the website requires a login the URL and optionally the user and
|
|
|
|
|
# password CGI fieldnames can be provided.
|
|
|
|
|
#loginurl=http://www.example.com/
|
|
|
|
|
|
|
|
|
|
# The name of the user and password CGI field
|
|
|
|
|
#loginuserfield=login
|
|
|
|
|
#loginpasswordfield=password
|
|
|
|
|
# Optionally any additional CGI name/value pairs. Note that the default
|
|
|
|
|
# values are submitted automatically.
|
|
|
|
|
#loginextrafields=
|
|
|
|
|
# name1:value1
|
|
|
|
|
# name 2:value 2
|