You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/12/01 00:44:43 UTC
svn commit: r885622 - in /incubator/pivot/site/trunk: www/download.xml
xsl/auxilliary.xsl xsl/project.xml xsl/project.xsl
Author: tvolkert
Date: Mon Nov 30 23:44:43 2009
New Revision: 885622
URL: http://svn.apache.org/viewvc?rev=885622&view=rev
Log:
Updates to the site download page
Modified:
incubator/pivot/site/trunk/www/download.xml
incubator/pivot/site/trunk/xsl/auxilliary.xsl
incubator/pivot/site/trunk/xsl/project.xml
incubator/pivot/site/trunk/xsl/project.xsl
Modified: incubator/pivot/site/trunk/www/download.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/www/download.xml?rev=885622&r1=885621&r2=885622&view=diff
==============================================================================
--- incubator/pivot/site/trunk/www/download.xml (original)
+++ incubator/pivot/site/trunk/www/download.xml Mon Nov 30 23:44:43 2009
@@ -16,103 +16,108 @@
limitations under the License.
-->
-<document>
-
- <properties>
- <title>Downloads</title>
- </properties>
-
- <body>
- <section name="Pivot Downloads">
- <p>Welcome to the Pivot download page. This page provides download
- links for obtaining the latest versions of all Pivot release branches, as
- well as links to the archives of older releases.
- </p>
- </section>
-
- <!-- Begin quick navigation section -->
- <section name="Quick Navigation">
- <a href="http://www.apache.org/dist/incubator/pivot/KEYS">KEYS</a> |
- <a href="#1.3">1.3</a> |
- <a href="[preferred]/incubator/pivot/">Browse</a> |
- <a href="http://archive.apache.org/dist/incubator/pivot/">Archives</a>
- </section>
- <!-- End quick navigation section -->
-
- <section name="Release Integrity">
- <p>You <strong>must</strong> verify the integrity of the downloaded files. We provide
- <code>PGP</code> signatures for every release file. This signature should be matched
- against the <a href="http://www.apache.org/dist/incubator/pivot/KEYS">KEYS</a> file containing
- the PGP keys of Pivot's Release Managers. We also provide an <code>MD5</code> checksum
- and a <code>SHA</code> checksum for every release file. After you download the file,
- you should calculate a checksum for your download and make sure it is the same as ours.
- </p>
- </section>
-
- <section name="Mirrors">
- <!-- Note: the following CGI code is sensitive to line breaks. Don't "prettify" it. -->
- <p>You are currently using <b>[preferred]</b>. If you
- encounter a problem with this mirror, please select another
- mirror. If all mirrors are failing, there are <i>backup</i>
- mirrors (at the end of the mirrors list) that should be
- available.<br/>[if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"/></a>[end]</p><p><form action="[location]" method="get" id="SelectMirror">
- Other mirrors:
- <select name="Preferred">
- [if-any http]
- [for http]<option value="[http]">[http]</option>[end]
- [end]
- [if-any ftp]
- [for ftp]<option value="[ftp]">[ftp]</option>[end]
- [end]
- [if-any backup]
- [for backup]<option value="[backup]">[backup] (backup)</option>[end]
- [end]
- </select><input type="submit" value="Change"/></form></p>
- <!-- End mirror list -->
- </section>
-
- <!-- Begin 1.3 section -->
- <section name="1.3">
- <p>
- <a name="1.3">Currently</a>, Apache Pivot 1.3 is the best available version
- (<a href="[preferred]/incubator/pivot/RELEASE-NOTES-1.3.html">release notes</a>).
- See the <a href="[preferred]/incubator/pivot/README.html">README</a>
- file for packaging information. It explains what every distribution contains.
- </p>
-
- <subsection name="Binary Distributions">
- <ul>
- <li>
- <a href="[preferred]/incubator/pivot/binaries/apache-pivot-1.3-incubating.zip">zip</a>
- (<a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.zip.asc">pgp</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.zip.md5">md5</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.zip.sha">sha</a>)
- </li>
- <li>
- <a href="[preferred]/incubator/pivot/binaries/apache-pivot-1.3-incubating.tar.gz">tar.gz</a>
- (<a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.tar.gz.asc">pgp</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.tar.gz.md5">md5</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/binaries/apache-pivot-1.3-incubating.tar.gz.sha">sha</a>)
- </li>
- </ul>
- </subsection>
-
- <subsection name="Source Code Distributions">
- <ul>
- <li>
- <a href="[preferred]/incubator/pivot/source/apache-pivot-1.3-incubating-src.tar.gz">tar.gz</a>
- (<a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.tar.gz.asc">pgp</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.tar.gz.md5">md5</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.tar.gz.sha">sha</a>)
- </li>
- <li>
- <a href="[preferred]/incubator/pivot/source/apache-pivot-1.3-incubating-src.zip">zip</a>
- (<a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.zip.asc">pgp</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.zip.md5">md5</a>,
- <a href="http://www.apache.org/dist/incubator/pivot/source/apache-pivot-1.3-incubating-src.zip.sha">sha</a>)
- </li>
- </ul>
- </subsection>
- </section>
- </body>
+<document item-group="download">
+ <properties>
+ <title>Downloads</title>
+ </properties>
+
+ <body>
+ <section name="Pivot Downloads">
+ <p>
+ Welcome to the Pivot download page. This page provides download
+ links for obtaining the latest versions of all Pivot release branches, as
+ well as links to the archives of older releases.
+ </p>
+ </section>
+
+ <section name="Quick Navigation">
+ <p>
+ <a href="{$asf}/dist/pivot/KEYS">KEYS</a> |
+ <a href="#{$release}"><release/></a> |
+ <a href="[preferred]/pivot/">Browse</a> |
+ <a href="http://archive.apache.org/dist/pivot/">Archives</a>
+ </p>
+ </section>
+
+ <section name="Release Integrity">
+ <p>
+ You must verify the integrity of the downloaded files. We provide <code>PGP</code>
+ signatures for every release file. This signature should be matched against the
+ <a href="{$asf}/dist/pivot/KEYS">KEYS</a> file containing the PGP keys of Pivot's
+ Release Managers. We also provide an <code>MD5</code> checksum and a
+ <code>SHA</code> checksum for every release file. After you download the file, you
+ should calculate a checksum for your download and make sure it is the same as ours.
+ </p>
+ </section>
+
+ <section name="Mirrors">
+ <!-- Note: the following CGI code is sensitive to line breaks. Don't "prettify" it. -->
+ <p>
+ You are currently using <b>[preferred]</b>. If you encounter a problem with this
+ mirror, please select another mirror. If all mirrors are failing, there are
+ <i>backup</i> mirrors (at the end of the mirrors list) that should be available.
+ <br/>[if-any logo]<a href="[link]"><img align="right" src="[logo]" border="0"/></a>[end]
+ </p>
+ <p>
+ <form action="[location]" method="get" id="SelectMirror">
+ Other mirrors:
+ <select name="Preferred">
+ [if-any http]
+ [for http]<option value="[http]">[http]</option>[end]
+ [end]
+ [if-any ftp]
+ [for ftp]<option value="[ftp]">[ftp]</option>[end]
+ [end]
+ [if-any backup]
+ [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+ [end]
+ </select>
+ <input type="submit" value="Change"/>
+ </form>
+ </p>
+ </section>
+
+ <section name="{$release}">
+ <p>
+ Currently, Apache Pivot <release/> is the best available version
+ (<a href="[preferred]/pivot/RELEASE-NOTES-{$release}.html">release notes</a>).
+ See the <a href="[preferred]/pivot/README.html">README</a>
+ file for packaging information. It explains what every distribution contains.
+ </p>
+
+ <subsection name="Binary Distributions">
+ <ul>
+ <li>
+ <a href="[preferred]/pivot/binaries/apache-pivot-{$release}.zip">zip</a>
+ (<a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.zip.asc">pgp</a>,
+ <a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.zip.md5">md5</a>,
+ <a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.zip.sha">sha</a>)
+ </li>
+ <li>
+ <a href="[preferred]/pivot/binaries/apache-pivot-{$release}.tar.gz">tar.gz</a>
+ (<a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.tar.gz.asc">pgp</a>,
+ <a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.tar.gz.md5">md5</a>,
+ <a href="{$asf}/dist/pivot/binaries/apache-pivot-{$release}.tar.gz.sha">sha</a>)
+ </li>
+ </ul>
+ </subsection>
+
+ <subsection name="Source Code Distributions">
+ <ul>
+ <li>
+ <a href="[preferred]/pivot/source/apache-pivot-{$release}-src.tar.gz">tar.gz</a>
+ (<a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.tar.gz.asc">pgp</a>,
+ <a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.tar.gz.md5">md5</a>,
+ <a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.tar.gz.sha">sha</a>)
+ </li>
+ <li>
+ <a href="[preferred]/pivot/source/apache-pivot-{$release}-src.zip">zip</a>
+ (<a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.zip.asc">pgp</a>,
+ <a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.zip.md5">md5</a>,
+ <a href="{$asf}/dist/pivot/source/apache-pivot-{$release}-src.zip.sha">sha</a>)
+ </li>
+ </ul>
+ </subsection>
+ </section>
+ </body>
</document>
Modified: incubator/pivot/site/trunk/xsl/auxilliary.xsl
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/xsl/auxilliary.xsl?rev=885622&r1=885621&r2=885622&view=diff
==============================================================================
--- incubator/pivot/site/trunk/xsl/auxilliary.xsl (original)
+++ incubator/pivot/site/trunk/xsl/auxilliary.xsl Mon Nov 30 23:44:43 2009
@@ -45,8 +45,18 @@
<!-- <section> translates to an anchor, a title, and nested content -->
<xsl:template match="section">
<div class="section">
- <a name="{@name}"><h2><xsl:value-of select="@name"/></h2></a>
+ <xsl:variable name="name">
+ <xsl:apply-templates select="@name">
+ <xsl:with-param name="value-only">true</xsl:with-param>
+ </xsl:apply-templates>
+ </xsl:variable>
+ <a name="{$name}"><h2><xsl:value-of select="$name"/></h2></a>
<xsl:apply-templates/>
</div>
</xsl:template>
+
+ <xsl:template match="subsection">
+ <!-- TODO -->
+ <xsl:apply-templates/>
+ </xsl:template>
</xsl:stylesheet>
Modified: incubator/pivot/site/trunk/xsl/project.xml
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/xsl/project.xml?rev=885622&r1=885621&r2=885622&view=diff
==============================================================================
--- incubator/pivot/site/trunk/xsl/project.xml (original)
+++ incubator/pivot/site/trunk/xsl/project.xml Mon Nov 30 23:44:43 2009
@@ -38,6 +38,12 @@
<item name="More Demos" href="demos/"/>
</item-group>
+ <item-group id="download" name="Download" footer="false">
+ <item name="Downloads" href="download.cgi#{$release}"/>
+ <item name="KEYS" href="{$asf}/dist/pivot/KEYS"/>
+ <item name="Archived Releases" href="http://archive.apache.org/dist/pivot/"/>
+ </item-group>
+
<item-group id="documentation" name="Documentation">
<item name="Getting Started" href="getting-started.html"/>
<item name="Tutorial" href="tutorials/"/>
Modified: incubator/pivot/site/trunk/xsl/project.xsl
URL: http://svn.apache.org/viewvc/incubator/pivot/site/trunk/xsl/project.xsl?rev=885622&r1=885621&r2=885622&view=diff
==============================================================================
--- incubator/pivot/site/trunk/xsl/project.xsl (original)
+++ incubator/pivot/site/trunk/xsl/project.xsl Mon Nov 30 23:44:43 2009
@@ -133,7 +133,7 @@
<!-- The footer site navigation -->
<xsl:template name="footer-navigation">
- <xsl:for-each select="$project/item-groups/item-group">
+ <xsl:for-each select="$project/item-groups/item-group[not(@footer='false')]">
<li>
<strong>
<xsl:apply-templates select="@name">