add live bookmark link for rss

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116260 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-11-25 12:44:10 +00:00
parent 6f3e0c6965
commit 8a30834d7b
3 changed files with 14 additions and 2 deletions

View File

@ -32,10 +32,20 @@
<jsl:template match="document"> <jsl:template match="document">
<document> <document>
<head>
<link rel="alternative" href="changes.rss" type="application/rss+xml" />
<x:forEach select="head/*">
<x:copyOf select="." />
</x:forEach>
</head>
<jsl:applyTemplates select="*"/> <jsl:applyTemplates select="*"/>
</document> </document>
</jsl:template> </jsl:template>
<jsl:template match="head" trim="false">
<!-- Ignore, we've already done that -->
</jsl:template>
<jsl:template match="body" trim="false"> <jsl:template match="body" trim="false">
<body> <body>
<!-- Index of releases --> <!-- Index of releases -->

View File

@ -45,7 +45,8 @@
<!-- If we don't go through a tmp variable Jelly inserts a space between ${pom.url} <!-- If we don't go through a tmp variable Jelly inserts a space between ${pom.url}
and '/changes-report.html'. Go figure... --> and '/changes-report.html'. Go figure... -->
<j:set var="link" value="${pom.url}/changes-report.html"/> <j:set var="anchorName"><doc:escapeNameToken value="${pom.currentVersion}"/></j:set>
<j:set var="link" value="${pom.url}/changes-report.html#${anchorName}"/>
<link>${link}</link> <link>${link}</link>
<description> <description>

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="1.6-SNAPSHOT" date="in CVS"> <release version="1.6-SNAPSHOT" date="in CVS">
<action dev="brett" type="add">Add a live bookmark link for the RSS for Firefox.</action>
<action dev="vmassol" type="fix" issue="MPCHANGES-14"> <action dev="vmassol" type="fix" issue="MPCHANGES-14">
Added sorting of <code>&lt;action&gt;</code> elements. It is controlled Added sorting of <code>&lt;action&gt;</code> elements. It is controlled
by 2 properties. The <code>maven.changes.sort</code> property decides by 2 properties. The <code>maven.changes.sort</code> property decides