diff options
Diffstat (limited to 'htdocs/config')
-rw-r--r-- | htdocs/config/charset.cfg | 3 | ||||
-rw-r--r-- | htdocs/config/check.cfg | 66 | ||||
-rw-r--r-- | htdocs/config/tips.cfg | 14 | ||||
-rw-r--r-- | htdocs/config/type.cfg | 15 |
4 files changed, 90 insertions, 8 deletions
diff --git a/htdocs/config/charset.cfg b/htdocs/config/charset.cfg index ec5f4c4..1215d23 100644 --- a/htdocs/config/charset.cfg +++ b/htdocs/config/charset.cfg @@ -1,7 +1,7 @@ # # Mapping of 'charset' or 'encoding' parameter to conversion parameter # -# $Id: charset.cfg,v 1.3 2002-04-01 05:22:49 duerst Exp $ +# $Id: charset.cfg,v 1.4 2002-08-20 01:51:24 link Exp $ # # this version for glibc iconv 2.1; change for other versions # @@ -59,5 +59,6 @@ x-mac-roman X macintosh x-sjis X shift_jis iso8859-1 X iso-8859-1 ascii X us-ascii +8859_1 X iso-8859-1 # this one is in IANA, but better use only windows-1252 iso-8859-1-Windows-3.1-Latin-1 X windows-1252 diff --git a/htdocs/config/check.cfg b/htdocs/config/check.cfg new file mode 100644 index 0000000..22a7995 --- /dev/null +++ b/htdocs/config/check.cfg @@ -0,0 +1,66 @@ +# +# Main Configuration File for the W3C HTML Validation Service. +# +# $Id: check.cfg,v 1.2 2002-08-20 01:51:24 link Exp $ +# +# Basic Key/Value pairs, separated by TABs. +# Blank lines and lines beginning with "#" are ignored. +# +# The file:// URLs aren't really URLs; it's just convenient shorthand. +# +# TODO: +# * Document format in /docs instead of here. +# * Ditch this format for a sane one; probably using Config::General. +# + +DEBUG 1 + +# +# Email address of the maintainer of this service. +Maintainer gerald@w3.org + +# +# The "Home Page" for the service. +Home Page http://validator.w3.org/ + +# +# Base URI To Error Explanations (doc/errors.html) +Msg FAQ URI http://validator.w3.org/docs/errors.html + +# +# Base URI for the Element Reference. +Element Ref URI http://www.htmlhelp.com/reference/html40/ + +# +# The SGML Library Path. +SGML Library /usr/local/validator/htdocs/sgml-lib + +# +# The SGML Parser to use. +SGML Parser /usr/bin/onsgmls + +# +# Mapping tables etc... +Element Map file:///usr/local/validator/htdocs/config/eref.cfg +FPI to Text file:///usr/local/validator/htdocs/config/fpis.cfg +Error to URI file:///usr/local/validator/htdocs/config/frag.cfg +File Type file:///usr/local/validator/htdocs/config/type.cfg +Doctypes file:///usr/local/validator/htdocs/config/doctypes.cfg +Charsets file:///usr/local/validator/htdocs/config/charset.cfg + + +# +# DanC territory... +Tips DB file:///usr/local/validator/htdocs/config/tips.cfg + + +# +# The "templates" for headers, footers... +Header /usr/local/validator/htdocs/header.html +Footer /usr/local/validator/htdocs/footer.html + + +# +# Allowed Protocols +# - List of (comma separated) protocol schemes to allow. +Allowed Protocols http,https diff --git a/htdocs/config/tips.cfg b/htdocs/config/tips.cfg new file mode 100644 index 0000000..83fb0f2 --- /dev/null +++ b/htdocs/config/tips.cfg @@ -0,0 +1,14 @@ +# +# "Tip Of The Day" Configuration. +# +# Each key is a URL and the value is the text that should be displayed as +# the link to it. Will appear in Validation Results pages. To disable +# just comment out or delete all lines in this file. +# +# $Id: tips.cfg,v 1.2 2002-08-20 01:51:24 link Exp $ +# + +http://www.w3.org/2001/06tips/good-titles <strong><title></strong>: the most important element of a quality Web page. +http://www.w3.org/2001/06tips/noClickHere Don't use "click here" as link text! +http://www.w3.org/2001/06tips/Use_h1_for_Title Use h1 for title! +http://www.w3.org/2001/06tips/reback Use standard redirects: don't break the back button!
\ No newline at end of file diff --git a/htdocs/config/type.cfg b/htdocs/config/type.cfg index 2a5aaac..c27ea3b 100644 --- a/htdocs/config/type.cfg +++ b/htdocs/config/type.cfg @@ -1,13 +1,14 @@ # # Mapping of Content-Type to document type. # -# $Id: type.cfg,v 1.4 2001-07-29 08:00:50 link Exp $ +# $Id: type.cfg,v 1.5 2002-08-20 01:51:24 link Exp $ -text/xml xml -image/svg svg -image/svg+xml svg -application/smil smil -application/xml xml +text/xml xml+xml +image/svg svg+xml +image/svg+xml svg+xml +application/smil smil+xml +application/xml xml+xml text/html html -text/vnd.wap.wml xml +text/vnd.wap.wml xml+xml +application/xhtml+xml html+xml |