brett       2004/11/25 04:44:10

  Modified:    changes/src/plugin-resources changes.jsl changes2rss.jsl
               changes/xdocs changes.xml
  Log:
  add live bookmark link for rss
  
  Revision  Changes    Path
  1.15      +11 -1     maven-plugins/changes/src/plugin-resources/changes.jsl
  
  Index: changes.jsl
  ===================================================================
  RCS file: /home/cvs/maven-plugins/changes/src/plugin-resources/changes.jsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- changes.jsl       11 Nov 2004 13:46:58 -0000      1.14
  +++ changes.jsl       25 Nov 2004 12:44:09 -0000      1.15
  @@ -32,10 +32,20 @@
       
       <jsl:template match="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="*"/>  
           </document>
       </jsl:template>
  -    
  +
  +    <jsl:template match="head" trim="false">
  +      <!-- Ignore, we've already done that -->
  +    </jsl:template>
  +
       <jsl:template match="body" trim="false">
           <body>
               <!-- Index of releases -->
  
  
  
  1.3       +2 -1      
maven-plugins/changes/src/plugin-resources/changes2rss.jsl
  
  Index: changes2rss.jsl
  ===================================================================
  RCS file: 
/home/cvs/maven-plugins/changes/src/plugin-resources/changes2rss.jsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- changes2rss.jsl   29 Jun 2004 20:40:28 -0000      1.2
  +++ changes2rss.jsl   25 Nov 2004 12:44:10 -0000      1.3
  @@ -45,7 +45,8 @@
             
             <!-- If we don't go through a tmp variable Jelly inserts a space 
between ${pom.url} 
                  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> 
             <description>
  
  
  
  1.34      +1 -0      maven-plugins/changes/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/changes/xdocs/changes.xml,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- changes.xml       11 Nov 2004 13:46:58 -0000      1.33
  +++ changes.xml       25 Nov 2004 12:44:10 -0000      1.34
  @@ -25,6 +25,7 @@
     </properties>
     <body>
       <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">
           Added sorting of <code>&lt;action&gt;</code> elements. It is 
controlled
           by 2 properties. The <code>maven.changes.sort</code> property decides
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to