You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2003/09/09 19:20:40 UTC

cvs commit: cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry body.xsl

gregor      2003/09/09 10:20:39

  Modified:    src/webapp/lenya/pubs/blog/xslt global.xsl
               src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1
                        index.xml index_en.xml
               src/webapp/lenya/pubs/blog/content/live/feeds/all index.xml
               src/webapp/lenya/pubs/blog/content/authoring/entries/2001/07/07/vanya
                        index.xml
               src/webapp/lenya/pubs/blog/xslt/feed xinclude.xsl body.xsl
               src/webapp/lenya/pubs/blog/content/live/entries/1969/02/16/michi
                        index.xml
               src/webapp/lenya/pubs/blog/content/authoring/entries/1998/10/29/levi
                        index.xml
               src/webapp/lenya/pubs/blog/content/authoring/entries/1969/02/16/michi
                        index.xml
               src/webapp/lenya/pubs/blog/xslt/entry body.xsl
  Log:
  fixes to make the blog feed comply with atom 0.2 as per feedvalidator.org
  
  Revision  Changes    Path
  1.8       +0 -6      cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/global.xsl
  
  Index: global.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/global.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- global.xsl	1 Sep 2003 07:21:50 -0000	1.7
  +++ global.xsl	9 Sep 2003 17:20:38 -0000	1.8
  @@ -26,12 +26,6 @@
     </a>
   </td>
   </tr>
  -<tr>
  -<td colspan="2" id="subtitle">
  -  <!-- FIXME: namespace -->
  -  <xsl:value-of select="feed/subtitle"/><xsl:value-of select="feed/echo:subtitle"/>
  -</td>
  -</tr>
   
   <tr>
   <td valign="top" id="content" width="70%">
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:38 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <echo:entry xmlns:echo="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
       <echo:title>My First Entry</echo:title>
  -    <echo:subtitle>In which a newbie learns to blog...</echo:subtitle>
       <echo:summary>A very boring entry; just learning how to blog here...</echo:summary>
   
       <echo:author>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1/index_en.xml
  
  Index: index_en.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2003/07/28/1/index_en.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index_en.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index_en.xml	9 Sep 2003 17:20:38 -0000	1.2
  @@ -21,7 +21,6 @@
     </lenya:meta>
   
       <title>My First Entry</title>
  -    <subtitle>In which a newbie learns to blog...</subtitle>
       <summary>A very boring entry; just learning how to blog here...</summary>
   
       <author>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/live/feeds/all/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/live/feeds/all/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:38 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <feed xmlns="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
     <title>Lenya's Weblog</title>
  -  <subtitle>XML and beyond</subtitle>
     <link>http://bob.blog/</link>
   
     <modified>2003-02-05T12:29:29Z</modified>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2001/07/07/vanya/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/2001/07/07/vanya/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:39 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <echo:entry xmlns:echo="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
       <echo:title>My Second Entry</echo:title>
  -    <echo:subtitle>In which a newbie learns to blog...</echo:subtitle>
       <echo:summary>A very boring entry; just learning how to blog here...</echo:summary>
   
       <echo:author>
  
  
  
  1.2       +1 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/xinclude.xsl
  
  Index: xinclude.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/xinclude.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xinclude.xsl	5 Aug 2003 19:50:48 -0000	1.1
  +++ xinclude.xsl	9 Sep 2003 17:20:39 -0000	1.2
  @@ -8,7 +8,7 @@
     <xsl:apply-templates select="dir:directory" xmlns:dir="http://apache.org/cocoon/directory/2.0"/>
   </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">
  +<feed xmlns:xlink="http://www.w3.org/2002/XLink" xmlns="http://purl.org/atom/ns#" version="0.2" xml:lang="en">
     <description xlink:href="feeds/{$feedid}/index.xml#xpointer(/feed/title)xpointer(/feed/subtitle)xpointer(/feed/link)xpointer(/feed/modified)" xlink:show="embed"/>
     <xsl:for-each select="dir:directory">
       <xsl:variable name="year"><xsl:value-of select="@name"/></xsl:variable>
  
  
  
  1.6       +1 -2      cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/body.xsl
  
  Index: body.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/feed/body.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- body.xsl	27 Aug 2003 06:59:21 -0000	1.5
  +++ body.xsl	9 Sep 2003 17:20:39 -0000	1.6
  @@ -2,7 +2,7 @@
   
   <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  -  xmlns:echo="http://example.com/newformat#"
  +  xmlns:echo="http://purl.org/atom/ns#"
   >
   
   
  @@ -14,7 +14,6 @@
   <xsl:template match="entry">
     <div class="dateline"><xsl:value-of select="issued"/></div>
     <div class="title"><a href="../../entries/{id}/index.html"><xsl:value-of select="title"/></a></div>
  -  <div class="subtitle"><xsl:value-of select="subtitle"/></div>
     <i><xsl:value-of select="summary"/></i>
     <xsl:apply-templates select="content"/>
     <xsl:apply-templates select="echo:content"/>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/live/entries/1969/02/16/michi/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/live/entries/1969/02/16/michi/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:39 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <entry xmlns="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
       <title>My Fourth Entry</title>
  -    <subtitle>In which a newbie learns to blog...</subtitle>
       <summary>A very boring entry; just learning how to blog here...</summary>
   
       <author>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/1998/10/29/levi/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/1998/10/29/levi/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:39 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <echo:entry xmlns:echo="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
       <echo:title>My Third Entry</echo:title>
  -    <echo:subtitle>In which a newbie learns to blog...</echo:subtitle>
       <echo:summary>A very boring entry; just learning how to blog here...</echo:summary>
   
       <echo:author>
  
  
  
  1.2       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/1969/02/16/michi/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/content/authoring/entries/1969/02/16/michi/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 Aug 2003 19:50:48 -0000	1.1
  +++ index.xml	9 Sep 2003 17:20:39 -0000	1.2
  @@ -2,7 +2,6 @@
   
   <echo:entry xmlns:echo="http://example.com/newformat#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
       <echo:title>My Fourth Entry</echo:title>
  -    <echo:subtitle>In which a newbie learns to blog...</echo:subtitle>
       <echo:summary>A very boring entry; just learning how to blog here...</echo:summary>
   
       <echo:author>
  
  
  
  1.6       +0 -1      cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/body.xsl
  
  Index: body.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/pubs/blog/xslt/entry/body.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- body.xsl	27 Aug 2003 06:59:21 -0000	1.5
  +++ body.xsl	9 Sep 2003 17:20:39 -0000	1.6
  @@ -9,7 +9,6 @@
   <xsl:template match="echo:entry">
     <div class="dateline"><xsl:value-of select="echo:issued"/></div>
     <div class="title"><xsl:value-of select="echo:title"/></div>
  -  <div class="subtitle"><xsl:value-of select="echo:subtitle"/></div>
     <i><xsl:value-of select="echo:summary"/></i>
     <xsl:apply-templates select="echo:content"/>
     <br />
  
  
  

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