You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2009/01/28 20:53:54 UTC

svn commit: r738599 [14/14] - in /incubator/uima/site/trunk/uima-website: ./ docs/ docs/images/ docs/stylesheets/ docs/stylesheets2hide/ xdocs/ xdocs/stylesheets/

Modified: incubator/uima/site/trunk/uima-website/xdocs/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/incubator/uima/site/trunk/uima-website/xdocs/stylesheets/site.vsl?rev=738599&r1=738598&r2=738599&view=diff
==============================================================================
--- incubator/uima/site/trunk/uima-website/xdocs/stylesheets/site.vsl (original)
+++ incubator/uima/site/trunk/uima-website/xdocs/stylesheets/site.vsl Wed Jan 28 19:53:52 2009
@@ -1,6 +1,5 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<!--
+#*
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
@@ -17,310 +16,253 @@
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
--->
-
+*#
+#*
+   This version uses .css files for styling
+  
+   use classes in tags like this:   <someTag class="xxx" ...>
+   You can use multiple class:      <someTag class="xxx smaller" ...>
+    
+   classes used:
+  
+     sectionTable - format for subsections
+     sectionBody  - format for subsections 
+     subsectionTable - format for subsections
+     subsectionBody  - format for subsections
+     subsectionToc - format used for news items and other places wanting a subsection toc
+  
+     navBar         - for navigation bar
+     navBarItem     - for navigation bar item at any level
+     navPartHeading - for navigation bar item used as heading with no href part
+
+     pageBanner     - for top page banner
+     topLogos       - for top logos on page banner
+     pageFooter     - for bottom page footer
 
-<!-- Content Stylesheet for Site -->
+     source - for source-code block displays done with <source> tag
 
-    ## Defined variables
-    #set ($bodybg = "#ffffff")
-    #set ($bodyfg = "#000000")
-    #set ($bodylink = "#525D76")
-    #set ($pagebannerbg = "#ffffff")
-    #set ($pagebannerfg = "#625972")
-    #set ($bannerbg = "#726982")
-    #set ($bannerfg = "#ffffff")
-    #set ($subbannerbg = "#9289A2")
-    #set ($subbannerfg = "#ffffff")
-    #set ($tablethbg = "#039acc")
-    #set ($tabletdbg = "#a0ddf0")
+     smaller - add to make smaller font
     
-<!-- start the processing -->
+   start the processing  
+*#
 #document()
-<!-- end the processing -->
-
+## end the processing 
 ## This is where the macro's live
-
-#macro ( table $table)
-#if ($table.getAttributeValue("cellpadding"))
-#set ($cellpadding = $table.getAttributeValue("cellpadding"))
-#else
-#set ($cellpadding = "0")
-#end
-<table cellpadding="$!cellpadding">
-    #foreach ( $items in $table.getChildren() )
-        #if ($items.getName().equals("tr"))
-            #tr ($items)
-        #end
-    #end
-</table>
-#end
-
-#macro ( tr $tr)
-<tr>
-    #foreach ( $items in $tr.getChildren() )
-        #if ($items.getName().equals("td"))
-            #td ($items)
-        #elseif ($items.getName().equals("th"))
-            #th ($items)
-        #end
-    #end
-</tr>
-#end
-
-#macro ( td $value)
-#if ($value.getAttributeValue("colspan"))
-#set ($colspan = $value.getAttributeValue("colspan"))
-#end
-#if ($value.getAttributeValue("rowspan"))
-#set ($rowspan = $value.getAttributeValue("rowspan"))
-#end
-#if ($value.getAttributeValue("valign"))
-#set ($valign = $value.getAttributeValue("valign"))
-#else
-#set ($valign = "left")
-#end
-#if ($value.getAttributeValue("align"))
-#set ($align = $value.getAttributeValue("align"))
-#else
-#set ($align = "top")
-#end
-<td bgcolor="$tabletdbg" colspan="$!colspan" rowspan="$!rowspan" valign="$!valign" align="$!align">
-    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
-        #if ($value.getText().length() != 0 || $value.hasChildren())
-        $value.getContent()
-        #else
-        &nbsp;
-        #end
-    </font>
-</td>
-#end
-
-#macro ( th $value)
-#if ($value.getAttributeValue("colspan"))
-#set ($colspan = $value.getAttributeValue("colspan"))
-#end
-#if ($value.getAttributeValue("rowspan"))
-#set ($rowspan = $value.getAttributeValue("rowspan"))
-#end
-<th bgcolor="$tablethbg" colspan="$!colspan" rowspan="$!rowspan" valign="top" align="left">
-    <font color="#000000" size="-1" face="arial,helvetica,sanserif">
-        #if ($value.getText().length() != 0 || $value.hasChildren())
-        $value.getContent()
-        #else
-        &nbsp;
-        #end
-    </font>
-</th>
-#end
-
-#macro ( projectanchor $name $value )
-#if ($value.startsWith("http://"))
-    <a href="$value">$name</a>
-#elseif ($value.startsWith("/site"))
-    <a href="http://jakarta.apache.org$value">$name</a>
-#else
-    <a href="$relativePath$value">$name</a>
-#end
-#end
-
+##
 #macro ( metaauthor $author $email )
