You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2005/06/01 12:34:55 UTC

[JIRA] Commented: (FOR-487) generate announcement text from the status.xml

The following comment has been added to this issue:

     Author: Cyriaque Dupoirieux
    Created: Wed, 1 Jun 2005 5:34 AM
       Body:
This improvement of changes page is nice.

I have my own version based on xsl:key definition in order to be able to simply manage as many contexts as you can define (My Dtd is not limited to "build|docs|code|admin|design".

The advantage - on my opinion - is that my own contexts are very various and not developpement oriented nor language dependant.
here a short example - using releaseNote... : 
        http://cyriaque.dupoirieux.free.fr/changes_6.2.1.html

The following code replace the 5 blocks <xsl:if test="action[@context='build']"> :

   <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title> 
+   <xsl:for-each select="action[generate-id()=generate-id(key('contextes',concat(../@version, '_', @context)))]">
+    <xsl:sort select="@context"/>
+    <section>
+     <title><xsl:value-of select="@context"/></title>
+     <ul>
+      <xsl:apply-templates select="key('contextes',concat(../@version, '_', @context) )">
+       <xsl:sort select="@type"/>
+      </xsl:apply-templates>
+     </ul>
+    </section>
+   </xsl:for-each>

Hope you'll like the idea...

Regards,
Cyriaque,
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-487?page=comments#action_12458

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-487

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-487
    Summary: generate announcement text from the status.xml
       Type: New Feature

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Forrest
 Components: 
             Plugins (general issues)
   Fix Fors:
             0.7-dev
   Versions:
             0.7-dev

   Assignee: Ross Gardler
   Reporter: David Crossley

    Created: Wed, 27 Apr 2005 11:23 PM
    Updated: Wed, 1 Jun 2005 5:34 AM

Description:
By adding some attributes to the "actions" in status.xml we would be able to use certain entries for the announcement text.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira