Author: dylan
Date: 2005-01-07 17:51:46 -0500 (Fri, 07 Jan 2005)
New Revision: 539

Added:
   trunk/web/bin/validator.sh
Removed:
   trunk/web/findvalidator.sh
Modified:
   trunk/web/Makefile
   trunk/web/clients/index.thtml
   trunk/web/clients/javer/index.thtml
Log:
new validator thing.


Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile  2005-01-07 22:44:06 UTC (rev 538)
+++ trunk/web/Makefile  2005-01-07 22:51:46 UTC (rev 539)
@@ -19,7 +19,7 @@
 FIX      = ./bin/fixhtml
 RSYNC    = rsync
 TIDY     = tidy
-VALIDATE = $(shell sh findvalidator.sh)
+VALIDATE = ./bin/validate.sh
 TAR      = tar
 SFUSER   = $(shell cat ~/.sfuser)
 

Copied: trunk/web/bin/validator.sh (from rev 538, trunk/web/findvalidator.sh)
===================================================================
--- trunk/web/findvalidator.sh  2005-01-07 22:44:06 UTC (rev 538)
+++ trunk/web/bin/validator.sh  2005-01-07 22:51:46 UTC (rev 539)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+
+if which validator &>/dev/null; then
+    validator $*
+elif which xmllint &>/dev/null; then
+    xmllint --valid --noout $*
+fi

Modified: trunk/web/clients/index.thtml
===================================================================
--- trunk/web/clients/index.thtml       2005-01-07 22:44:06 UTC (rev 538)
+++ trunk/web/clients/index.thtml       2005-01-07 22:51:46 UTC (rev 539)
@@ -6,12 +6,22 @@
 [% WRAPPER "page" %]
 
 <p>
-       There are three clients available currently,
+    There are three clients available currently:
+</p>
+<ol>
+    <li>
     <a href="javer">Javer</a>, developed by
-       <a href="https://gna.org/users/bdonlan/";>Bryan Donlan</a>,
-       <a href="havernet/">HaverNet</a>, developed by <a 
href="https://gna.org/users/elasticmuffin/";>Muffin</a>,
-    and an unnamed client using Term::Visual, developed by
+    <a href="https://gna.org/users/bdonlan/";>Bryan Donlan</a>.
+    </li>
+
+    <li>
+    <a href="havernet/">HaverNet</a>, developed by 
+    <a href="https://gna.org/users/elasticmuffin/";>Muffin</a>.
+    </li>
+
+    <li>An unnamed client using Term::Visual, developed by
     <a href="https://gna.org/users/nornagon";>Nornagon</a>.
-</p>
+    </li>
+</ol>
 
 [% END %]

Modified: trunk/web/clients/javer/index.thtml
===================================================================
--- trunk/web/clients/javer/index.thtml 2005-01-07 22:44:06 UTC (rev 538)
+++ trunk/web/clients/javer/index.thtml 2005-01-07 22:51:46 UTC (rev 539)
@@ -9,26 +9,17 @@
 <p>
        Javer is a Java haver client which can run either as an applet or a
        standalone Java application. Features a library for building Haver
-       clients in Java, and tab support. Javer can be accessed on the web at
-       <a 
href="http://odin.haverdev.org/~bdonlan/javer.html";>http://odin.haverdev.org/~bdonlan/javer.html</a>
+    clients in Java, and tab support. Javer can be accessed
+    <a href="http://odin.haverdev.org/~bdonlan/javer.html";>on the web as an 
applet</a>.
 </p>
 
+[% here = '/clients/javer' %]
+
 <h2>Screenshots</h2>
-<dl>
-[%
-   here = 'clients/javer';
-   USE dir = Directory("$here/");
-       info = YAML.undumpfile("$here/imginfo.yml");
-FOREACH image IN dir.files;
-NEXT UNLESS image.name.match('\.(png|jpg)$');
-image = image.name;
-i = info.item(image);
-caption = i.caption || "No caption";
-alt     = i.alt     || "$image";
-%]
-<dt>[% caption %]</dt>
-<dd><a href="$image">$alt</a></dd>
-[% END %]
-</dl>
+<ul>
+    <li><a href="$here/javer-1.png">Logging in</a></li> 
+    <li><a href="$here/javer-2.png">Talking in the lobby</a></li>
+    <li><a href="$here/javer-3.png">Query windows</a></li>
+</ul>
 
 [% END %]

Deleted: trunk/web/findvalidator.sh
===================================================================
--- trunk/web/findvalidator.sh  2005-01-07 22:44:06 UTC (rev 538)
+++ trunk/web/findvalidator.sh  2005-01-07 22:51:46 UTC (rev 539)
@@ -1,6 +0,0 @@
-#!/bin/sh
-which validator 2>/dev/null && exit 0
-if which xmllint &>/dev/null; then
-  which xmllint | tr -d "\n"
-  echo " --valid --noout"
-fi


Reply via email to