-            <meta name="author" value="$author">
-            <meta name="email" value="$email">
-#end
-
-#macro ( image $value )
-#if ($value.getAttributeValue("width"))
-#set ($width=$value.getAttributeValue("width"))
-#end
-#if ($value.getAttributeValue("height"))
-#set ($height=$value.getAttributeValue("height"))
-#end
-#if ($value.getAttributeValue("align"))
-#set ($align=$value.getAttributeValue("align"))
-#end
-<img src="$relativePath$value.getAttributeValue("src")" width="$!width" height="$!height" align="$!align">
+  <meta name="author" value="$author">
+  <meta name="email" value="$email">
 #end
-
+##
 #macro ( source $value)
-    <div align="left">
-    <table cellspacing="4" cellpadding="0" border="0">
-    <tr>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#ffffff"><pre>$escape.getText($value.getText())</pre></td>
-      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    <tr>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"/></td>
-    </tr>
-    </table>
-    </div>
+  <pre class="source">
+    $escape.getText($value.getText())
+  </pre>
 #end
-
+##
 #macro ( subsection $subsection)
   #if ($subsection.getAttributeValue("id"))
-    <table id="$subsection.getAttributeValue("id")" border="0" cellspacing="0" cellpadding="2" width="100%">
+    <table class="subsectionTable" id='$subsection.getAttributeValue("id")'>
   #else
-    <table border="0" cellspacing="0" cellpadding="2" width="100%">
+    <table class="subsectionTable">
   #end
-
- 
-      <tr><td bgcolor="$subbannerbg">
-        <font color="$subbannerfg" face="arial,helvetica,sanserif">
-          <a name="$subsection.getAttributeValue("name")"><strong>$subsection.getAttributeValue("name")</strong></a>
-        </font>
+      <tr><td>
+       ## <a name ... used instead of id= on the contained tag
+       ## to allow richer value for the name
+       ## see http://www.w3.org/TR/REC-html40/struct/links.html#h-12.2.1 
+          <a name="$subsection.getAttributeValue("name")">
+            <h2>$subsection.getAttributeValue("name")
+            #if ($subsection.getAttributeValue('title'))
+            &ndash; $subsection.getAttributeValue('title')
+            #end
+            </h2>
+          </a>
       </td></tr>
       <tr><td>
-        <blockquote>
-        #foreach ( $items in $subsection.getChildren() )
-            #if ($items.getName().equals("img"))
-                #image ($items)
-            #elseif ($items.getName().equals("source"))
-                #source ($items)
-            #elseif ($items.getName().equals("table"))
-                #table ($items)
+        <blockquote class="subsectionBody">
+        #foreach ( $item in $subsection.getChildren() )
+            #if ($item.getName().equals("source"))
+                #source ($item)
+            #elseif ($item.getName().equals("insertDownloads"))
+                #insertDownloads ($item)
             #else
-                $items
+                $item
             #end
         #end
         </blockquote>
-      </td></tr>
-      <tr><td><br/></td></tr>
+        </td></tr>
     </table>
 #end
-
+##
 #macro ( section $section)
+  <div class="sectionTable">
   #if ($section.getAttributeValue("id"))
-    <table id="$section.getAttributeValue("id")" border="0" cellspacing="0" cellpadding="2" width="100%">
+    <table class="sectionTable" id='$section.getAttributeValue("id")'>
   #else
-    <table border="0" cellspacing="0" cellpadding="2" width="100%">
+    <table class="sectionTable">
   #end
-      <tr><td bgcolor="$bannerbg">
-        <font color="$bannerfg" face="arial,helvetica,sanserif">
-          <a name="$section.getAttributeValue("name")"><strong>$section.getAttributeValue("name")</strong></a>
-        </font>
+      <tr><td>
+        <a name="$section.getAttributeValue("name")"><h1><img src="images/UIMA_4sq50tightCropSolid.png"/>&nbsp;$section.getAttributeValue("name")</h1></a>
       </td></tr>
       <tr><td>
-        <blockquote>
-        #foreach ( $items in $section.getChildren() )
-            #if ($items.getName().equals("img"))
-                #image ($items)
-            #elseif ($items.getName().equals("source"))
-                #source ($items)
-            #elseif ($items.getName().equals("table"))
-                #table ($items)
-            #elseif ($items.getName().equals("subsection"))
-                #subsection ($items)
+        <blockquote class="sectionBody">
+        #foreach ( $item in $section.getChildren() )
+            #if ($item.getName().equals("source"))
+                #source ($item)
+            #elseif ($item.getName().equals("subsection"))
+                #subsection ($item)
+            #elseif ($item.getName().equals("subsectionToc"))
+                #subsectionToc ($section.getChildren("subsection"))
+            #elseif ($item.getName().equals("insertDownloads"))
+                #insertDownloads ($item)
             #else
-                $items
+                $item
             #end
         #end
         </blockquote>
         </p>
       </td></tr>
-      <tr><td><br/></td></tr>
     </table>
-
 #end
-
-#macro ( makeProject )
-
-    <!-- ============================================================ -->
-
-    #set ($menus = $project.getChild("body").getChildren("menu"))
-    #foreach ( $menu in $menus )
-        <p><strong>$menu.getAttributeValue("name")</strong></p>
-        <ul>
-        #foreach ( $item in $menu.getChildren() )
-            #set ($name = $item.getAttributeValue("name"))
-            <li>#projectanchor($name $item.getAttributeValue("href"))</li>
+##
+#macro ( subsectionToc $subsections )
+  #if ($subsections.get(0).getAttributeValue("title"))
+    <table class="subsectionToc">
+      #foreach ( $item in $subsections )
+      <tr >
+      <td>$!item.getAttributeValue("date")</td>
+      <td><a href='#$item.getAttributeValue("name")'>
+        #if ($item.getAttributeValue("title"))
+          $item.getAttributeValue("title")
+        #else
+          $item.getAttributeValue("name")
+        #end
+        </a>
+      </td>
+      </tr>  
+    #end
+    </table>
+  #else
+    <ul>
+    #foreach ( $item in $subsections )
+      <li><a href='#$item.getAttributeValue("name")'>
+        #if ($item.getAttributeValue("title"))
+          $item.getAttributeValue("title")
+        #else
+          $item.getAttributeValue("name")
         #end
-        </ul>
+##        
+        #if ($item.getAttributeValue("date"))
+          &nbsp;&nbsp;<span class="smaller">$item.getAttributeValue("date")</span>
+        #end
+        </a></li>
     #end
