- drop announcements/newsflash in favor of pointing to svn/freshports
- update information on installation, and include pkg install instructions - shift java/linux-sun-jdk16 java/linux-sun-jdk17 for oracle jdk - update release information - drop links as these are very old and java@ would rather bring back with more relevant content Reviewed by: glewis@ (java) Approved by: wblock (mentor)
This commit is contained in:
parent
31d08ba8b6
commit
d104b86a5d
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43646
10 changed files with 23 additions and 2019 deletions
en_US.ISO8859-1/htdocs/java
|
@ -12,12 +12,7 @@ SUBDIR = dists
|
|||
DOCS+= howhelp.xml
|
||||
DOCS+= index.xml
|
||||
DOCS+= install.xml
|
||||
DOCS+= links.xml
|
||||
|
||||
DATA= j2j.gif
|
||||
|
||||
XML.DEFAULT= news.xml
|
||||
XMLDOCS= newsflash
|
||||
XMLDOCS+= news:java-rss.xsl::rss.xml
|
||||
|
||||
.include "${DOC_PREFIX}/share/mk/web.site.mk"
|
||||
|
|
|
@ -13,115 +13,10 @@
|
|||
<body class="navinclude.developers">
|
||||
|
||||
<p>
|
||||
<b>May 09, 2012:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 25.
|
||||
&openjdk; 6 is frequently updated, and it is suggested to refer to a
|
||||
<a href="http://svnweb.freebsd.org/ports/head/java/openjdk6/Makefile?view=log">revision log</a> for
|
||||
detailed release history. Additionally, one may choose to review more information at
|
||||
<a href="http://www.freshports.org/java/openjdk6">FreshPorts</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>November 30, 2011:</b> <a href="mailto:jkim@FreeBSD.org">Jung-uk
|
||||
Kim</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 24.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>August 9, 2011:</b> <a href="mailto:jkim@FreeBSD.org">Jung-uk
|
||||
Kim</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 23.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>March 1, 2011:</b> <a href="mailto:jkim@FreeBSD.org">Jung-uk
|
||||
Kim</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 22.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>February 9, 2011:</b> <a href="mailto:jkim@FreeBSD.org">Jung-uk
|
||||
Kim</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 21.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>July 10, 2010:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> updates the <a href="http://openjdk.java.net/">&openjdk;</a> 6 port
|
||||
to Build 20.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>May 17, 2010:</b> <a href="mailto:lev@FreeBSD.org">Lev A.
|
||||
Serebryakov</a>'s update to Build 19 of the
|
||||
<a href="http://openjdk.java.net/">&openjdk;</a> 6 port is committed.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>January 16, 2010:</b> <a href="mailto:openjdk@getsnappy.com">Brian
|
||||
Gardner</a>'s update to Build 17 of the
|
||||
<a href="http://openjdk.java.net/">&openjdk;</a> 6 port is committed.
|
||||
This update adds support for building a 'fastdebug' version of
|
||||
<a href="http://openjdk.java.net/">&openjdk;</a> 6, updates the cacerts
|
||||
file and fixes font rendering.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>May 5, 2009:</b> <a href="mailto:openjdk@getsnappy.com">Brian
|
||||
Gardner</a>'s update to Build 16 of the
|
||||
<a href="http://openjdk.java.net/">&openjdk;</a> 6 port is committed.
|
||||
This update also fixes a problem with the port using the HotSpot JVM
|
||||
from the bootstrap JDK rather building and installing it's version of HotSpot.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>February 23, 2009:</b> <a href="mailto:openjdk@getsnappy.com">Brian
|
||||
Gardner</a>'s port of <a href="http://openjdk.java.net/">&openjdk;</a> 6 is
|
||||
committed to the &os; Ports Collection.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>February 6, 2009:</b> <a href="mailto:openjdk@getsnappy.com">Brian
|
||||
Gardner</a> has announced a port of
|
||||
<a href="http://openjdk.java.net/">&openjdk;</a> 6 to &os; 7.0. The patch
|
||||
can be found at
|
||||
<a href="http://beta.experts-exchange.com/articles/OS/Unix/BSD/Patch-for-OpenJDK6-on-BSD.html">http://beta.experts-exchange.com/articles/OS/Unix/BSD/Patch-for-OpenJDK6-on-BSD.html</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>February 14, 2008:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> has released the fourth patchset (patchlevel 4, "Mach 1")
|
||||
for the &jdk; 1.6.0 software. This release now supports MacOS X
|
||||
Leopard and NetBSD/amd64. Information on downloading the patchset can be
|
||||
found at
|
||||
<a href="http://www.eyesbeyond.com/freebsddom/java/jdk16.html">http://www.eyesbeyond.com/freebsddom/java/jdk16.html</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>November 15, 2007:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> has released the third patchset (patchlevel 3, "Boss 302")
|
||||
for the &jdk; 1.6.0 software. The main update in this patchset
|
||||
is to move the source code base to 1.6.0 Update 3. Information on
|
||||
downloading the patchset can be found at
|
||||
<a href="http://www.eyesbeyond.com/freebsddom/java/jdk16.html">http://www.eyesbeyond.com/freebsddom/java/jdk16.html</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>October 28, 2007:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> has released the second patchset (patchlevel 2, "Mestengo")
|
||||
for the &jdk; 1.6.0 software. This release adds support for
|
||||
NetBSD/i386 and is the first version of the JDK to support the browser
|
||||
plugin on the amd64 architecture that I am aware of. In addition, the
|
||||
source code base has been updated to 1.6.0 Update 2. Information
|
||||
on downloading the patchset can be found at
|
||||
<a href="http://www.eyesbeyond.com/freebsddom/java/jdk16.html">http://www.eyesbeyond.com/freebsddom/java/jdk16.html</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>August 2, 2007:</b> <a href="mailto:glewis@FreeBSD.org">Greg
|
||||
Lewis</a> has released the first patchset (patchlevel 1, "Brumby")
|
||||
for the &jdk; 1.6.0 software. This first release supports both
|
||||
&os; and OpenBSD on the i386 and amd64 architectures. Information
|
||||
on downloading the patchset can be found at
|
||||
<a href="http://www.eyesbeyond.com/freebsddom/java/jdk16.html">http://www.eyesbeyond.com/freebsddom/java/jdk16.html</a>.
|
||||
</p>
|
||||
|
||||
</body></html>
|
||||
|
||||
</body> </html>
|
||||
|
|
|
@ -13,9 +13,10 @@
|
|||
<body class="navinclude.developers">
|
||||
|
||||
<p>
|
||||
<b>June 26, 2011:</b> <a href="mailto:glewis@FreeBSD.org">Greg Lewis</a>
|
||||
updates the <a href="http://openjdk.java.net/">&openjdk;</a> 7 port
|
||||
to Build 147. This corresponds to the initial FCS release of &jdk; 7.
|
||||
&openjdk; 7 is frequently updated, and it is suggested to refer to a
|
||||
<a href="http://svnweb.freebsd.org/ports/head/java/openjdk7/Makefile?view=log">revision log</a> for
|
||||
detailed release history. Additionally, one may choose to review more information at
|
||||
<a href="http://www.freshports.org/java/openjdk7">FreshPorts</a>.
|
||||
</p>
|
||||
|
||||
</body></html>
|
||||
|
|
|
@ -28,11 +28,11 @@ This is the official port of Sun's &java; Development Kit for FreeBSD. No known
|
|||
|
||||
<h3>&jdk; 1.6.x</h3>
|
||||
<p><a href="16.html">JDK 1.6</a> support is available. Currently supported
|
||||
versions are FreeBSD 6.2 and later (for i386 and amd64 architectures).</p>
|
||||
versions are FreeBSD 8.4 and later (for i386 and amd64 architectures).</p>
|
||||
|
||||
<h3>&jdk; 1.7.x</h3>
|
||||
<p><a href="17.html">JDK 1.7</a> support is available. Currently supported
|
||||
versions are FreeBSD 7.0 and later (for i386 and amd64 architectures).</p>
|
||||
versions are FreeBSD 8.4 and later (for i386 and amd64 architectures).</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
installed by building from sources using the FreeBSD Ports Collection
|
||||
(<code>openjdk6</code> and <code>openjdk7</code>, respectively) and
|
||||
are also distributed as a prebuilt binary package via the FreeBSD mirrors
|
||||
and can be installed directly using <code>pkg_add(1)</code>.</p>
|
||||
and can be installed directly using <code>pkg(8)</code>.</p>
|
||||
|
||||
<p>&openjdk; is the recommended &java; implementation on FreeBSD.
|
||||
The FreeBSD Foundation is no longer providing supported &java; &jdk; and
|
||||
|
@ -35,12 +35,6 @@
|
|||
<a href="http://www.FreeBSDFoundation.org/java">FreeBSD
|
||||
Foundation &java; Downloads</a> page.</p>
|
||||
|
||||
<h2>News</h2>
|
||||
|
||||
<ul>
|
||||
<li><a href="newsflash.html">Announcements</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>Software</h2>
|
||||
|
||||
<ul>
|
||||
|
@ -57,7 +51,6 @@
|
|||
|
||||
<ul>
|
||||
<li><a href="&url.books;/porters-handbook/using-java.html">Creating Ports</a></li>
|
||||
<li><a href="links.html">Links</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -17,6 +17,16 @@ different Java Development Kits:</p>
|
|||
|
||||
<h3><a name="openjdk">OpenJDK on FreeBSD</a></h3>
|
||||
|
||||
<p>To install &openjdk; 6 package use the pkg(8) utility:</p>
|
||||
|
||||
<p><code>pkg install openjdk6
|
||||
</code></p>
|
||||
|
||||
<p>More information on using pkg(8) is available in the
|
||||
<a href="../doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">
|
||||
FreeBSD Handbook</a>.
|
||||
</p>
|
||||
|
||||
<p>This is a native port of OpenJDK to FreeBSD.</p>
|
||||
|
||||
<p><code>cd /usr/ports/java/openjdk6
|
||||
|
@ -27,7 +37,7 @@ different Java Development Kits:</p>
|
|||
|
||||
<p>This port installs the Java Development Kit from Oracle which was built for Linux. It will run under FreeBSD using the Linux compatibility.</p>
|
||||
|
||||
<p><code>cd /usr/ports/java/linux-sun-jdk16
|
||||
<p><code>cd /usr/ports/java/linux-sun-jdk17
|
||||
<br/>make install clean
|
||||
</code></p>
|
||||
|
||||
|
|
|
@ -1,98 +0,0 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd">
|
||||
<!-- $FreeBSD$ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
|
||||
exclude-result-prefixes="cvs">
|
||||
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/>
|
||||
|
||||
<xsl:output method="xml" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<xsl:call-template name="rss-java-news-title" />
|
||||
<xsl:call-template name="rss-java-news-items" />
|
||||
</channel>
|
||||
</rss>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "rss-java-news-title"
|
||||
pulls in the 10 most recent java news items -->
|
||||
|
||||
<xsl:template name="rss-java-news-title"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
|
||||
<xsl:variable name="title">FreeBSD Java Project News</xsl:variable>
|
||||
<xsl:variable name="link">http://www.FreeBSD.org/java/</xsl:variable>
|
||||
|
||||
<title><xsl:value-of select="$title" /></title>
|
||||
<link><xsl:value-of select="$link" /></link>
|
||||
<description>Java newsflash items from the FreeBSD Project</description>
|
||||
<language>en-us</language>
|
||||
<webMaster>freebsd-java@FreeBSD.org (FreeBSD Java Team)</webMaster>
|
||||
<managingEditor>freebsd-java@FreeBSD.org (FreeBSD Java Team)</managingEditor>
|
||||
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
|
||||
<ttl>120</ttl>
|
||||
<image>
|
||||
<url>http://www.FreeBSD.org/logo/logo-full.png</url>
|
||||
<title><xsl:value-of select="$title" /></title>
|
||||
<link><xsl:value-of select="$link" /></link>
|
||||
</image>
|
||||
<atom:link rel="self" type="application/rss+xml">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="$link" /><xsl:text>rss.xml</xsl:text>
|
||||
</xsl:attribute>
|
||||
</atom:link>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "rss-java-news-items"
|
||||
pulls in the 10 most recent security advisories -->
|
||||
|
||||
<xsl:template name="rss-java-news-items"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
|
||||
<xsl:for-each select="descendant::event[position() <= 10]">
|
||||
<xsl:variable name="guid"><xsl:call-template name="generate-event-anchor"/></xsl:variable>
|
||||
|
||||
<xsl:variable name="month"><xsl:call-template name="generate-month-num"><xsl:with-param name="month" select="../../name"/></xsl:call-template></xsl:variable>
|
||||
<item>
|
||||
<title>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(child::title)">
|
||||
<xsl:value-of select="title"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:copy-of select="p"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</title>
|
||||
|
||||
<xsl:if test="count(child::title)">
|
||||
<description>
|
||||
<xsl:apply-templates select="p"/>
|
||||
</description>
|
||||
</xsl:if>
|
||||
|
||||
<link>http://www.FreeBSD.org/java/newsflash.html#<xsl:value-of select="$guid" /></link>
|
||||
<guid>http://www.FreeBSD.org/java/newsflash.html#<xsl:value-of select="$guid" /></guid>
|
||||
|
||||
<pubDate>
|
||||
<xsl:call-template name="misc-format-date-string">
|
||||
<xsl:with-param name="year" select="../../../name" />
|
||||
<xsl:with-param name="month" select="$month" />
|
||||
<xsl:with-param name="day" select="../name" />
|
||||
<xsl:with-param name="date-format" select="$param-l10n-date-format-rfc822" />
|
||||
</xsl:call-template>
|
||||
</pubDate>
|
||||
|
||||
</item>
|
||||
|
||||
</xsl:for-each>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
|
@ -1,86 +0,0 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
|
||||
"http://www.FreeBSD.org/XML/share/xml/xhtml10-freebsd.dtd" [
|
||||
<!ENTITY title "FreeBSD &java; Project: Useful Links">
|
||||
]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>&title;</title>
|
||||
|
||||
<cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
|
||||
</head>
|
||||
|
||||
<body class="navinclude.developers">
|
||||
|
||||
<p>Included below are links to some links that may be helpful when using Java with &os;. It is not intended to be a comprehensive list.</p>
|
||||
|
||||
<ul>
|
||||
<li>IDEs
|
||||
<ul>
|
||||
<li><a href="http://www7b.software.ibm.com/wsdd/zones/vajava/">Visual Age for Java - Professional</a></li>
|
||||
<li><a href="http://www.jedit.org">jEdit</a> <br/>
|
||||
jEdit is a programmer's text editor written in Java with Swing and allows for plug-ins.</li>
|
||||
<li> <a href="http://www.netbeans.org/">NetBeans</a><br/>
|
||||
New IDE written completely in java, different versions available,
|
||||
free and commercial ones. Now part Sun Microsystems.</li>
|
||||
<li><a href="http://www.eclipse.org/">Eclipse</a><br/>
|
||||
An open extensible IDE for anything and nothing in particular.</li>
|
||||
<li><a href="http://www.jetbrains.com/idea">IDEA</a><br/>
|
||||
IDEA is a commercial Java IDE with extensive refactoring support.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>JDBC
|
||||
<ul>
|
||||
<li><a href="http://www.voicenet.com/~zellert/tjFM/"></a>tjFM<br/>
|
||||
A Type 4 JDBC driver for MySQL™.</li>
|
||||
<li><a href="http://www.mysql.com/products/connector-j/index.html">MySQL Connector/J</a><br/>
|
||||
A Type 4 JDBC driver for MySQL.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Tools
|
||||
<ul>
|
||||
<li><a href="http://www10.software.ibm.com/developerworks/opensource/jikes/">Jikes</a> <br/>
|
||||
Ultra fast java compiler from IBM (available as port).</li>
|
||||
<li><a href="http://www.FreeBSD.org/cgi/url.cgi?ports/comms/java-commapi-freebsd/pkg-descr">The JavaComm API</a> - Port of the JavaComm API to FreeBSD.</li>
|
||||
<li><b>Kaffe</b> - <a href="http://www.kaffe.org">http://www.kaffe.org</a> - a "clean room" implementation of Java.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li><a href="http://www.gjt.org">Giant Java Tree (GJT)</a><br/>
|
||||
Open Source Java organized in a CVS tree.</li>
|
||||
<li> <a href="http://java.apache.org">Java at the Apache Group</a> <br/>
|
||||
Different projects concerning java and web, e.g. JServ, Cocoon, etc.</li>
|
||||
<li>API</li>
|
||||
<li><ul>
|
||||
<li><a href="http://java.sun.com/products/servlet/index.html">Sun's Servlet API</a></li>
|
||||
|
||||
</ul></li>
|
||||
<li>Servlet Information</li>
|
||||
<li><ul>
|
||||
<li><a
|
||||
href="http://www.jguru.com/faq/server-side-development/servlets">Purple Servlet FAQ</a><br/>
|
||||
A comprehensive source of information for Servlets.</li>
|
||||
</ul></li>
|
||||
<li>Servlet Engines</li>
|
||||
<li><ul>
|
||||
<li><a href="http://www.newatlanta.com">ServletExec</a><br/>
|
||||
A high-performance commercial servlet engine. Offers a free demo/development copy and a servlet debugger. Works with most web servers.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li> Programming</li>
|
||||
<li><ul>
|
||||
<li><a href="http://www.jpython.org">JPython</a><br/>
|
||||
Best Java Scripting (combines Python and Java) - a must have!</li>
|
||||
</ul></li>
|
||||
<li><a href="http://www10.software.ibm.com/developerworks/opensource/jikes/">Jikes</a> <br/>
|
||||
Ultra fast java compiler from IBM (available as port)</li>
|
||||
<li><a href="http://java.sun.com/docs/books/tutorial/index.html">The Java Tutorial</a><br/>
|
||||
THE tutorial for Java direct from Sun.</li>
|
||||
<li>IBM - <a href="http://www.ibm.com/java">developerWorks - Java Technology Zone</a><br/> Main java site.</li>
|
||||
<li>IBM - <a href="http://www.alphaworks.ibm.com">Alphaworks</a><br/>Technology studies, early access.</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
File diff suppressed because it is too large
Load diff
|
@ -1,90 +0,0 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/share/xml/xslt10-freebsd.dtd" [
|
||||
<!ENTITY base "..">
|
||||
<!ENTITY rsslink "&base;/java/rss.xml">
|
||||
<!ENTITY title "FreeBSD &java; Project News Flash">
|
||||
<!ENTITY rsstitle "FreeBSD Java Project News">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD$ -->
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/lang/share/xml/libcommon.xsl"/>
|
||||
<xsl:import href="http://www.FreeBSD.org/XML/share/xml/xhtml.xsl"/>
|
||||
|
||||
<xsl:variable name="title">&title;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsstitle">&title;</xsl:variable>
|
||||
|
||||
<xsl:variable name="rsslink">&rsslink;</xsl:variable>
|
||||
|
||||
<xsl:template name="process.content">
|
||||
<div id="sidewrap">
|
||||
&nav.developers;
|
||||
<div id="feedlinks">
|
||||
<ul>
|
||||
<li>
|
||||
<a href="&rsslink;" title="&rsstitle;">
|
||||
RSS 2.0 Feed
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div> <!-- FEEDLINKS -->
|
||||
</div> <!-- SIDEWRAP -->
|
||||
|
||||
<div id="contentwrap">
|
||||
<h1>&title;</h1>
|
||||
|
||||
<img src="&base;/gifs/news.jpg" align="right" border="0" width="193"
|
||||
height="144" alt="FreeBSD Java News"/>
|
||||
|
||||
<xsl:apply-templates select="/news/descendant::month"/>
|
||||
|
||||
<xsl:for-each select="/news">
|
||||
<xsl:call-template
|
||||
name="html-news-list-newsflash-homelink" />
|
||||
</xsl:for-each>
|
||||
|
||||
</div> <!-- contentwrap -->
|
||||
|
||||
<br class="clearboth" />
|
||||
</xsl:template>
|
||||
|
||||
<!-- Everything that follows are templates for the rest of the content -->
|
||||
|
||||
<xsl:template match="month">
|
||||
<h2><xsl:value-of select="name"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="ancestor::year/name"/></h2>
|
||||
|
||||
<ul>
|
||||
<xsl:apply-templates select="descendant::day"/>
|
||||
</ul>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="day">
|
||||
<xsl:apply-templates select="event"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="event">
|
||||
<li><p><a>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:call-template name="generate-event-anchor"/>
|
||||
</xsl:attribute>
|
||||
</a>
|
||||
|
||||
<b><xsl:value-of select="ancestor::month/name"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="ancestor::day/name"/>,
|
||||
<xsl:value-of select="ancestor::year/name"/>:</b><xsl:text> </xsl:text>
|
||||
<xsl:value-of select="title"/>
|
||||
</p>
|
||||
|
||||
<xsl:apply-templates select="p" mode="copy.html"/>
|
||||
</li>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Loading…
Reference in a new issue