You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2003/12/09 15:51:31 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/archive xinclude.xsl

michi       2003/12/09 06:51:31

  Modified:    src/webapp/lenya/pubs/blog/xslt/archive xinclude.xsl
  Log:
  archive fixed
  
  Revision  Changes    Path
  1.2       +4 -3      cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/archive/xinclude.xsl
  
  Index: xinclude.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/archive/xinclude.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xinclude.xsl	31 Aug 2003 19:30:21 -0000	1.1
  +++ xinclude.xsl	9 Dec 2003 14:51:30 -0000	1.2
  @@ -9,8 +9,9 @@
   </xsl:template>                                                                                                                             
   
   <xsl:template match="dir:directory" xmlns:dir="http://apache.org/cocoon/directory/2.0">
  -<feed xmlns:xlink="http://www.w3.org/2002/XLink">
  -  <description xlink:href="feeds/all/index.xml#xpointer(/feed/title)xpointer(/feed/subtitle)xpointer(/feed/link)xpointer(/feed/modified)" xlink:show="embed"/>
  +<atom:feed xmlns:atom="http://purl.org/atom/ns#" xmlns:xlink="http://www.w3.org/2002/XLink">
  +  <description xlink:href="feeds/all/index.xml#xmlns(atom=http://purl.org/atom/ns#)xpointer(/atom:feed/atom:title)xpointer(/atom:feed/atom:link)xpointer(/atom:feed/atom:modified)" xlink:show="embed"/>
  +
     <xsl:variable name="month"><xsl:value-of select="@name"/></xsl:variable>
     <xsl:for-each select="dir:directory">
       <xsl:variable name="day"><xsl:value-of select="@name"/></xsl:variable>
  @@ -19,7 +20,7 @@
         <entry xlink:href="entries/{$year}/{$month}/{$day}/{$entryid}/index.xml" xlink:show="embed"/>
       </xsl:for-each>
     </xsl:for-each>
  -</feed>
  +</atom:feed>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org