+    </ul>
+  #end  
 #end
-
-#macro (getApacheImage)
-#if ($project.getChild("logo"))
-#set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
-<td align="left">
-#if ( $logoString.startsWith("/") )
-<a href="$project.getChild("incubator").getAttributeValue("href")"><img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
-#else
-<a href="$project.getChild("incubator").getAttributeValue("href")"><img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" border="0"/></a>
+##
+#macro ( projectanchor $name $href)
+  #if (!$href)
+    <div class="navPartHeading">$name</div>
+  #elseif ($href.startsWith("http://"))
+    <a href="$href" target="_blank">$name <img src="images/offsitelink.png"</a>
+  #else
+    <a href="$relativePath$href">$name</a>
+  #end
 #end
-</td>
+##
+#macro ( navBarParts $items )
+  <div class="navBar">
+  #foreach ($item in $items)
+    #if ($item.getAttributeValue("spacer"))
+      <br style="line-height: .5em"/>
+    #else
+      #if ($item.getChild("item"))
+      <br/>
+      #end
+      <div class="navBarItem">#projectanchor($item.getAttributeValue("name") $item.getAttributeValue("href"))
+        #foreach ($a in $item.getChildren("a"))
+          $a
+        #end
+      </div>
+    #end
+    #if ($item.getChild("item"))
+      #navBarParts($item.getChildren("item"))
+    #end
+  #end
+  </div>
 #end
+##
+#macro (getApacheImage)
+  #if ($project.getChild("logo"))
+    #set ( $logoString = $project.getChild("logo").getAttributeValue("href") )
+    #if ( $logoString.startsWith("/") )
+      <a href="$project.getChild("incubator").getAttributeValue("href")">
+        <img src="$relativePath$logoString" alt="$project.getChild("logo").getText()" border="0"/>
+      </a>
+    #else
+      <a href="$project.getChild("incubator").getAttributeValue("href")">
+        <img src="$relativePath/$logoString" alt="$project.getChild("logo").getText()" border="0"/>
+      </a>
+    #end
+  #end
 #end
-
+##
 #macro (getProjectImage)
-#if ($project.getChild("projectLogo"))
-#set ( $logoString = $project.getChild("projectLogo").getAttributeValue("href") )
-<td align="left">
-#if ( $logoString.startsWith("/") )
-<img src="$relativePath$logoString" alt="$project.getChild("projectLogo").getText()" border="0"/>
-#else
-<img src="$relativePath/$logoString" alt="$project.getChild("projectLogo").getText()" border="0"/>
-#end
-</td>
-#end
+  #if ($project.getChild("projectLogo"))
+    #set ( $logoString = $project.getChild("projectLogo").getAttributeValue("href") )
+    #if ( $logoString.startsWith("/") )
+      <img style="border: 1px solid black;" src="$relativePath$logoString" alt="$project.getChild("projectLogo").getText()" border="0"/>
+    #else
+      <img src="$relativePath/$logoString" alt="$project.getChild("projectLogo").getText()" border="0"/>
+    #end
+  #end
 #end
-
-
+##
 #macro (getBannerTitle)
-#if ( $root.getChild("properties").getChild("bannertitle") )
+  #if ( $root.getChild("properties").getChild("bannertitle") )
     #set ( $pageBanner = $root.getChild("properties").getChild("bannertitle") )
-#else
+  #else
     #set ( $pageBanner = $root.getChild("properties").getChild("title").getText() )
+  #end
+  <div class="pageBanner">$pageBanner</div>
 #end
-<td width="80%" align="center" valign="bottom" bgcolor="$pagebannerbg">
-        <font color="$pagebannerfg" size="+3" face="arial,helvetica,sanserif">
-    <b>$pageBanner</b>
-</font>
-</td>
-#end
-
+##
 #macro (printMeta $metaElement)
