Scroll to navigation

LINKCHECKERRC(5) LinkChecker LINKCHECKERRC(5)

NAME

linkcheckerrc - Konfigurationsdatei für LinkChecker

BESCHREIBUNG

linkcheckerrc ist die Konfigurationsdatei für LinkChecker. Die Datei ist in einem INI-Format geschrieben. Die Standarddatei ist ~/.linkchecker/linkcheckerrc unter Unix-, %HOMEPATH%\linkchecker\linkcheckerrc unter Windows-Systemen.

EIGENSCHAFTEN

checking

Lese eine Datei mit Cookie-Daten. Das Cookie Datenformat wird in linkchecker(1) erklärt. Kommandozeilenoption: --cookiefile
Write memory allocation statistics to a file on exit, requires meliae. The default is not to write the file. Command line option: none
Beachten Sie dass das angegebene Verzeichnis in URL-Syntax sein muss, d.h. es muss einen normalen statt einen umgekehrten Schrägstrich zum Aneinanderfügen von Verzeichnissen benutzen. Und das angegebene Verzeichnis muss mit einem Schrägstrich enden. Kommandozeilenoption: none
Gibt ein NNTP Rechner für news: Links. Standard ist die Umgebungsvariable NNTP_SERVER. Falls kein Rechner angegeben ist, wird lediglich auf korrekte Syntax des Links geprüft. Kommandozeilenoption: --nntp-server
Prüfe rekursiv alle URLs bis zu der angegebenen Tiefe. Eine negative Tiefe bewirkt unendliche Rekursion. Standard Tiefe ist unendlich. Kommandozeilenoption: --recursion-level
Generiere nicht mehr als die angegebene Anzahl von Threads. Die Standardanzahl von Threads ist 10. Um Threads zu deaktivieren, geben Sie eine nicht positive Nummer an. Kommandozeilenoption: --threads
Setze den Timeout für TCP-Verbindungen in Sekunden. Der Standard Timeout ist 60 Sekunden. Kommandozeilenoption: --timeout
Time to wait for checks to finish after the user aborts the first time (with Ctrl-C or the abort button). The default abort timeout is 300 seconds. Command line option: none
Gibt den User-Agent an, der zu HTTP-Servern geschickt wird, z.B. "Mozilla/4.0". Der Standard ist "LinkChecker/X.Y", wobei X.Y die aktuelle Version von LinkChecker ist. Kommandozeilenoption: --user-agent
Falls der Wert Null ist werden SSL Zertifikate nicht überprüft. Falls er auf Eins gesetzt wird (der Standard) werden SSL Zertifikate mit der gelieferten CA Zertifikatsdatei geprüft. Falls ein Dateiname angegeben ist wird dieser zur Prüfung verwendet. Kommandozeilenoption: none
Hört nach der angegebenen Anzahl von Sekunden auf, neue URLs zu prüfen. Dies ist dasselbe als wenn der Benutzer nach der gegebenen Anzahl von Sekunden stoppt (durch Drücken von Strg-C). Kommandozeilenoption: none
Files larger than NUMBER bytes will be ignored, without downloading anything if accessed over http and an accurate Content-Length header was returned. No more than this amount of a file will be downloaded. The default is 5242880 (5 MB). Command line option: none
Files larger than NUMBER bytes will not be parsed for links. The default is 1048576 (1 MB). Command line option: none
Maximale Anzahl von URLs die geprüft werden. Neue URLs werden nicht angenommen nachdem die angegebene Anzahl von URLs geprüft wurde. Kommandozeilenoption: none
Limit the maximum number of requests per second to one host. The default is 10. Command line option: none
When using http, fetch robots.txt, and confirm whether each URL should be accessed before checking. The default is to use robots.txt files. Command line option: --no-robots
Allowed URL schemes as comma-separated list. Command line option: none

filtering

Prüfe lediglich die Syntax von URLs, welche dem angegebenen regulären Ausdruck entsprechen. Kommandozeilenoption: --ignore-url
Ignoriere die kommagetrennte Liste von Warnungen. Siehe WARNINGS für die Liste von erkannten Warnungen. Kommandozeilenoption: none
Regulärer Ausdruck, um mehr URLs als interne Verknüpfungen hinzuzufügen. Standard ist dass URLs der Kommandozeile als intern gelten. Kommandozeilenoption: none
Prüfe URLs die auf den regulären Ausdruck zutreffen, aber führe keine Rekursion durch. Kommandozeilenoption: --no-follow-url
Check external links. Default is to check internal links only. Command line option: --check-extern

authentication

