Update of /cvsroot/nutch/nutch/src/web/style
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16442/src/web/style

Modified Files:
        nutch-header.xsl nutch-page.xsl 
Log Message:
New skin for website, contributed by Frank Henze.

Index: nutch-header.xsl
===================================================================
RCS file: /cvsroot/nutch/nutch/src/web/style/nutch-header.xsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** nutch-header.xsl    2 Dec 2003 21:53:54 -0000       1.7
--- nutch-header.xsl    3 Feb 2004 22:06:45 -0000       1.8
***************
*** 1,34 ****
  <?xml version="1.0"?>
- 
  <!-- XSLT stylesheet that generates localized versions of the page header. -->
- 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
! 
! <xsl:template match="header-menu">
! 
! <xsl:comment>This file is automatically generated.  Do not edit!</xsl:comment>
! 
! <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>
! <td><h1><a style="color: rgb(255, 153, 0)" href="./">nutch</a></h1></td>
! <td><table cellpadding="0" cellspacing="0" border="0" width="100%">
! <tr><td align="right">
! <a href="../en/"><img src="../img/lang/english.png" alt="" border="0"/></a>
! <a href="../de/"><img src="../img/lang/german.png" alt="" border="0"/></a>
! <a href="../fi/"><img src="../img/lang/suomi.png" alt="" border="0"/></a>
! <a href="../hu/"><img src="../img/lang/hungarian.png" alt="" border="0"/></a>
! <a href="../jp/"><img src="../img/lang/japanese.png" alt="" border="0"/></a>
! <a href="../ms/"><img src="../img/lang/malaysian.png" alt="" border="0"/></a>
! <a href="../nl/"><img src="../img/lang/dutch.png" alt="" border="0"/></a>
! <a href="../zh/"><img src="../img/lang/chinese.png" alt="" border="0"/></a>
! </td></tr>
! <tr><td align="right"><small>
! <xsl:for-each select="item">
!   <xsl:copy-of select="node()"/>
!   <xsl:if test="not(position()=last())"> - </xsl:if>
! </xsl:for-each>
! </small>
! </td></tr></table>
! </td></tr></table>
! 
! </xsl:template>
  </xsl:stylesheet>
--- 1,77 ----
  <?xml version="1.0"?>
  <!-- XSLT stylesheet that generates localized versions of the page header. -->
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
!   <xsl:template match="header-menu">
!     <xsl:comment>This file is automatically generated.  Do not edit!</xsl:comment>
!     <table width="635" height="65" border="0" cellpadding="0" cellspacing="0">
!       <tr>
!         <td valign="bottom" width="140" rowspan="2">
!         <a href="./"><img src="../img/reiter/logo_nutch.gif" border="0"/></a>
!           <img src="../img/reiter/spacer_666666.gif" width="140" height="1"/>
!         </td>
! <!-- language selection -->
!         <td align="right" width="495">
!           <a href="../en/">
!             <img src="../img/lang/english.png" alt="" border="0"/>
!           </a>
!           <a href="../de/">
!             <img src="../img/lang/german.png" alt="" border="0"/>
!           </a>
!           <a href="../fi/">
!             <img src="../img/lang/suomi.png" alt="" border="0"/>
!           </a>
!           <a href="../hu/">
!             <img src="../img/lang/hungarian.png" alt="" border="0"/>
!           </a>
!           <a href="../jp/">
!             <img src="../img/lang/japanese.png" alt="" border="0"/>
!           </a>
!           <a href="../ms/">
!             <img src="../img/lang/malaysian.png" alt="" border="0"/>
!           </a>
!           <a href="../nl/">
!             <img src="../img/lang/dutch.png" alt="" border="0"/>
!           </a>
!           <a href="../zh/">
!             <img src="../img/lang/chinese.png" alt="" border="0"/>
!           </a>
!         </td>
! <!-- /language selection -->
!       </tr>
!       <tr>
!         <td width="495" valign="bottom" align="right">
!           <table border="0" cellpadding="0" cellspacing="0" width="495">
!             <tr>
!               <td background="../img/reiter/_bg_reiter.gif" width="400">
!                 <xsl:text disable-output-escaping="yes">&amp;#160;</xsl:text>
!               </td>
! <!-- menu -->
!               <xsl:for-each select="item">
!                 <td height="28" valign="bottom" width="10">
!                   <xsl:choose>
!                     <xsl:when test="position()=1">
!                       <img src="../img/reiter/reiter_inactive_le1.gif" border="0"/>
!                     </xsl:when>
!                     <xsl:otherwise>
!                       <img src="../img/reiter/reiter_inactive_le.gif" border="0"/>
!                     </xsl:otherwise>
!                   </xsl:choose>
!                 </td>
!                 <td background="../img/reiter/_bg_reiter_inactive.gif" 
valign="bottom" nowrap="nowrap">
!                   <xsl:variable name="url" select="a/@href"/>
!                   <a class="bodytext" href="{$url}">
!                     <xsl:value-of select="." disable-output-escaping="yes"/>
!                   </a>
!                 </td>
!                 <td height="28" valign="bottom" width="10">
!                   <img src="../img/reiter/reiter_inactive_ri.gif" border="0"/>
!                 </td>
!               </xsl:for-each>
! <!-- menue -->
!             </tr>
!           </table>
!         </td>
!       </tr>
!     </table>
!   </xsl:template>
  </xsl:stylesheet>