-<meta #set ($attribs = $metaElement.getAttributes())
-#foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
+  <meta #set ($attribs = $metaElement.getAttributes())
+  #foreach ($a in $attribs) $a.getName()="$a.getValue()" #end />
 #end
-
+##
 #macro (document)
     <!-- ====================================================================== -->
     <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! -->
-    <!-- Main Page Section -->
     <!-- ====================================================================== -->
     <html>
         <head>
             <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
-
+            <style type="text/css">@import "stylesheets/base.css";</style>
             #set ($authors = $root.getChild("properties").getChildren("author"))
             #foreach ( $au in $authors )
                 #metaauthor ( $au.getText() $au.getAttributeValue("email") )
             #end
-
+##
            #set ($metas = $root.getChildren("meta"))
-
+##
             ##    Parse meta directives such as
             ##    <meta name="keyword" content="jakarta, java"/>
             #foreach ($meta in $metas) #printMeta($meta) #end
-
+##
             ##    Support for <base> tags.
             #if ($root.getChild("properties").getChild("base"))
               #set ($url = $root.getChild("properties").getChild("base").getAttributeValue("href"))
               <base href="$url"/>
             #end
-
+##
             <title>$project.getChild("title").getText() - $root.getChild("properties").getChild("title").getText()</title>
         </head>
 
-        <body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">        
+        <body>
+          <div class="topLogos">        
             <table border="0" width="100%" cellspacing="0">
                 <!-- TOP IMAGE -->
                 <tr>
@@ -331,52 +273,176 @@
                     #getBannerTitle()
                     </td>
                     <td align='RIGHT'>
+                      <a href="index.html">
                     #getProjectImage()
+                    </a>
                     </td>
                 </tr>
             </table>
+            <hr noshade="" size="1"/>
+            </div>
             <table border="0" width="100%" cellspacing="4">
-                <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
-                </td></tr>
-
-                <tr>
-                    <!-- LEFT SIDE NAVIGATION -->
-                    <td width="20%" valign="top" nowrap="true">
-
-                    <!-- special ACon Logo - leave here for next time
-                    <a href="http://apachecon.com/2005/US/">
-                        <img src="http://apache.org/images/ac2005us_blue_125x125.jpg" height="125"
-                             width="125" border="0" alt="ApacheCon US 2005" />
-                    </a>  -->
-
+              <tr>
+                <td align='RIGHT' colspan="2">
+                  <form method="get" action="http://www.google.com/search">
+                    Search the site
+                    <input type="text"   name="q" size="25" maxlength="255" value="" />
+                    <input type="hidden" name="sitesearch" value="http://incubator.apache.org/uima" />
+                    <input name="Search" value="Search Site" type="submit"/>
+                  </form>
+                </td>
+              </tr>
+              <tr> <!-- LEFT SIDE NAVIGATION -->
+                <td width="20%" valign="top">
+##      
+##    special ACon Logo - leave here for next time                            
+##                  <a href="http://apachecon.com/2005/US/">
+##                    <img src="http://apache.org/images/ac2005us_blue_125x125.jpg" height="125"
+##                             width="125" border="0" alt="ApacheCon US 2005" />
+##                  </a>
+##
                    <!-- regular menu -->
-
-                    #makeProject()
-                    </td>
-                    <td width="80%" align="left" valign="top">
-                    #set ($allSections = $root.getChild("body").getChildren("section"))
-                    #foreach ( $section in $allSections )
-                        #section ($section)
-                    #end
-                    </td>
+##
+                    #navBarParts($project.getChild("menus").getChildren("item"))
+                </td>
+                <td width="80%" align="left" valign="top">
+                  #set ($allSections = $root.getChild("body").getChildren("section"))
+                  #foreach ( $section in $allSections )
+                    #section ($section)
+                  #end
+                </td>
                 </tr>
-
+##
                 <!-- FOOTER -->
                 <tr><td colspan="2">