Provide individual username/password pairs for different links. In addtion to a single login page specified with loginurl multiple FTP, HTTP (Basic Authentication) and telnet links are supported. Entries are a triple (URL regex, username, password) or a tuple (URL regex, username), where the entries are separated by whitespace. The password is optional and if missing it has to be entered at the commandline. If the regular expression matches the checked URL, the given username/password pair is used for authentication. The command line options -u and -p match every link and therefore override the entries given here. The first match wins. Command line option: -u, -p
The URL of a login page to be visited before link checking. The page is expected to contain an HTML form to collect credentials and submit them to the address in its action attribute using an HTTP POST request. The name attributes of the input elements of the form and the values to be submitted need to be available (see entry for an explanation of username and password values).
Der Name für das Benutzer CGI-Feld. Der Standardname ist login.
Der Name für das Passwort CGI-Feld. Der Standardname ist password.
Optionally the name attributes of any additional input elements and the values to populate them with. Note that these are submitted without checking whether matching input elements exist in the HTML form.

output

Gebe Testmeldungen aus für den angegebenen Logger. Verfügbare Logger sind cmdline, checking, cache, dns, thread, plugins und all. Die Angabe all ist ein Synonym für alle verfügbaren Logger. Kommandozeilenoption: --debug
Ausgabe in Datei linkchecker-out.TYP, $HOME/.linkchecker/failures für failures Ausgabe. Gültige Ausgabearten sind text, html, sql, csv, gml, dot, xml, none> oder failures Standard ist keine Dateiausgabe. Die verschiedenen Ausgabearten sind unten dokumentiert. Bemerke, dass man alle Konsolenausgaben mit output=none unterdrücken kann. Kommandozeilenoption: --file-output
Gib Ausgabetyp als text, html, sql, csv, gml, dot, xml, none oder failures an. Stadard Typ ist text. Die verschiedenen Ausgabetypen sind unten dokumentiert. Das ENCODING gibt die Ausgabekodierung an. Der Standard ist das der lokalen Spracheinstellung. Gültige Enkodierungen sind aufgelistet unter https://docs.python.org/library/codecs.html#standard-encodings. Kommandozeilenoption: --output
Falls gesetzt, erfolgt keine Ausgabe. Ein Alias für log=none. Dies ist nur in Verbindung mit fileoutput nützlich. Kommandozeilenoption: --verbose
Kontrolle der Statusmeldungen. Standard ist 1. Kommandozeilenoption: --no-status
Falls gesetzt, gebe alle geprüften URLs einmal aus. Standard ist es, nur fehlerhafte URLs und Warnungen auszugeben. Kommandozeilenoption: --verbose
Falls gesetzt, gebe keine Warnungen aus. Standard ist die Ausgabe von Warnungen. Kommandozeilenoption: --verbose

text

Gebe Dateiname für Textausgabe an. Standard Dateiname ist linkchecker-out.txt. Kommandozeilenoption: --file-output
Kommagetrennte Liste von Teilen, die ausgegeben werden sollen. Siehe LOGGER PARTS weiter unten. Kommandozeilenoption: none
Gültige Enkodierungen sind aufgelistet unter https://docs.python.org/library/codecs.html#standard-encodings. Die Standardenkodierung ist iso-8859-15.
Farbwerte für die verschiedenen Ausgabeteile. Syntax ist color oder type;color. Der type kann bold, light, blink> oder invert sein. Die color kann default, black, red, green, yellow, blue, purple, cyan, white, Black, Red, Green, Yellow, Blue, Purple, Cyan oder White sein. Kommandozeilenoption: none
Setze Farbe des Vaters. Standard ist white.
Setze URL Farbe. Standard ist default.
Setze Namensfarbe. Standard ist default.
Setze Farbe für tatsächliche URL. Default ist cyan.
Setzt Basisurl Farbe. Standard ist purple.
Setze gültige Farbe. Standard ist bold;green.
Setze ungültige Farbe. Standard ist bold;red.
Setzt Informationsfarbe. Standard ist default.
Setze Warnfarbe. Standard ist bold;yellow.
Setze Downloadzeitfarbe. Standard ist default.
Setze Reset Farbe. Standard ist default.

gml

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.

dot

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.

