[logback-dev] svn commit: r1961 - in logback/trunk/logback-site/src/site/pages: . css manual templates

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Nov 11 17:54:39 CET 2008


Author: ceki
Date: Tue Nov 11 17:54:39 2008
New Revision: 1961

Removed:
   logback/trunk/logback-site/src/site/pages/manual/profilers.html
Modified:
   logback/trunk/logback-site/src/site/pages/bridge.html
   logback/trunk/logback-site/src/site/pages/bugreport.html
   logback/trunk/logback-site/src/site/pages/codes.html
   logback/trunk/logback-site/src/site/pages/css/common.css
   logback/trunk/logback-site/src/site/pages/demo.html
   logback/trunk/logback-site/src/site/pages/download.html
   logback/trunk/logback-site/src/site/pages/license.html
   logback/trunk/logback-site/src/site/pages/manual/appenders.html
   logback/trunk/logback-site/src/site/pages/manual/architecture.html
   logback/trunk/logback-site/src/site/pages/manual/introduction.html
   logback/trunk/logback-site/src/site/pages/manual/layouts.html
   logback/trunk/logback-site/src/site/pages/manual/underTheHood.html
   logback/trunk/logback-site/src/site/pages/setup.html
   logback/trunk/logback-site/src/site/pages/team.html
   logback/trunk/logback-site/src/site/pages/templates/footer.js

Log:
ensure that html documents are valid XHTML

Modified: logback/trunk/logback-site/src/site/pages/bridge.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/bridge.html	(original)
+++ logback/trunk/logback-site/src/site/pages/bridge.html	Tue Nov 11 17:54:39 2008
@@ -3,8 +3,11 @@
 <head>
 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
 <title>Log4j Bridge</title>
-<link rel="stylesheet" type="text/css" media="screen" href="css/site.css" />
-<link rel="stylesheet" type="text/css" media="print" href="css/print.css" />
+
+    <link rel="stylesheet" type="text/css" href="css/common.css" />
+    <link rel="stylesheet" type="text/css" href="css/screen.css" media="screen" />
+    <link rel="stylesheet" type="text/css" href="css/_print.css" media="print" />
+
 
 </head>
 <body>

Modified: logback/trunk/logback-site/src/site/pages/bugreport.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/bugreport.html	(original)
+++ logback/trunk/logback-site/src/site/pages/bugreport.html	Tue Nov 11 17:54:39 2008
@@ -9,11 +9,11 @@
     <link rel="stylesheet" type="text/css" href="css/_print.css" media="print" />
   </head>
   <body>
-    <script>prefix='';</script>
+    <script type="text/javascript">prefix='';</script>
 
-    <script src="templates/header.js"></script>
+    <script src="templates/header.js" type="text/javascript"></script>
     <div id="left">
-      <script src="templates/left.js"></script>
+      <script src="templates/left.js" type="text/javascript"></script>
     </div>
     <div id="content">
 	
@@ -85,7 +85,7 @@
       new logback bug</a></li>
     </ul>
     
-    <script src="templates/footer.js"></script>
+    <script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/codes.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/codes.html	(original)
+++ logback/trunk/logback-site/src/site/pages/codes.html	Tue Nov 11 17:54:39 2008
@@ -1,22 +1,22 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-<title>Logback Error Codes</title>
-<link rel="stylesheet" type="text/css" media="screen" href="css/site.css" />
-</head>
-
-<body>
-  <script>
-    prefix='';	
-  </script>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+    <title>Logback Error Codes</title>
 
-  <script src="templates/header.js"></script>
+    <link rel="stylesheet" type="text/css" href="css/common.css" />
+    <link rel="stylesheet" type="text/css" href="css/screen.css" media="screen" />
+    <link rel="stylesheet" type="text/css" href="css/_print.css" media="print" />
+
+  </head>
+  
+  <body>
+    <script type="text/javascript">prefix='';</script>
+
+  <script src="templates/header.js" type="text/javascript"></script>
   <div id="left">
-    <script src="templates/left.js"></script>
-  </div>
-  <div id="right">
-    <script src="templates/right.js"></script>
+    <script src="templates/left.js" type="text/javascript"></script>
   </div>
   <div id="content">
     
@@ -268,7 +268,7 @@
   <hr/>
   
   