-                    <hr noshade="" size="1"/>
+                  <hr noshade="" size="1"/>
                 </td></tr>
-                <tr><td colspan="2">
-                    <div align="center"><font color="$bodylink" size="-1"><em>
-                    Copyright &#169; 2006-2009, The Apache Software Foundation
-                    </em></font></div>
+                <tr><td colspan="2"> 
+                  <table class="pageFooter">
+                    <tr>
+                      <td><a href="index.html">Home</a></td>
+                      <td><a href="privacy-policy.html">Privacy Policy</a></td>
+                      <td>
+                Copyright &#169; 2006-2009, The Apache Software Foundation
+                      </td>
+                      <td><a href="mailto:uima-dev@incubator.apache.org">Contact us</a></td>
+                    </tr>
+                  </table>                    
                 </td></tr>
             </table>
         </body>
     </html>
 #end
+##
+## support for download entries
+## Put release version applicable for whole table into downloads element version attribute
+##   version="2.2.2-incubating"     will be inserted in various places
+## 
+## one or more <download...> elements - one per item (will have releasenotes, binaries, source)
+##   name attribute is 1st column - plain English
+##   subdirectory - is dir under which things (except release notes?) are found
+##     is subdir of binaries and source
+##
+##  <releasenotes  - these are usually at the top level, but sometimes not.
+##                   if not, include the path from the top
+##    filename="full file name" at top part, except for file type.
+##       file types indicated using <kind>txt</kind>, <kind>html</kind>
+##       if not txt or html, 
+##         the kind value is the title to display, and the filename has to include the file type.
+##       if file not store at the top, include the path part after ...dist/incubator/uima
+##
+##  <binary  filename="..."> as above (no file type).
+##    file types indicated using <f>txt</f>, <f>html</f> <f>zip</f> <f>tgz</f> etc.
+##    if platform dependent, use <f platform="..."></f>
+##  
+##
+#macro (insertDownloads  $insertVersionInfo)
+  #set ($version = $insertVersionInfo.getAttributeValue("version"))
+##
+  #set ($allDownloads = $project.getChildren("downloads"))
+  #foreach ($potentialDownloads in $allDownloads)
+    <!-- potentialDownloads version attr = $potentialDownloads.getAttributeValue("version") $version -->
+    #if ($potentialDownloads.getAttributeValue("version").equals($version))
+      #insertDownload2 ($potentialDownloads)
+    #end
+  #end
+#end
+##
+#macro (insertDownload2 $downloads)
+  #set ( $drmirror = "[preferred]/incubator/uima")
+  #set ( $dr =  "http://www.apache.org/dist/incubator/uima")
+  <table class="downloads">
+    <tr>
+      <th>Artifact</th>
+      <th>Release <br/> Notes</th>
+      <th>Binary</th>
+      <th>Source</th>
+    </tr>
+##    
+    #foreach ( $download in $downloads.getChildren("download"))
+      #set ($subdirectory = $download.getAttributeValue("subdirectory"))
+##      
+      #set ($releasenotes = $download.getChild("releasenotes"))
+      #set ($releasenotestitle = 'no title')
+      #if ($releasenotes.getAttributeValue("title"))
+        #set ($releasenotestitle = $releasenotes.getAttributeValue("title"))
+      #end
+##        
+      <tr>
+        <td class="downloadtitle"><h3 class="downloadartifact">
+          #if ($releasenotes.getChild("f"))
+            <a href="$dr/$releasenotes.getAttributeValue("filename").$releasenotes.getChild("f").getText()">
+              $download.getAttributeValue("name")</a></h3></td>
+          #else
+            <a href="$dr/$releasenotes.getAttributeValue("filename")">
+              $download.getAttributeValue("name")</a></h3></td>         
+          #end
+##        
+        <td>
+          #if ($releasenotes.getChild("f"))
+            #foreach ($suffix in $releasenotes.getChildren("f"))
+              <div class="htmltxt"><a href='$dr/$releasenotes.getAttributeValue("filename").$suffix.getText()'>$suffix.getText()</a></div>
+            #end
+          #else
+            #if ($releasenotestitle.equals('no title'))
+              #set ($releasenotestitle = "Release Notes")
+            #end
+            <a href='$dr/$releasenotes.getAttributeValue("filename")'>$releasenotestitle</a>
+          #end    
+        </td>
+        <td>
+        #foreach ($binary in $download.getChildren("binary"))
+          #suffixes ('binaries' $binary $subdirectory)
+        #end
+        </td>
+        #set ($source = $download.getChild("source"))
+        <td>
+        #if ($source.getChild("f"))
+          #suffixes ('source' $source $subdirectory)
+        #else
+          $source
+        #end
+        </td>
+      </tr>
+    #end 
+##    
+  </table>  
+#end
 