Index: nutch-page.xsl
===================================================================
RCS file: /cvsroot/nutch/nutch/src/web/style/nutch-page.xsl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** nutch-page.xsl      22 Sep 2003 17:20:10 -0000      1.8
--- nutch-page.xsl      3 Feb 2004 22:06:45 -0000       1.9
***************
*** 1,58 ****
  <?xml version="1.0"?>
- 
  <!-- XSLT stylesheet that adds Nutch style, header, and footer
    elements.  This is used by Ant to generate static html pages. -->
- 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
! <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
! 
! <xsl:template match="page">
! 
! <html>
! 
! <xsl:comment>This page is automatically generated.  Do not edit!</xsl:comment>
! 
! <head>
! 
  <!-- page title -->
! <title>Nutch: <xsl:value-of select="title"/></title>
! 
  <!-- insert style -->
! <xsl:copy-of select="document('../include/style.html')"/>
! 
! </head>
! 
! <body>
! 
  <!-- insert localized header -->
! <xsl:copy-of select="document('include/header.html')"/>
! 
! <!-- page title -->
! <xsl:if test="title">
! <h2><xsl:value-of select="title"/></h2>
! </xsl:if>
! 
! <!-- the menu -->
! <table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>
! <xsl:if test="menu">
! <td style="vertical-align: top; background-color: rgb(240, 219, 181);">
! <xsl:for-each select="menu/item">
!   <xsl:copy-of select="node()"/><br/>
! </xsl:for-each>
! </td><td width="10"></td>
! </xsl:if>
! 
! <!-- insert page body -->
! <td><xsl:copy-of select="body/node()"/></td>
! 
! </tr></table>
! 
  <!-- insert nutch footer -->
! <xsl:copy-of select="document('../include/footer.html')"/>
! 
! 
! </body>
! </html>
! </xsl:template>
! 
  </xsl:stylesheet>
--- 1,101 ----
  <?xml version="1.0"?>
  <!-- XSLT stylesheet that adds Nutch style, header, and footer
    elements.  This is used by Ant to generate static html pages. -->
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
!   <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
!   <xsl:template match="page">
!     <html>
!       <xsl:comment>This page is automatically generated.  Do not edit!</xsl:comment>
!       <head>
  <!-- page title -->
!         <title>
!           <xsl:text>Nutch: </xsl:text>
!           <xsl:value-of select="title" disable-output-escaping="yes"/>
!         </title>
  <!-- insert style -->
!         <xsl:copy-of select="document('../include/style.html')"/>
!       </head>
!       <body>
  <!-- insert localized header -->
!         <xsl:copy-of select="document('include/header.html')"/>
!         <table width="635" border="0" cellpadding="0" cellspacing="0">
!           <tr valign="top">
!             <td width="140">
!               <xsl:call-template name="subnavi"/>
!             </td>
!             <td width="20" background="../img/reiter/_spacer_cccccc.gif">
!               <xsl:text disable-output-escaping="yes">&amp;#160;</xsl:text>
!             </td>
!             <td width="475" class="body">
!               <xsl:call-template name="body"/>
!             </td>
!           </tr>
!         </table>
  <!-- insert nutch footer -->
!         <xsl:copy-of select="document('../include/footer.html')"/>
!       </body>
!     </html>
!   </xsl:template>
! <!-- included menu -->
!   <xsl:template name="subnavi">
!     <table width="100%" cellpadding="0" cellspacing="0">
!       <xsl:for-each select="menu/item">
!         <xsl:if test="not(.='')">
!           <tr class="menuTd" height="25">
!             <td class="menuTd" onmouseover="this.className='menuTdhover';" 
onmouseout="this.className='menuTd'" width="100%">
!               <xsl:text disable-output-escaping="yes">&amp;#160;:: </xsl:text>
!               <xsl:variable name="url" select="a/@href"/>
!               <a href="{$url}" class="menuEntry">
!                 <xsl:value-of select="."/>
!               </a>
!             </td>
!           </tr>
!           <tr height="1px">
!             <td>
!               <img src="../img/reiter/spacer_666666.gif" height="1" width="100%"/>
!             </td>
!           </tr>
!         </xsl:if>
!       </xsl:for-each>
!       <tr>
!         <td>
!           <xsl:text disable-output-escaping="yes">&amp;#160;</xsl:text>
!         </td>
!       </tr>
!     </table>
!   </xsl:template>
! <!-- /included menu -->
! <!-- included body -->
!   <xsl:template name="body">
!     <table width="475" border="0" cellpadding="0" cellspacing="0">
!       <tr>
!         <td class="title" height="125" width="275" valign="bottom">
!           <xsl:value-of select="title" disable-output-escaping="yes"/>
!         </td>
!         <td height="125" width="200" valign="bottom">
!           <img src="../img/reiter/robots.gif"/>
!         </td>
!       </tr>
!     </table>
!     <br class="br"/>
!     <xsl:for-each select="body/node()">
!       <xsl:choose>
! <!-- orange intro -->
!         <xsl:when test="name()='p' and position() &lt; 3">
!           <span class="intro">
!             <xsl:copy-of select="."/>
!           </span>
!         </xsl:when>
! <!-- all other text -->
!         <xsl:otherwise>
!           <span class="bodytext">
!             <xsl:copy-of select="."/>
!           </span>
!         </xsl:otherwise>
!       </xsl:choose>
!     </xsl:for-each>
!     <br class="br"/>
!     <br class="br"/>
!   </xsl:template>
! <!-- /included body -->
  </xsl:stylesheet>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nutch-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to