jakarta-site-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r151663 - jakarta/site/xdocs/downloads/download-pages.xsl jakarta/site/xdocs/downloads/downloads.xml
Date Mon, 07 Feb 2005 02:10:18 GMT
Author: bayard
Date: Sun Feb  6 18:10:17 2005
New Revision: 151663

URL: http://svn.apache.org/viewcvs?view=rev&rev=151663
Log:
added attributes to download that let you turn off md5 and pgp

Modified:
    jakarta/site/xdocs/downloads/download-pages.xsl
    jakarta/site/xdocs/downloads/downloads.xml

Modified: jakarta/site/xdocs/downloads/download-pages.xsl
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/download-pages.xsl?view=diff&r1=151662&r2=151663
==============================================================================
--- jakarta/site/xdocs/downloads/download-pages.xsl (original)
+++ jakarta/site/xdocs/downloads/download-pages.xsl Sun Feb  6 18:10:17 2005
@@ -120,7 +120,13 @@
     <xsl:param name="primary"/>
     <xsl:variable name="href"><xsl:value-of select="@href"/></xsl:variable>
     <li class="download">
-      <a href="[preferred]/{$href}"><xsl:value-of select="@name"/></a>
[<a href="{$primary}{$href}.md5">md5</a>] [<a href="{$primary}{$href}.asc">PGP</a>]
+      <a href="[preferred]/{$href}"><xsl:value-of select="@name"/></a>

+      <xsl:if test="not(@md5 and @md5 = 'false')">
+        [<a href="{$primary}{$href}.md5">md5</a>] 
+      </xsl:if>
+      <xsl:if test="not(@pgp and @pgp = 'false')">
+        [<a href="{$primary}{$href}.asc">PGP</a>]
+      </xsl:if>
     </li>
   </xsl:template>
 

Modified: jakarta/site/xdocs/downloads/downloads.xml
URL: http://svn.apache.org/viewcvs/jakarta/site/xdocs/downloads/downloads.xml?view=diff&r1=151662&r2=151663
==============================================================================
--- jakarta/site/xdocs/downloads/downloads.xml (original)
+++ jakarta/site/xdocs/downloads/downloads.xml Sun Feb  6 18:10:17 2005
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <project-downloads title="Jakarta Downloads">
 
-    <!-- TODO: pgp and md5 attrs available on download, usually they just default to href+".asc"
and href+".md5" -->
     <!-- TODO: <downloads dir="bcel" would add a piece of text saying that the bcel
downloads are available from... -->
     <!-- TODO: <link> instead of <download> to imply a link to another page
-->
 
@@ -15,12 +14,12 @@
     <project id="bsf" name="BSF" href="http://jakarta.apache.org/bsf/">
       <downloads primary="http://cvs.apache.org/dist/" mirrored="false">
           <group label="Binary">
-              <download name="2.3.0.tar.gz" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.tar.gz"/>
-              <download name="2.3.0.zip" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.zip"/>
+              <download name="2.3.0.tar.gz" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.tar.gz"
md5="false" pgp="false"/>
+              <download name="2.3.0.zip" href="jakarta/bsf/v2.3.0rc1/bin/bsf-bin-2.3.0.zip"
md5="false" pgp="false"/>
           </group>
           <group label="Source">
-              <download name="2.3.0.tar.gz" href="jakarta/bsf/v2.3.0rc1/src/bsf-src-2.3.0.tar.gz"/>
-              <download name="2.3.0.zip" href="jakarta/bsf/v2.3.0rc1/src/bsf-src-2.3.0.zip"/>
+              <download name="2.3.0.tar.gz" href="jakarta/bsf/v2.3.0rc1/src/bsf-src-2.3.0.tar.gz"
md5="false" pgp="false"/>
+              <download name="2.3.0.zip" href="jakarta/bsf/v2.3.0rc1/src/bsf-src-2.3.0.zip"
md5="false" pgp="false"/>
           </group>
       </downloads>
     </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: site-cvs-help@jakarta.apache.org


Mime
View raw message