-
-
-
-
+#macro ( suffixes $dir $item $subdirectory)
+  <table class="downloadentries">
+  #foreach ($suffix in $item.getChildren("f"))
+    #set ($ft = $suffix.getText())
+    #set ($filename = $item.getAttributeValue("filename"))
+    <tr>
+     <td><a href='$drmirror/$dir/$subdirectory/${filename}.$ft'>$ft</a></td>
+     <td>[<a href='$dr/$dir/$subdirectory/$filename.${ft}.asc'>asc</a>]</td>
+     <td>[<a href='$dr/$dir/$subdirectory/$filename.${ft}.md5'>md5</a>]</td>
+     <td>[<a href='$dr/$dir/$subdirectory/$filename.${ft}.sha1'>sha1</a>]</td>
+     #if ($suffix.getAttributeValue("platform"))
+       <td>$suffix.getAttributeValue("platform")</td>
+     #end
+    </tr>
+  #end
+  </table>
+#end

Modified: incubator/uima/site/trunk/uima-website/xdocs/team-list.xml
URL: http://svn.apache.org/viewvc/incubator/uima/site/trunk/uima-website/xdocs/team-list.xml?rev=738599&r1=738598&r2=738599&view=diff
==============================================================================
--- incubator/uima/site/trunk/uima-website/xdocs/team-list.xml (original)
+++ incubator/uima/site/trunk/uima-website/xdocs/team-list.xml Wed Jan 28 19:53:52 2009
@@ -36,7 +36,9 @@
   <table>
 <!-- <tr><th>Name</th></tr> -->
 <tr><td>Michael Baessler</td></tr>
+<tr><td>Jaroslaw Cwiklik</td></tr>
 <tr><td>Edward Epstein</td></tr>
+<tr><td>Tong Fin</td></tr>
 <tr><td><a href="http://people.apache.org/~twgoetz">Thilo Goetz</a></td></tr>
 <tr><td>Joern Kottmann</td></tr>
 <tr><td>Adam Lally</td></tr>

Added: incubator/uima/site/trunk/uima-website/xdocs/toolsServers.xml
URL: http://svn.apache.org/viewvc/incubator/uima/site/trunk/uima-website/xdocs/toolsServers.xml?rev=738599&view=auto
==============================================================================
--- incubator/uima/site/trunk/uima-website/xdocs/toolsServers.xml (added)
+++ incubator/uima/site/trunk/uima-website/xdocs/toolsServers.xml Wed Jan 28 19:53:52 2009
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<document>
+
+<properties>
+<title>Apache UIMA Tools and Servers</title>
+<author email="uima-dev@incubator.apache.org">
+ UIMA Documentation Team</author>
+</properties>
+
+<body>
+
+<section name="UIMA Tools and Servers">
+
+<p>
+There are some tools, add-ons, and servers which are separably 
+<a href="downloads.cgi">downloadable</a>; this page describes those components.
+</p>
+
+
+
+      <ul>
+        <li><a href="#CAS Editor">CAS Editor</a></li>
+	    	<li><a href="#pear.package.task">PEAR Packaging ANT Task</a></li>
+        <li><a href="#pear.maven.task">PEAR Packaging Maven Plugin</a></li>
+        <li><a href="#fs.variables">Feature Structure Variables</a></li>
+        <li><a href="#simple-server">Simple Server (UIMA REST service)</a></li>
+      </ul>
+
+<p>Each of these components is described in more detail below.</p>
+
+    <subsection name="CAS Editor">
+        <p>
+        The Cas Editor is an annotation tool which supports manual and automatic
+          annotation of CAS files. The CAS Editor can visualize and edit
+          all feature structures, annotations can be viewed and edited directly
+          on text. Currently, only text based CASes are supported. 
+          The Java source of the CAS Editor can be accessed in the SVN repository at 
+          <a class="external" href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/CasEditor">
+          http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/CasEditor</a>. 
+        </p>    
+    </subsection>
+
+
+	<subsection name='PEAR Packaging ANT Task' id="pear.package.task">
+		<p>
+		  The PEAR packaging ANT task component is a project to create UIMA PEAR packages automatically 
+		  during a component build using a custom 
+		  <a class="external" href="http://ant.apache.org/">Apache ANT</a> task. With this task, 
+		  users are able to build their components from the source and then package them 
+		  automatically as UIMA PEAR package. <a href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingAntTask/doc/pdf/PearPackagingAntTaskUserGuide.pdf">
+		  Click here to access the user documentation</a> for the PEAR packaging ANT task.
+		  The Java source of the PEAR packaging task can be accessed in the SVN repository at 
+		  <a class="external" href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingAntTask">
+		  http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingAntTask</a>. 
+		</p>
+	</subsection>
+ 
+
+	<subsection name='PEAR Packaging Maven Plugin' id="pear.maven.task">
+		<p>
+		  The PEAR packaging Maven plugin component is a project to create UIMA PEAR packages automatically 
+		  during a component build using a custom Maven plugin.
+		  With this plugin, users are able to build their components from the source and then package them 
+		  automatically as UIMA PEAR package. 
+		  <a href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingMavenPlugin/doc/pdf/PearPackagingMavenPluginUserGuide.pdf">
+		  Click here to access the user documentation</a> of the PEAR packaging Maven plugin.
+		  The Java source of the PEAR packaging Maven plugin can be accessed in the SVN repository at 
+		  <a class="external" href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingMavenPlugin">
+		  http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/PearPackagingMavenPlugin</a>. 
+		</p>
+	</subsection>
+
+\
+	<subsection name='Feature Structure Variables' id="fs.variables">
+		<p>
+		  The Feature Structure variables project allows you to create named feature structure instances.
+		  It further allows you to refer to individual feature structures or annotations across annotators, 
+		  without creating a special index.
+		  The Java source of the project can be accessed in the SVN repository at 
+		  <a class="external" href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/FsVariables">
+		  http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/FsVariables</a>.
+		</p>	
+	</subsection>
+
+
+	<subsection name='Simple Server (UIMA REST Service)'
+		id="simple-server">
+		<p>
+			The UIMA Simple Server makes results of UIMA processing
+			available in a simple, XML-based format. The intended use of
+			the the Simple Server is to provide UIMA analysis as a REST
+			service. The Simple Server is implemented as a Java Servlet,
+			and can be deployed into any Servlet container (such as
+			Apache Tomcat or Jetty).  <a href="downloads/sandbox/simple-server/simpleServerUserGuide.html">
+			Click here to access the user documentation</a> of the Simple Server.
+		</p>
+		<p>
+			The Java source of the annotator can be accessed from the
+			SVN repository at
+			<a class="external"
+				href="http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/SimpleServer">
+				http://svn.apache.org/repos/asf/incubator/uima/sandbox/trunk/SimpleServer
+			</a>.
+		</p> 
+	</subsection>
+
+</section>
+
+</body>
+</document>
+