csv

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Das CSV Trennzeichen. Standard ist Komma (,).
Setze CSV Quotezeichen. Standard ist das doppelte Anführungszeichen (").

sql

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Setze Datenbankname zum Speichern. Standard ist linksdb.
Setze SQL Kommandotrennzeichen. Standard ist ein Strichpunkt (;).

html

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Setze HTML Hintergrundfarbe. Standard ist #fff7e5.
Setze HTML URL Farbe. Standard ist #dcd5cf.
Setze HTML Rahmenfarbe. Standard ist #000000.
Setze HTML Verknüpfungsfarbe. Standard ist #191c83.
Setze HTML Warnfarbe. Standard ist #e0954e.
Setze HTML Fehlerfarbe. Standard ist #db4930.
Setze HTML Gültigkeitsfarbe. Standard ist #3ba557.

failures

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.

xml

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.

gxml

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.

sitemap

Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Siehe [text] Sektion weiter oben.
Eine Nummer zwischen 0.0 und 1.0, welche die Priorität festlegt. Die Standardpriorität für die erste URL ist 1.0, für alle Kind-URLs ist sie 0.5.
Die Häufigkeit mit der Seiten sich ändern.

AUSGABE PARTS

for all parts
a unique ID for each logentry
the full url link
valid or invalid, with messages
1 or 0, only in some logger types reported
base href=...
<a href=...>name</a> and <img alt="name">
if any
some additional info, e.g. FTP welcome messages
warnings
download time
check time
the original url name, can be relative
the blurb at the beginning, "starting at ..."
the blurb at the end, "found x errors ..."

MULTILINE

Einige Optionen können mehrere Zeilen lang sein. Jede Zeile muss dafür eingerückt werden. Zeilen die mit einer Raute (#) beginnen werden ignoriert, müssen aber eingerückt sein.

ignore=

lconline
bookmark
# a comment
^mailto:


BEISPIEL

[output]
log=html
[checking]
threads=5
[filtering]
ignorewarnings=http-moved-permanent


PLUGINS

All plugins have a separate section. If the section appears in the configuration file the plugin is enabled. Some plugins read extra options in their section.

AnchorCheck

Checks validity of HTML anchors.

LocationInfo

Adds the country and if possible city name of the URL host as info. Needs GeoIP or pygeoip and a local country or city lookup DB installed.

RegexCheck

Definieren Sie einen regulären Ausdruck der eine Warnung ausgibt falls er auf den Inhalt einer geprüften URL zutrifft. Dies gilt nur für gültige Seiten deren Inhalt wir bekommen können.

Use this to check for pages that contain some form of error message, for example "This page has moved" or "Oracle Application error". REGEX should be unquoted.

Man beachte, dass mehrere Werte in dem regulären Ausdruck kombiniert werden können, zum Beispiel "(Diese Seite ist umgezogen|Oracle Applikationsfehler)".


SslCertificateCheck

Check SSL certificate expiration date. Only internal https: links will be checked. A domain will only be checked once to avoid duplicate warnings.

Configures the expiration warning time in days.

HtmlSyntaxCheck

Prüfe Syntax von HTML URLs mit dem W3C Online Validator. Siehe https://validator.w3.org/docs/api.html.

HttpHeaderInfo

Print HTTP headers in URL info.

List of comma separated header prefixes. For example to display all HTTP headers that start with "X-".

CssSyntaxCheck

Prüfe Syntax von HTML URLs mit dem W3C Online Validator. Siehe https://jigsaw.w3.org/css-validator/manual.html#expert.

VirusCheck

Checks the page content for virus infections with clamav. A local clamav daemon must be installed.

Dateiname von clamd.conf Konfigurationsdatei.

PdfParser

Parse PDF files for URLs to check. Needs the pdfminer Python package installed.

WordParser

Parse Word files for URLs to check. Needs the pywin32 Python extension installed.

MarkdownCheck

Parse Markdown files for URLs to check.

Regular expression matching the names of Markdown files.

WARNUNGEN

Die folgenden Warnungen werden vom Konfigurationseintrag 'ignorewarnings' erkannt:

Der file: URL fehlt ein abschließender Schrägstrich.
Der file: Pfad ist nicht derselbe wie der Systempfad.
Der ftp: URL fehlt ein abschließender Schrägstrich.
Ein Fehler trat auf während des Speicherns eines Cookies.
Die URL besitzt keinen Inhalt.
Der MX Mail-Rechner konnte nicht gefunden werden.
Die NNTP Nachrichtengruppe konnte nicht gefunden werden.
Es wurde kein NNTP Server gefunden.
Der URL Inhaltsgrößenangabe ist Null.
Der URL Inhalt ist zu groß.
Die effektive URL unterscheidet sich vom Original.
Konnte den Inhalt der URL nicht bekommen.
Die IP-Adresse ist verschleiert.
Die URL %(url)s enthält Leerzeichen am Anfang oder Ende.

SIEHE AUCH

linkchecker(1)

AUTHOR

Bastian Kleineidam <bastian.kleineidam@web.de>

COPYRIGHT

2000-2016 Bastian Kleineidam, 2010-2021 LinkChecker Authors

Januar 28, 2021 2021-01-28