You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by st...@apache.org on 2003/01/12 21:00:31 UTC

cvs commit: xml-forrest/src/resources/library/xslt rssissues2document.xsl

stevenn     2003/01/12 12:00:31

  Modified:    src/documentation/content/xdocs site.xml
               src/resources/conf sitemap.xmap
  Added:       src/resources/library/xslt rssissues2document.xsl
  Log:
  open issues are now listed on the website (RSS feed from Jira/issues.cocoondev.org)
  
  Revision  Changes    Path
  1.6       +1 -0      xml-forrest/src/documentation/content/xdocs/site.xml
  
  Index: site.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/site.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site.xml	9 Jan 2003 08:11:07 -0000	1.5
  +++ site.xml	12 Jan 2003 20:00:30 -0000	1.6
  @@ -21,6 +21,7 @@
       </mail-lists>
       <mail-archives label="Mail Archives" href="mail-archives.html"/>
       <bugs label="Bugs and Issues" href="http://issues.cocoondev.org/jira/secure/BrowseProject.jspa?id=10000"/>
  +    <forrest-issues label="Open Issues" href="forrest-issues.html"/>
     </getting-involved>
   
     <documentation label="Documentation">
  
  
  
  1.54      +10 -0     xml-forrest/src/resources/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/conf/sitemap.xmap,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- sitemap.xmap	12 Jan 2003 12:09:39 -0000	1.53
  +++ sitemap.xmap	12 Jan 2003 20:00:30 -0000	1.54
  @@ -245,6 +245,16 @@
        </map:call>
      </map:match>
   
  +  <map:match pattern="body-forrest-issues.xml">
  +     <map:generate type="file-nolabel" src="http://issues.cocoondev.org/jira/secure/IssueNavigator.jspa?pid=10000&amp;resolutionIds=-1&amp;view=rss&amp;reset=true"/>
  +     <map:transform src="library/xslt/rssissues2document.xsl" label="content"/>
  +     <map:transform type="idgen"/>
  +     <map:call resource="skinit">
  +      <map:parameter name="type" value="document2html"/>
  +      <map:parameter name="path" value="/forrest-issues.xml"/>
  +     </map:call>
  +   </map:match>
  +
      <map:match pattern="body-changes.xml">
        <map:generate type="file-nolabel" src="status.xml"/>
        <map:transform type="linkrewriter" src="cocoon:/linkmap"/>
  
  
  
  1.1                  xml-forrest/src/resources/library/xslt/rssissues2document.xsl
  
  Index: rssissues2document.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:template match="rss">
    <document>
      <header>
        <title>Open issues</title>
      </header>
      <body>
        <note>These are the open issues in our <link href="http://issues.cocoondev.org/jira/secure/BrowseProject.jspa?id=10000">bug tracking system</link>.
        They are regenerated on each Forrest run.</note>
        <xsl:apply-templates select="channel/item"/>
      </body>
    </document>
  </xsl:template>
  
  <xsl:template match="item">
    <section>
      <title><xsl:value-of select="title" disable-output-escaping="yes"/></title>
      <p><link href="{link}"><xsl:value-of select="link"/></link></p>
      <p><xsl:value-of select="description" disable-output-escaping="yes"/></p>
    </section>
  </xsl:template>