-    <script src="templates/footer.js"></script>
+    <script src="templates/footer.js" type="text/javascript"></script>
   </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/css/common.css
==============================================================================
--- logback/trunk/logback-site/src/site/pages/css/common.css	(original)
+++ logback/trunk/logback-site/src/site/pages/css/common.css	Tue Nov 11 17:54:39 2008
@@ -75,8 +75,11 @@
   font-size: medium;
 }
 
+table.footer {
+  width: 100%;
+}
+
 .footer {
-  text-align: right;
   color: #564b47;
   background-color: #fff;
   padding:0px;

Modified: logback/trunk/logback-site/src/site/pages/demo.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/demo.html	(original)
+++ logback/trunk/logback-site/src/site/pages/demo.html	Tue Nov 11 17:54:39 2008
@@ -32,21 +32,21 @@
     client and issue the following command on a console:
     </p>
   
-  <p class="source">svn co http://svn.qos.ch/repos/logback-demo/tags/STABLE logback-demo</p>
+    <p class="source">svn co http://svn.qos.ch/repos/logback-demo/tags/STABLE logback-demo</p>
 
-  <p>This will checkout a copy of the logback demonstration
-  web-application to a directory called <em>logback-demo</em>. The
-  logback demo can be packaged as a <em>war</em> file and deployed to
-  an application server. We strongly recommend the use of <a
-  href="http://maven.apache.org/">Maven2</a> to accomplish this task,
-  since it takes a single command in order to compile, package and run
-  this demo.
-  </p>
+    <p>This will checkout a copy of the logback demonstration
+    web-application to a directory called <em>logback-demo</em>. The
+    logback demo can be packaged as a <em>war</em> file and deployed
+    to an application server. We strongly recommend the use of <a
+    href="http://maven.apache.org/">Maven2</a> to accomplish this
+    task, since it takes a single command in order to compile, package
+    and run this demo.
+    </p>
 
-  <p>	Using Maven, let's package the files and run the demo for the first
-	time.  From the <em>logback-demo</em> directory, issue the following
-	command:
-  </p>
+    <p>	Using Maven, let's package the files and run the demo for the first
+    time.  From the <em>logback-demo</em> directory, issue the following
+    command:
+    </p>
 
   <div class="source"><pre>mvn package jetty:run</pre></div>
     
@@ -377,10 +377,10 @@
   page is accessed.
   </p>
 
-<p>The configuration lines that are necessary are listed below.
-</p>
+  <p>The configuration lines that are necessary are listed below.
+  </p>
 
-<div class="source"><pre>&lt;appender name="STDOUT_LOTTERY"
+  <p class="source">&lt;appender name="STDOUT_LOTTERY"
   class="ch.qos.logback.core.ConsoleAppender">
   &lt;filter class="ch.qos.logback.core.filter.EvaluatorFilter">
     &lt;evaluator name="lotto_eval">
@@ -400,162 +400,90 @@
       LOTTERY: %A [%r] Guess=%reqParameter{guessed_number}
     &lt;/Pattern>
   &lt;/layout>
-&lt;/appender></pre></div>
+&lt;/appender></p>
+
+  <p>This appender will use a <code>PatternLayout</code> to format its
+  output.  The <em>%reqParameter</em> conversion word is used to
+  extract the guessed number from the request, and print it.
+  </p>
 
-<p>This appender will use a <code>PatternLayout</code> to format its
-output.  The <em>%reqParameter</em> conversion word is used to extract
-the guessed number from the request, and print it.
-</p>
-
-<p>It also uses an <code>EvaluatorFilter</code> that will prevent the
-appender to display anything when the access' request url does not
-match the given expression. You can see that it is easy to specify a
-RegExp, name it and use it in the expression that will be
-evaluated. In that case, we only entered the name of the
-<em>lottery.do</em> action.
-</p>
-
-<p>Let us uncomment the two elements with the <em>Lottery to
-Console</em> comments and restart the server. Now, try to play the
-lottery. You will see more lines in the Console that you've seen until
-now. At every try, logback will produce a log as shown below:
-</p>
-
-<div class="source"><pre>LOTTERY: 192.168.1.6 [POST /logback-demo/Lottery.do HTTP/1.1] Guess=321</pre></div>
-
-<h4>Sending emails</h4>
-
-<p>Logback access provides several components that are usually used by
-the classic module. For example, a <code>SMTPAppender</code> can be
-used to send an email when a specific event occurs. Here, we will
-contact the lottery administrator each time a winner is detected. To
-achieve this, we will add a <code>SMTPAppender</code> to the existing
-configuration. Please uncomment the part of
-<em>logback-access.xml</em> named <em>Lottery to Email</em>. Do not
-forget to uncomment the <em>appender-ref</em> element, at the end of
-the configuration file, referencing the appender called
-<em>SMTP</em>. In the appender element, notice the use of a
-<code>URLEvaluator</code>. This evaluator allows us to only specify
-one or more URLs that have to be watched. When one of them are
-accessed, an email is sent.
-</p>
-
-<p>A reload of the configuration has to be done before we can test
-this new component. Once done, try to play the lottery with the number
-<em>99</em>.  You should see a congratulation message but, most
-importantly, the specified recipients should have a new mail in their
-mailbox. The content of the email is a nicely formatted HTML table
-with informations about the access that have occured before the
-triggering event.
-</p>
-
-<h3>JMX</h3>
-
-<p>Logback publishes several components via JMX. This allows you to
-see the status of certain objects, and change several configuration
-parameters.  Publishing logback's components via JMX is possible with
-Jetty and Tomcat.
-</p>
-
-<p>
-To see logback access' components, visit the following page:
-</p>
-
-<div class="source"><pre>http://localhost:8082/</pre></div>
-
-<p>The domain <em>ch.qos.logback.access.jetty</em> contains an entry
-that allows you to see the <em>RequestLogImpl</em> component. This
-component is used to plug logback in Jetty's internal
-achitecture. Clicking on it reveals the status of several parameters,
-such as the started status, and two methods are available to start and
-stop the <em>RequestLogImpl</em>.
-</p>
-
-<p>To see the influence of the available operations, place the
-terminal window and your web browser such that you can see them
-both. Stop the <em>RequestLogImlp</em> and reload a few times the main
-page of the demo. Nothing should be displayed. If you start the
-<em>RequestLogImpl</em> again, the requests will be shown in the
-terminal window.
-</p>
-
-<p>In the <em>logback-access.xml</em> configuration file, uncomment
-the <em>JMX</em> part and restart the server. A
-<code>CountingFilter</code> will now be available in the
-<em>ch.qos.logback.access</em> domain. Clicking on it will display
-several statistical figures corresponding to server accesses. Loading
-some application pages will make these figures grow and show a
-time-sensitive picture of the server activity.
-</p>
-
-
-<p>These is more to discover with logback and JMX. In the
-<em>logback.xml</em> file, placed in the <em>src/main/resources</em>
-directory, uncomment the <code>JMXConfigurator</code> element. Once
-done, restart the server.
-</p>
-
-<p>By refreshing the previously loaded JMX page, you should see a new
-component, under the domain <em>ch.qos.logback.classic</em>. It is the
-<code>JMXConfigurator</code>.  Clicking on it reveals its content. Its
-possibilities are listed below:
-</p>
-
-<ul>
-  <p>
-    Reload the configuration using the same file that was
-    previously used.
-  </p>
-  <p>
-    Reload the configuration using a file whose path is passed as
-    a parameter.
-  </p>
-  <p>
-    Reload the configuration using a file whose URL is passed as a
-    parameter.
-  </p>
-  <p>Get the level of a logger</p>
-  <p>Change the level setting of a specified logger.</p>
-  <p>Change a list of all declared loggers.</p>
-  <p>Change the level setting of a specified logger.</p>
-</ul>
-
-<p> In the last case, you must specify the name of the logger you wish
-  to alter, and its new level.
-</p>
-
-<p>Checking the level of a logger is an easy task. Enter the name of
-the logger in the appropriate field and click the <em>Invoke</em>
-button. You should be able to verify that the logger named
-<em>root</em> has its level set to <em>OFF</em>.
-</p>
-
-
-<p>Let us test the level setting possibility of the configurator.  The
-<em>Prime Number</em> page requests two types of logs. When the
-calculation checks if a number is a factor, a <em>DEBUG</em> log is
-displayed. When the calculation has found a factor, a <em>INFO</em>
-log is displayed.
-</p>
-
-<p>Let us first set the level of the logger named
-<em>ch.qos.logback.demo.prime</em> to <em>DEBUG</em>. Run a prime
-calculation directly, without restarting the server. The <em>View
-logs</em> page should show the <em>DEBUG</em> and <em>INFO</em> logs.
-</p>
-
-<p>Now, if you set the level of the <em>ch.qos.logback.demo.prime</em>
-logger to <em>INFO</em>, and run a prime calculation again, you should
-not see the <em>DEBUG</em> level logs anymore.
-</p>
-
-<p>This demo of logback is now over. Do not hesitate to play around
-with the configuration files.  You might want to check the <a
-href="http://logback.qos.ch/documentation.html"> logback documentation
-page</a> for more information about any component you'd like to test.
-</p>
+  <p>It also uses an <code>EvaluatorFilter</code> that will prevent
+  the appender to display anything when the access' request url does
+  not match the given expression. You can see that it is easy to
+  specify a RegExp, name it and use it in the expression that will be
+  evaluated. In that case, we only entered the name of the
+  <em>lottery.do</em> action.
+  </p>
+
+  <p>Let us uncomment the two elements with the <em>Lottery to
+  Console</em> comments and restart the server. Now, try to play the
+  lottery. You will see more lines in the Console that you've seen until
+  now. At every try, logback will produce a log as shown below:
+  </p>
+
+  <p class="source">LOTTERY: 192.168.1.6 [POST /logback-demo/Lottery.do HTTP/1.1] Guess=321</p>>
+
+  <h4>Sending emails</h4>
+
+  <p>Logback access provides several components that are usually used
+  by the classic module. For example, a <code>SMTPAppender</code> can
+  be used to send an email when a specific event occurs. Here, we will
+  contact the lottery administrator each time a winner is detected. To
+  achieve this, we will add a <code>SMTPAppender</code> to the
+  existing configuration. Please uncomment the part of
+  <em>logback-access.xml</em> named <em>Lottery to Email</em>. Do not
+  forget to uncomment the <em>appender-ref</em> element, at the end of
+  the configuration file, referencing the appender called
+  <em>SMTP</em>. In the appender element, notice the use of a
+  <code>URLEvaluator</code>. This evaluator allows us to only specify
+  one or more URLs that have to be watched. When one of them are
+  accessed, an email is sent.
+  </p>
+
+  <p>A reload of the configuration has to be done before we can test
+  this new component. Once done, try to play the lottery with the
+  number <em>99</em>.  You should see a congratulation message but,
+  most importantly, the specified recipients should have a new mail in
+  their mailbox. The content of the email is a nicely formatted HTML
+  table with informations about the access that have occured before
+  the triggering event.
+  </p>
+
+  <h3>JMX</h3>
+
+  <p>Logback publishes several components via JMX. This allows you to
+  see the status of certain objects, and change several configuration
+  parameters.  Publishing logback's components via JMX is possible
+  with Jetty and Tomcat. For more information about JMXConfigurator
+  please refer to the <a href="manual/jmxConfig.html">relevant
+  chapter</a> in the manual.
+  </p>
+
+  <p>Let us test the level setting possibility of the configurator.
+  The <em>Prime Number</em> page requests two types of logs. When the
+  calculation checks if a number is a factor, a <em>DEBUG</em> log is
+  displayed. When the calculation has found a factor, a <em>INFO</em>
+  log is displayed.
+  </p>
+
+  <p>Let us first set the level of the logger named
+  <em>ch.qos.logback.demo.prime</em> to <em>DEBUG</em>. Run a prime
+  calculation directly, without restarting the server. The <em>View
+  logs</em> page should show the <em>DEBUG</em> and <em>INFO</em> logs.
+  </p>
+  
+  <p>Now, if you set the level of the <em>ch.qos.logback.demo.prime</em>
+  logger to <em>INFO</em>, and run a prime calculation again, you should
+  not see the <em>DEBUG</em> level logs anymore.
+  </p>
+  
+  <p>This demo of logback is now over. Do not hesitate to play around
+  with the configuration files.  You might want to check the <a
+  href="http://logback.qos.ch/documentation.html"> logback documentation
+  page</a> for more information about any component you'd like to test.
+  </p>
 	
-<script src="templates/footer.js" type="text/javascript"></script>
+  <script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/download.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/download.html	(original)
+++ logback/trunk/logback-site/src/site/pages/download.html	Tue Nov 11 17:54:39 2008
@@ -1,4 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
@@ -8,49 +10,37 @@
     <link rel="stylesheet" type="text/css" href="css/_print.css" media="print" />
   </head>
   <body>
-	<script>
-    prefix='';	
-    </script>
+	<script type="text/javascript">prefix='';</script>
 
-    <script src="templates/header.js"></script>
+    <script src="templates/header.js" type="text/javascript"></script>
     <div id="left">
-      <script src="templates/left.js"></script>
+      <script src="templates/left.js" type="text/javascript"></script>
     </div>
     <div id="content">
 	
-	
-		<div class="section">
-			<h2>Download links</h2>
-		</div>
-
-		<p>
-			Logback modules are available as downloads including full source code, class files
-			and documentation.
+    <h2>Download links</h2>
+
+
+		<p>Logback modules are available as downloads including full
+		source code, class files and documentation.
 		</p>
 
 		<ul>
-			<p>
-				<a href="dist/logback-${pom.version}.zip">
-					logback-${pom.version}.zip
-				</a>
-			</p>
-			<p>
-				<a href="dist/logback-${pom.version}.tar.gz">
-					logback-${pom.version}.tar.gz
-				</a>
-			</p>
+      <li><a href="dist/logback-${pom.version}.zip">logback-${pom.version}.zip</a></li>
+      <li><a href="dist/logback-${pom.version}.tar.gz">logback-${pom.version}.tar.gz</a></li>
 		</ul>
 		
 		
-		<p>If you wish to download an older version of logback, please visit the
-		<a href="http://logback.qos.ch/dist/">distributions directory</a>.</p>
+    <p>If you wish to download an older version of logback, please
+    refer to the <a href="http://logback.qos.ch/dist/">distributions
+    directory</a>.</p>
 
    
-    <p>
-     A console plugin for Eclipse is also available. It allows you to recieve logging
-     events in a convenient Eclipse view, and offers, among other functionnalities, 
-     the powerful filtering framework present in logback. A more precise description
-     can be found in the plugin's <a href="consolePlugin.html">user guide</a>.
+    <p>A console plugin for Eclipse is also available. It allows you
+    to recieve logging events in a convenient Eclipse view, and
+    offers, among other functionnalities, the powerful filtering
+    framework present in logback. A more precise description can be
+    found in the plugin's <a href="consolePlugin.html">user guide</a>.
     </p>
     
     <ul>
@@ -68,7 +58,7 @@
     <dl>
       <dt>
         <a
-         href="http://wizardforge.org/pc?action=showVersion&id=72">Configuration
+        href="http://wizardforge.org/pc?action=showVersion&id=72">Configuration
         wizard</a> by Dirk Ooms
       </dt>
 
@@ -92,7 +82,7 @@
 
     
 
-  <script src="templates/footer.js"></script>
+  <script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/license.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/license.html	(original)
+++ logback/trunk/logback-site/src/site/pages/license.html	Tue Nov 11 17:54:39 2008
@@ -11,11 +11,11 @@
     
   </head>
   <body>
-    <script>prefix='';</script>
+    <script type="text/javascript">prefix='';</script>
 
-    <script src="templates/header.js"></script>
+    <script src="templates/header.js" type="text/javascript"></script>
     <div id="left">
-      <script src="templates/left.js"></script>
+      <script src="templates/left.js" type="text/javascript"></script>
     </div>
     <div id="content">
       
@@ -63,7 +63,7 @@
     of your contribution and to protect the project in case of litigation.
     </p>
     
-<script src="templates/footer.js"></script>
+<script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/manual/appenders.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/appenders.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/appenders.html	Tue Nov 11 17:54:39 2008
@@ -2570,13 +2570,14 @@
 		
 		<h4>ConnectionSource</h4>
 		
-		<p>
-			The <id>ConnectionSource</id> interface provides a pluggable means of 
-			transparently obtaining JDBC Connections for logback classes that 
-			require the use of a <code>java.sql.Connection</code>. There are currently
-			three implementations of <code>ConnectionSource</code>, namely
-			<code>DataSourceConnectionSource</code>, <code>DriverManagerConnectionSource</code>
-			and <code>JNDIConnectionSource</code>.
+		<p>The <code>ConnectionSource</code> interface provides a
+		pluggable means of transparently obtaining JDBC Connections for
+		logback classes that require the use of a
+		<code>java.sql.Connection</code>. There are currently three
+		implementations of <code>ConnectionSource</code>, namely
+		<code>DataSourceConnectionSource</code>,
+		<code>DriverManagerConnectionSource</code> and
+		<code>JNDIConnectionSource</code>.
 		</p>
 		
 		<p>

Modified: logback/trunk/logback-site/src/site/pages/manual/architecture.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/architecture.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/architecture.html	Tue Nov 11 17:54:39 2008
@@ -791,7 +791,7 @@
     want to click on the image to display its bigger version.
   </p>
 
-  <a href="underTheHood.html"><img src="images/chapter2/underTheHoodSequence2_small.gif" /></a>
+  <a href="underTheHood.html"><img src="images/chapter2/underTheHoodSequence2_small.gif" alt="underTheHoodSequence2_small.gif"/></a>
 
   <a name="Performance"></a>
   <h3>Performance</h3>

Modified: logback/trunk/logback-site/src/site/pages/manual/introduction.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/introduction.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/introduction.html	Tue Nov 11 17:54:39 2008
@@ -59,7 +59,7 @@
 
     <h2>First Baby Step</h2>
 
-    <script src="../templates/setup.js"></script>
+    <script src="../templates/setup.js" type="text/javascript"></script>
     
     <a name="Requirements"></a>
     <h3>Requirements</h3>

Modified: logback/trunk/logback-site/src/site/pages/manual/layouts.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/layouts.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/layouts.html	Tue Nov 11 17:54:39 2008
@@ -945,13 +945,14 @@
 		conversion specifier.
 		</p>
 
-		<table class="bodyTable" BORDER="0" CELLPADDING="8">
-			<th>Format modifier</th>
-			<th>Left justify</th>
-			<th>Minimum width</th>
-			<th>Maximum width</th>
-			<th>Comment</th>
-
+		<table class="bodyTable" border="0" cellpadding="8">
+      <tr>
+        <th>Format modifier</th>
+        <th>Left justify</th>
+        <th>Minimum width</th>
+        <th>Maximum width</th>
+        <th>Comment</th>
+      </tr>
 			<tr class="a">
 				<td align="center">%20logger</td>
 				<td align="center">false</td>
@@ -1024,10 +1025,12 @@
 		the width of output.</p>
 
 
-		<table  class="bodyTable" BORDER="0" CELLPADDING="8">
-			<th>Format modifier</th>
-			<th>Logger name</th>
-			<th>Result</th>		
+		<table  class="bodyTable" border="0" cellpadding="8">
+      <tr>
+        <th>Format modifier</th>
+        <th>Logger name</th>
+        <th>Result</th>		
+      </tr>
 			<tr class="b">
 				<td align="center">[%20.20logger]</td>
 				<td align="center">main.Name</td>
@@ -1534,7 +1537,7 @@
 public class TrivialMain {
   public static void main(String[] args) throws InterruptedException {
     Logger logger = LoggerFactory.getLogger(TrivialMain.class);
-    for(int i = 0; i < 6; i ++) {
+    for(int i = 0; i &lt; 6; i ++) {
       if(i % 5 == 0) {
         logger.info("an info message "+i);
       } else {
@@ -1676,7 +1679,7 @@
 		<p>Below is a list of conversion specifiers for 
 		<code>PatternLayout</code> in logback-access.</p>
 		
-		<table  class="bodyTable" border="0" CELLPADDING="8">
+		<table  class="bodyTable" border="0" cellpadding="8">
       <tr>
         <th align="center">Conversion Word</th>
         <th align="center">Effect</th>

Modified: logback/trunk/logback-site/src/site/pages/manual/underTheHood.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/manual/underTheHood.html	(original)
+++ logback/trunk/logback-site/src/site/pages/manual/underTheHood.html	Tue Nov 11 17:54:39 2008
@@ -1,9 +1,15 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
-	<body>
+<html xmlns="http://www.w3.org/1999/xhtml">  
+  <head> 
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+    <title>under the hood</title>
+  </head>
+  <body>
     <h2>Under The Hood Sequence Diagram</h2>
+  
+    <img src="images/chapter2/underTheHoodSequence2.gif" alt="underTheHoodSequence2.gif"/>
 
-<img src="images/chapter2/underTheHoodSequence2.gif" />
-
-</body>
+  </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/setup.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/setup.html	(original)
+++ logback/trunk/logback-site/src/site/pages/setup.html	Tue Nov 11 17:54:39 2008
@@ -1,89 +1,88 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
-<title>Setup</title>
-<link rel="stylesheet" type="text/css" media="screen" href="css/site.css" />
-</head>
-<body>
-	<script>
-prefix='';	
-</script>
-
-<script src="templates/header.js"></script>
-<div id="left">
-  <script src="templates/left.js"></script>
-</div>
-<div id="right">
-  <script src="templates/right.js"></script>
-</div>
-<div id="content">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
+    <title>Setup</title>
+    <link rel="stylesheet" type="text/css" href="css/common.css" />
+    <link rel="stylesheet" type="text/css" href="css/screen.css" media="screen" />
+    <link rel="stylesheet" type="text/css" href="css/_print.css" media="print" />
+
+  </head>
+  <body>
+    <script type="text/javascript">prefix='';	</script>
+
+    <script src="templates/header.js" type="text/javascript"></script>
+    <div id="left">
+      <script src="templates/left.js" type="text/javascript"></script>
+    </div>
+  
+    <div id="content">
 	
 	
-  <h2>Classpath Setup</h2>
+    <h2>Classpath Setup</h2>
 
-  <p>In order to run the examples provided in the documentation, you
-  need to add the following jars to your class path:
-  </p>
-
-  <ul>
-    <li>logback-core-${version}.jar</li>
-    <li>logback-classic-${version}.jar</li>
-    <li>logback-examples-${version}.jar</li>
-    <li>slf4j-api-${slf4j.version}.jar</li>
-  </ul>
-
-  <p>The <em>logback-*.jar</em> files are part of the logback
-  distribution whereas <em>slf4j-api-${slf4j.version}.jar</em> ships
-  with <a href="http://www.slf4j.org">SLF4J</a>, a separate project.
-  </p>
-
-  <h3>Running from the command line</h3>
-
-  <p>Assuming your current directory is
-  <em>$LOGBACK_HOME/logback-examples</em>, where
-  <em>$LOGBACK_HOME</em> stands for the directory where you installed
-  logback, you can launch the first sample application,
-  <em>chapter1.HelloWord1</em> with the following command:
-  </p>
+    <p>In order to run the examples provided in the documentation, you
+    need to add the following jars to your class path:
+    </p>
+
+    <ul>
+      <li>logback-core-${version}.jar</li>
+      <li>logback-classic-${version}.jar</li>
+      <li>logback-examples-${version}.jar</li>
+      <li>slf4j-api-${slf4j.version}.jar</li>
+    </ul>
+    
+    <p>The <em>logback-*.jar</em> files are part of the logback
+    distribution whereas <em>slf4j-api-${slf4j.version}.jar</em> ships
+    with <a href="http://www.slf4j.org">SLF4J</a>, a separate project.
+    </p>
+    
+    <h3>Running from the command line</h3>
+    
+    <p>Assuming your current directory is
+    <em>$LOGBACK_HOME/logback-examples</em>, where
+    <em>$LOGBACK_HOME</em> stands for the directory where you
+    installed logback, you can launch the first sample application,
+    <em>chapter1.HelloWord1</em> with the following command:
+    </p>
 
-<div class="source"><pre>java -cp
- lib/slf4j-api-${slf4j.version}.jar;../logback-core-${version}.jar;\
+    <p class="source">java -cp lib/slf4j-api-${slf4j.version}.jar;../logback-core-${version}.jar;\
  ../logback-classic-${version}.jar;logback-examples-${version}.jar\
- chapter1.HelloWorld1</pre></div>
+ chapter1.HelloWorld1</p>
 
- <p>It is more convenient to set the CLASSPATH environment variable
- once and for all before running the examples.
- </p>
-
- <p>The <em>setClasspath.cmd</em> script located in the
- $LOGBACK_HOME/logback-examples folder will configure the class path
- for the MS Windows platform. For Unix, you can use
- <em>setClasspath.sh</em>.
- </p>
-
- <p>Please edit the script in order to adapt the <em>LB_HOME</em> variable 
- to match your local environment.</p>
-
- <p>Please be aware that many examples will launch java classes along
- with configuration files. To access these files by using the same
- commands as written in the documentation, you will need to issue the
- commands from within the <em>$LOGBACK_HOME/logback-examples</em>
- directory.
- </p>
-
- <h3>Using an IDE, e.g. Eclipse</h3>
-
- <p>You can import the logback project into Eclipse. Since logback
- uses maven as its build system, the "maven eclipse:eclipse" command
- will create the <em>.classpath</em> and <em>.project</em> files for
- Eclipse. You can then import the logback project into Eclipse in one
- or two clicks.</p>
+   <p>It is more convenient to set the CLASSPATH environment variable
+   once and for all before running the examples.
+   </p>
+
+   <p>The <em>setClasspath.cmd</em> script located in the
+   $LOGBACK_HOME/logback-examples folder will configure the class path
+   for the MS Windows platform. For Unix, you can use
+   <em>setClasspath.sh</em>.
+   </p>
+
+   <p>Please edit the script in order to adapt the <em>LB_HOME</em> variable 
+   to match your local environment.</p>
+   
+   <p>Please be aware that many examples will launch java classes
+   along with configuration files. To access these files by using the
+   same commands as written in the documentation, you will need to
+   issue the commands from within the
+   <em>$LOGBACK_HOME/logback-examples</em> directory.
+   </p>
+
+   <h3>Using an IDE, e.g. Eclipse</h3>
+   
+   <p>You can import the logback project into Eclipse. Since logback
+   uses maven as its build system, the "maven eclipse:eclipse" command
+   will create the <em>.classpath</em> and <em>.project</em> files for
+   Eclipse. You can then import the logback project into Eclipse in one
+   or two clicks.</p>
 
 	
 	
 	
-<script src="templates/footer.js"></script>
+   <script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/team.html
==============================================================================
--- logback/trunk/logback-site/src/site/pages/team.html	(original)
+++ logback/trunk/logback-site/src/site/pages/team.html	Tue Nov 11 17:54:39 2008
@@ -11,13 +11,11 @@
     
   </head>
   <body>
-    <script>
-      prefix='';	
-    </script>
+    <script type="text/javascript">prefix='';</script>
 
-    <script src="templates/header.js"></script>
+    <script src="templates/header.js" type="text/javascript"></script>
     <div id="left">
-      <script src="templates/left.js"></script>
+      <script src="templates/left.js" type="text/javascript"></script>
     </div>
     <div id="content">
       
@@ -73,7 +71,7 @@
 	
 	
 	
-<script src="templates/footer.js"></script>
+  <script src="templates/footer.js" type="text/javascript"></script>
 </div>
 </body>
 </html>

Modified: logback/trunk/logback-site/src/site/pages/templates/footer.js
==============================================================================
--- logback/trunk/logback-site/src/site/pages/templates/footer.js	(original)
+++ logback/trunk/logback-site/src/site/pages/templates/footer.js	Tue Nov 11 17:54:39 2008
@@ -1,4 +1,16 @@
 
-document.write('<p class="footer">')
-document.write('Copyright &copy; 2000-2008  <a href="http://www.qos.ch/">QOS.ch</a>')
-document.write('</p>')
\ No newline at end of file
+document.write('<table class="footer">')
+
+document.write('<tr>')
+
+document.write('  <td>')
+document.write('    <a href="http://validator.w3.org/check?uri=referer">')
+document.write('      <img align="left" src="http://www.w3.org/Icons/valid-xhtml10"') 
+document.write('           alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>')
+document.write('   </td>')
+
+document.write('<td valign="top">Copyright &copy; 2000-2008  <a href="http://www.qos.ch/">QOS.ch</a></td>')
+
+document.write('</tr>')
+document.write('</table>')
+


More information about the logback-dev mailing list