1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
<!--#set var="revision" value="\$Id: index.html,v 1.50 2008-02-04 00:29:39 ot Exp $"
--><!--#set var="date" value="\$Date: 2008-02-04 00:29:39 $"
--><!--#set var="title" value="Source Code Availability for The W3C Markup Validation Service"
--><!--#set var="relroot" value="../"
--><!--#include virtual="../header.html" -->
<div class="doc">
<h2>Source code availability<br />for the W3C Markup Validator</h2>
<h3 id="TableOfContents">Table of Contents</h3>
<div id="toc">
<ul>
<li><a href="#getting">Retrieving and browsing the Code</a>
<ul>
<li><a href="#browse">Browsing the code</a></li>
<li><a href="#tarball">Download tarballs</a></li>
<li><a href="#rpm">Fedora/Red Hat RPM package</a></li>
<li><a href="#suse">openSUSE/SUSE Linux RPM package</a></li>
<li><a href="#deb">Debian GNU/Linux package</a></li>
<li><a href="#mac">Mac OS X Application</a></li>
<li><a href="#CVS">CVS repository</a></li>
</ul>
</li>
<li><a href="#using">Using the code</a></li>
</ul>
</div>
<h3><a name="getting" id="getting"></a>Retrieving and browsing the Code</h3>
<p><a id="skip" name="skip"></a>
The source code for the <a href="../"><acronym title="World Wide Web Consortium">W3C</acronym>
Markup Validation Service</a> is available under the terms of the
<a href="http://www.w3.org/Consortium/Legal/copyright-software"><acronym title="World Wide Web Consortium">W3C</acronym>
Software License</a>. Source tarball of the latest production
version is always available at
<<a href="http://validator.w3.org/validator.tar.gz">http://validator.w3.org/validator.tar.gz</a>>.
Development code is only available from CVS.
</p>
<h4><a id="browse" name="browse"></a>Browsing the code</h4>
<p>
If you just want to glance at the code, or see its revision
history, you can
<a href="http://dev.w3.org/cvsweb/validator/">browse it on
the web</a>.
</p>
<p>
The most interesting files are currently
<a href="http://dev.w3.org/cvsweb/validator/httpd/cgi-bin/check">a
CGI script called "check"</a> that does pretty much everything,
and possibly also <a
href="http://dev.w3.org/cvsweb/validator/httpd/conf/httpd.conf">the
httpd.conf configuration file snippet for Apache</a>.
Select the topmost revision numbers on these
pages to see the most recent revision of each file.
</p>
<h4><a id="tarball" name="tarball"></a>Download the code in tarballs</h4>
<p>
If you want a copy of all the files that make up the service, you
can download a tarball of <a href="http://validator.w3.org/validator.tar.gz">the code</a>
(~300kB) and <a href="http://validator.w3.org/sgml-lib.tar.gz">the <acronym
title="Document Type Definitions">DTDs</acronym></a> (~500kB).
</p>
<h4><a id="rpm" name="rpm"></a>Fedora/Red Hat RPM package</h4>
<p>
Fedora/Red Hat RPM packages of the validator are available,
courtesy of Ville Skyttä, at Fedora Project,
<<a href="http://fedoraproject.org/">http://fedoraproject.org/</a>>.
The name of the validator package is <tt>w3c-markup-validator</tt>,
use the standard automated package management tools of the
distribution (such as yum) to install it along with its
dependencies.
</p>
<p>
In addition to different Fedora versions, the RPMs
should be adaptable to other RPM based systems.
</p>
<h4><a id="suse" name="suse"></a>openSUSE/SUSE Linux RPM package</h4>
<p>
openSUSE/SUSE Linux RPM packages of the validator are available,
courtesy of Sierk Bornemann, at download.openSUSE.org,
<<a href="http://software.opensuse.org/">http://software.opensuse.org/</a>>.
Starting with openSUSE 10.3, the latest stable validator package and all its
dependencies are included in the official stable openSUSE distribution.
The name of the validator package is <tt>w3c-markup-validator</tt>,
use the standard automated package management tools of the
distribution (such as <em>YaST</em>, <em>zypper</em>, <em>smart</em>,
<em>apt4rpm</em> or <em>yum</em>) to install it along with its
dependencies.
</p>
<p>
Additionally, you can also get these and other needed packages
from the openSUSE Software Repository at
<<a href="http://software.opensuse.org/download/validators/">http://software.opensuse.org/download/validators/</a>>
or from one of its mirrors, or (except needed perl packages)
from sierkbornemann.de,
<<a href="http://sierkbornemann.de/pub/tools/w3c-markup-validator/">http://sierkbornemann.de/pub/tools/w3c-markup-validator/</a>>.
Needed perl packages are provided through the openSUSE Software Repository at
<<a href="http://download.opensuse.org/repositories/devel:/languages:/perl/">http://download.opensuse.org/repositories/devel:/languages:/perl/</a>>.
</p>
<h4><a name="deb" id="deb"></a>Debian GNU/Linux package</h4>
<p>
A Debian package is available, courtesy of Frédéric
Schütz.
</p>
<p>
Starting with Debian 3.1 ("Sarge"), the package and all its
dependencies are included in the official Debian distribution, and
can be installed by running the command <kbd>apt-get install
w3c-markup-validator</kbd> as root.
</p>
<p>
Debian 4.0 ("Etch") includes version 0.7.4 of the validator; the
Debian Testing and Unstable distributions usually include the latest
version.
</p>
<h4 id="mac">Mac OS X Application</h4>
<p>
The Validator is also packaged as a standalone Mac OS X Application,
called <a href="http://habilis.net/validator-sac/">Validator <abbr title="[Stand Alone Complex]">S.A.C.</abbr></a>, courtesy of <a href="http://habilis.net/chuck/" title="Chuck Houpt's Home Page">Chuck Houpt</a>.</p>
<h4><a id="CVS" name="CVS"></a>CVS repository</h4>
<p>
If you intend to actively mirror the code and/or contribute
patches to the code, you should install and become familiar
with <a href="http://www.nongnu.org/cvs/">CVS</a>;
this is the tool we use for revision control and is generally
a good thing to <a href="http://ximbiot.com/cvs/manual/">get to
know</a>.
</p>
<p>
For instructions on how to retrieve the code using CVS,
see our <a href="http://dev.w3.org/cvsweb/validator/">web-based interface to the repository.</a>
</p>
<h3><a id="using" name="using"></a>Using the code</h3>
<p>
The purpose of making the source code available is partly to allow
others to set up mirrors of the service (either publicly or within
an intranet behind a firewall), but also to allow us to collaborate
on making the service better! If you are interested in helping with
the development, we suggest you first <a href="../docs/install.html">install</a>
the code and <a href="../docs/devel.html">read our instructions for developers</a>.
</p>
</div>
<!--#include virtual="../footer.html" -->
</body>
</html>
|