public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-02-05 18:14 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-02-05 18:14 UTC (permalink / raw
  To: gentoo-commits

neysx       08/02/05 18:14:59

  Added:                guide2.xsl
  Log:
  Test home page

Revision  Changes    Path
1.29                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.28&r2=1.29




-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-09-28 15:45 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-09-28 15:45 UTC (permalink / raw
  To: gentoo-commits

neysx       08/09/28 15:45:57

  Modified:             guide2.xsl
  Log:
  #204402 update intro and use /dyn/ files for blog posts and GLSAs

Revision  Changes    Path
1.36                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.35&r2=1.36

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- guide2.xsl	28 Sep 2008 14:02:15 -0000	1.35
+++ guide2.xsl	28 Sep 2008 15:45:56 -0000	1.36
@@ -604,11 +604,10 @@
                 community are all hallmarks of the Gentoo experience.
                 To learn more, read our <b><a href="/main/en/about.xml">about
                 page</a></b>.<br/><br/>
-                This is how our home page could look like if infra solved bugs
-                <a href="http://bugs.gentoo.org/204402">#204402</a> and
-                <a href="http://bugs.gentoo.org/141909">#141909</a> so that GLSAs,
+                This is how our home page could look like if bug
+                <a href="http://bugs.gentoo.org/141909">#141909</a> were solved so that GLSAs,
                 latest packages and blog posts could be featured here.<br/>
-                If you like what you see, ping infra!</span>
+                </span>
               </p>
 <!--
               <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()&lt;=$newsitemcount]/text()">
@@ -621,8 +620,8 @@
 -->
 
       <xsl:variable name="GLSAs" select="document('http://gentoo.neysx.org/dyn/glsa-index.xml')"/>
-      <xsl:variable name="new-packages" select="document('http://packages.gentoo.org/feed/newpackage')"/>
-      <xsl:variable name="planet" select="document('http://planet.gentoo.org/rss20.xml')"/>
+      <xsl:variable name="new-packages" select="document('/dyn/new-packages.xml')"/>
+      <xsl:variable name="planet" select="document('/dyn/planet.xml')"/>
 
       <xsl:variable name="all-news" xmlns="">
        <news>
@@ -2096,7 +2095,7 @@
         <img class="newsicon" src="/images/icon-freescale.gif" alt="Freescale Semiconductor"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='planet'">
-        <img class="newsicon" src="http://people.gentoo.org/neysx/G-Earth.jpg" alt="Planet Earth"/>
+        <img class="newsicon" src="http://dev.gentoo.org/~neysx/G-Earth.jpg" alt="Planet Earth"/>
       </xsl:when>
     </xsl:choose>
                   






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-09-28 15:52 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-09-28 15:52 UTC (permalink / raw
  To: gentoo-commits

neysx       08/09/28 15:52:23

  Modified:             guide2.xsl
  Log:
  #204402 use local planet icon

Revision  Changes    Path
1.37                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.37&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.37&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.36&r2=1.37

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- guide2.xsl	28 Sep 2008 15:45:56 -0000	1.36
+++ guide2.xsl	28 Sep 2008 15:52:23 -0000	1.37
@@ -2095,7 +2095,7 @@
         <img class="newsicon" src="/images/icon-freescale.gif" alt="Freescale Semiconductor"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='planet'">
-        <img class="newsicon" src="http://dev.gentoo.org/~neysx/G-Earth.jpg" alt="Planet Earth"/>
+        <img class="newsicon" src="/images/G-Earth.jpg" alt="Planet Earth"/>
       </xsl:when>
     </xsl:choose>
                   






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-11-01 13:19 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-11-01 13:19 UTC (permalink / raw
  To: gentoo-commits

neysx       08/11/01 13:19:12

  Modified:             guide2.xsl
  Log:
  Test blog posts without any title

Revision  Changes    Path
1.38                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.38&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.38&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.37&r2=1.38

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- guide2.xsl	28 Sep 2008 15:52:23 -0000	1.37
+++ guide2.xsl	1 Nov 2008 13:19:12 -0000	1.38
@@ -713,8 +713,16 @@
                <body><table>
                 <xsl:for-each select="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, 'http://www.gentoo.org/news'))]">
                  <tr>
-                  <ti><xsl:value-of select="substring-before(title,': ')"/></ti>
-                  <ti><uri link="{link}"><xsl:value-of select="substring-after(title,': ')"/></uri></ti>
+                  <xsl:choose>
+                   <xsl:when test="contains(title,': ')"> 
+                    <ti><xsl:value-of select="substring-before(title,': ')"/></ti>
+                    <ti><uri link="{link}"><xsl:value-of select="substring-after(title,': ')"/></uri></ti>
+                   </xsl:when>
+                   <xsl:otherwise>
+                    <ti><xsl:value-of select="title"/></ti>
+                    <ti><uri link="{link}">. . .</uri></ti>
+                   </xsl:otherwise>
+                  </xsl:choose>
                  </tr>
                 </xsl:for-each>
                </table></body>






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-11-23  9:04 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-11-23  9:04 UTC (permalink / raw
  To: gentoo-commits

neysx       08/11/23 09:04:46

  Modified:             guide2.xsl
  Log:
  Let's try some more XSL magic and group consecutive blog days and use bl***y non-YYYYMMDD dates from GLSA index

Revision  Changes    Path
1.39                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.39&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.39&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.38&r2=1.39

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- guide2.xsl	1 Nov 2008 13:19:12 -0000	1.38
+++ guide2.xsl	23 Nov 2008 09:04:46 -0000	1.39
@@ -34,7 +34,7 @@
 
 <!-- Global definition of style parameter -->
 <xsl:param name="style">0</xsl:param>
-<xsl:param name="newsitemcount">6</xsl:param>
+<xsl:param name="newsitemcount">9</xsl:param>
 
 <!-- Category from metadoc -->
 <xsl:param name="catid">0</xsl:param>
@@ -603,11 +603,7 @@
                 configurability and a top-notch user and developer
                 community are all hallmarks of the Gentoo experience.
                 To learn more, read our <b><a href="/main/en/about.xml">about
-                page</a></b>.<br/><br/>
-                This is how our home page could look like if bug
-                <a href="http://bugs.gentoo.org/141909">#141909</a> were solved so that GLSAs,
-                latest packages and blog posts could be featured here.<br/>
-                </span>
+                page</a></b>.</span>
               </p>
 <!--
               <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()&lt;=$newsitemcount]/text()">
@@ -619,7 +615,7 @@
               </xsl:for-each>
 -->
 
-      <xsl:variable name="GLSAs" select="document('http://gentoo.neysx.org/dyn/glsa-index.xml')"/>
+      <xsl:variable name="GLSAs" select="document('/dyn/glsa-index2.xml')"/>
       <xsl:variable name="new-packages" select="document('/dyn/new-packages.xml')"/>
       <xsl:variable name="planet" select="document('/dyn/planet.xml')"/>
 
@@ -633,9 +629,40 @@
 
         <!-- GLSAs from my own glsa-index.xml, i.e. not Gentoo's -->
         <xsl:for-each select="$GLSAs//glsa">
-         <xsl:sort select="date" order="descending"/>
+         <!-- <xsl:sort select="date" order="descending"/> Can't sort on English dates, they should be sorted in the source file -->
           <xsl:if test="position() &lt;=$newsitemcount">
-           <newsitem date="{date}" glsaid="{@id}"/>
+            <!-- convert bloody dates like 'July 29, 2006: 02' to YYYY-MM-DD -->
+            <xsl:variable name="yydate">
+              <xsl:choose>
+                <xsl:when test="string-length(substring(date,1,10))=10 and substring(date,5,1)='-' and substring(date,8,1)='-' and contains('|01|02|03|04|05|06|07|08|09|10|11|12|',concat('|',substring(date,6,2),'|'))">
+                  <xsl:value-of select="substring(date,1,10)"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="substring(substring-after(substring-after(date,' '),' '),1,4)"/>
+                  <xsl:text>-</xsl:text>
+                  <xsl:choose>
+                   <xsl:when test="substring-before(date,' ')='January'">01</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='February'">02</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='March'">03</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='April'">04</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='May'">05</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='June'">06</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='July'">07</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='August'">08</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='September'">09</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='October'">10</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='November'">11</xsl:when>
+                   <xsl:when test="substring-before(date,' ')='December'">12</xsl:when>
+                   <xsl:otherwise>00</xsl:otherwise>
+                  </xsl:choose>
+                  <xsl:text>-</xsl:text>
+                  <xsl:value-of select="substring-before(substring-after(date,' '),',')"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:variable>
+            <xsl:if test="func:is-date($yydate)='YES'">
+              <newsitem date="{$yydate}" glsaid="{@id}"/>
+            </xsl:if>
           </xsl:if>
         </xsl:for-each>
 
@@ -675,9 +702,40 @@
        </news>
       </xsl:variable>
 
+      <xsl:variable name="all-news1" xmlns="">
+       <news>
+        <xsl:for-each select="exslt:node-set($all-news)/news/newsitem">
+        <xsl:sort select="@date" order="descending"/>
+          <xsl:copy-of select="."/>
+        </xsl:for-each>
+       </news>
+      </xsl:variable>
+
+      <xsl:variable name="all-news0" xmlns="">
+       <news>
+        <xsl:for-each select="exslt:node-set($all-news1)/news/newsitem">
+          <xsl:choose>
+            <xsl:when test="@link or @package or @glsaid">
+              <xsl:copy-of select="."/>
+            </xsl:when>
+
+            <xsl:when test="@planet">
+             <xsl:if test="not(preceding-sibling::newsitem[1]/@planet)">
+             <!-- group consecutive blog days into a single item -->
+              <newsitem date="{@date}" blog='1'>
+                <xsl:copy-of select="."/>
+                <xsl:apply-templates select="following-sibling::*[position()=1 and @planet]" mode="moreblogs"/>
+              </newsitem>
+             </xsl:if>
+            </xsl:when>
+          </xsl:choose>
+        </xsl:for-each>
+       </news>
+      </xsl:variable>
+
       <!-- Display news items -->
       
-      <xsl:for-each select="exslt:node-set($all-news)/news/newsitem">
+      <xsl:for-each select="exslt:node-set($all-news0)/news/newsitem">
        <xsl:sort select="@date" order="descending"/>
 
        <!-- Build a newsitem that can be passed to the template that displays a newsitem -->
@@ -704,26 +762,31 @@
              </xsl:choose>
             </xsl:when>
 
-            <xsl:when test="@planet">
+            <xsl:when test="@blog">
              <xsl:attribute name="category">planet</xsl:attribute>
-             <xsl:variable name="pubDate" select="@planet"/>
                <title>Blog posts</title>
                <date><xsl:value-of select="@date"/></date>
+               <xsl:if test="@date != ./newsitem[position()=last()]/@date">
+                 <until><xsl:value-of select="./newsitem[position()=last()]/@date"/></until>
+               </xsl:if>
                <poster>planet.gentoo.org</poster>
                <body><table>
-                <xsl:for-each select="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, 'http://www.gentoo.org/news'))]">
-                 <tr>
-                  <xsl:choose>
-                   <xsl:when test="contains(title,': ')"> 
-                    <ti><xsl:value-of select="substring-before(title,': ')"/></ti>
-                    <ti><uri link="{link}"><xsl:value-of select="substring-after(title,': ')"/></uri></ti>
-                   </xsl:when>
-                   <xsl:otherwise>
-                    <ti><xsl:value-of select="title"/></ti>
-                    <ti><uri link="{link}">. . .</uri></ti>
-                   </xsl:otherwise>
-                  </xsl:choose>
-                 </tr>
+               <xsl:for-each select="./newsitem">
+                 <xsl:variable name="pubDate" select="@planet"/>
+                  <xsl:for-each select="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, 'http://www.gentoo.org/news'))]">
+                   <tr>
+                    <xsl:choose>
+                     <xsl:when test="contains(title,': ')"> 
+                      <ti><xsl:value-of select="substring-before(title,': ')"/></ti>
+                      <ti><uri link="{link}"><xsl:value-of select="substring-after(title,': ')"/></uri></ti>
+                     </xsl:when>
+                     <xsl:otherwise>
+                      <ti><xsl:value-of select="title"/></ti>
+                      <ti><uri link="{link}">. . .</uri></ti>
+                     </xsl:otherwise>
+                    </xsl:choose>
+                   </tr>
+                  </xsl:for-each>
                 </xsl:for-each>
                </table></body>
             </xsl:when>
@@ -817,6 +880,13 @@
 </html>
 </xsl:template>
 
+<xsl:template match="newsitem" mode="moreblogs">
+  <xsl:copy-of select="."/>
+  <xsl:if test="following-sibling::*[1]/@planet">
+  <xsl:apply-templates select="following-sibling::newsitem[position()=1 and @planet]" mode="moreblogs"/>
+  </xsl:if>
+</xsl:template>
+
 <xsl:template name="copyright-footer">
   <xsl:variable name="isEnglish">
     <xsl:if test="string-length($glang)=0 or $glang='en'">Y</xsl:if>
@@ -2061,7 +2131,14 @@
       <b><xsl:value-of select="$thenews/title"/></b>
       <br/>
       <font size="0.90em">
-      Posted on <xsl:copy-of select="func:format-date($thenews/date)"/>
+       <xsl:choose>
+         <xsl:when test="$thenews/until">
+           Posted between <xsl:copy-of select="func:format-date($thenews/date)"/> and <xsl:copy-of select="func:format-date($thenews/until)"/> 
+         </xsl:when>
+         <xsl:otherwise>
+           Posted on <xsl:copy-of select="func:format-date($thenews/date)"/>
+         </xsl:otherwise>
+       </xsl:choose>
        <xsl:variable name="poster">
         <xsl:call-template name="smart-mail">
          <xsl:with-param name="mail" select="$thenews/poster"/>






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2008-12-31 21:06 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2008-12-31 21:06 UTC (permalink / raw
  To: gentoo-commits

neysx       08/12/31 21:06:29

  Modified:             guide2.xsl
  Log:
  shuffled news icons

Revision  Changes    Path
1.41                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.40&r2=1.41

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- guide2.xsl	31 Dec 2008 16:17:43 -0000	1.40
+++ guide2.xsl	31 Dec 2008 21:06:28 -0000	1.41
@@ -1926,21 +1926,12 @@
     </p>
 
     <xsl:choose>
-      <xsl:when test="$thenews/@category='alpha'">
-        <img class="newsicon" src="/images/icon-alpha.gif" alt="AlphaServer GS160"/>
-      </xsl:when>
-      <xsl:when test="$thenews/@category='kde'">
-        <img class="newsicon" src="/images/icon-kde.png" alt="KDE"/>
-      </xsl:when>
       <xsl:when test="$thenews/@category='gentoo'">
         <img class="newsicon" src="/images/icon-gentoo.png" alt="gentoo"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='main'">
         <img class="newsicon" src="/images/icon-stick.png" alt="stick man"/>
       </xsl:when>
-      <xsl:when test="$thenews/@category='ibm'">
-        <img class="newsicon" src="/images/icon-ibm.gif" alt="ibm"/>
-      </xsl:when>
       <xsl:when test="$thenews/@category='linux'">
         <img class="newsicon" src="/images/icon-penguin.png" alt="tux"/>
       </xsl:when>
@@ -1950,15 +1941,25 @@
       <xsl:when test="$thenews/@category='plans'">
         <img class="newsicon" src="/images/icon-clock.png" alt="Clock"/>
       </xsl:when>
+      <xsl:when test="$thenews/@category='planet'">
+        <img class="newsicon" src="/images/G-Earth.jpg" alt="Planet Earth"/>
+      </xsl:when>
+      <!-- old ones, kept to display very very old news items -->
+      <xsl:when test="$thenews/@category='alpha'">
+        <img class="newsicon" src="/images/icon-alpha.gif" alt="AlphaServer GS160"/>
+      </xsl:when>
+      <xsl:when test="$thenews/@category='kde'">
+        <img class="newsicon" src="/images/icon-kde.png" alt="KDE"/>
+      </xsl:when>
+      <xsl:when test="$thenews/@category='ibm'">
+        <img class="newsicon" src="/images/icon-ibm.gif" alt="ibm"/>
+      </xsl:when>
       <xsl:when test="$thenews/@category='nvidia'">
         <img class="newsicon" src="/images/icon-nvidia.png" alt="Nvidia"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='freescale'">
         <img class="newsicon" src="/images/icon-freescale.gif" alt="Freescale Semiconductor"/>
       </xsl:when>
-      <xsl:when test="$thenews/@category='planet'">
-        <img class="newsicon" src="/images/G-Earth.jpg" alt="Planet Earth"/>
-      </xsl:when>
     </xsl:choose>
 
     <div class="newsitem">






^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl
@ 2009-01-07  6:22 Xavier Neys (neysx)
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Neys (neysx) @ 2009-01-07  6:22 UTC (permalink / raw
  To: gentoo-commits

neysx       09/01/07 06:22:51

  Modified:             guide2.xsl
  Log:
  Forgot to remove xsl:mesage

Revision  Changes    Path
1.43                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.43&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.43&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.42&r2=1.43

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- guide2.xsl	6 Jan 2009 21:25:07 -0000	1.42
+++ guide2.xsl	7 Jan 2009 06:22:51 -0000	1.43
@@ -577,24 +577,17 @@
                  </xsl:for-each>
                 </xsl:variable>
 
-        <xsl:message><xsl:value-of select="concat('&#10;', 'New group&#10;')"/></xsl:message>
                 <xsl:for-each select="exslt:node-set($sortedblogentries)/tr">
                   <xsl:variable name="blogposter" select="ti[1]"/>
                    <tr>
-                    <xsl:message><xsl:value-of select="concat('&#10;', preceding-sibling::tr[1]/ti[1],':-1:',preceding-sibling::tr[1]/ti[2],'&#10;')"/></xsl:message>
-                    <xsl:message><xsl:value-of select="concat(ti[1],'::',ti[2],'&#10;')"/></xsl:message>
-                    <xsl:message><xsl:value-of select="concat(following-sibling::tr[1]/ti[1],':+1:',following-sibling::tr[1]/ti[2],'&#10;')"/></xsl:message>
                     <xsl:choose>
                       <xsl:when test="preceding-sibling::tr[1]/ti[1]/text()=$blogposter">
-                    <xsl:message><xsl:value-of select="concat('&#9;Inside block','&#10;')"/></xsl:message>
                       </xsl:when>
                       <xsl:when test="following-sibling::tr[1]/ti[1]/text()=$blogposter">
                        <ti rowspan="{1+count(following-sibling::tr[ti[1]/text()=$blogposter])}"><xsl:value-of select="ti[1]"/></ti>
-                    <xsl:message><xsl:value-of select="concat('&#9;New block, count=', 1+count(following-sibling::tr[ti[1]/text()=$blogposter]), '&#10;')"/></xsl:message>
                       </xsl:when>
                       <xsl:otherwise>
                         <xsl:copy-of select="ti[1]"/>
-                    <xsl:message><xsl:value-of select="concat('&#9;cp ti','&#10;')"/></xsl:message>
                       </xsl:otherwise>
                     </xsl:choose>
                     <xsl:copy-of select="ti[2]"/>






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-07  6:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07  6:22 [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide2.xsl Xavier Neys (neysx)
  -- strict thread matches above, loose matches on Subject: below --
2008-12-31 21:06 Xavier Neys (neysx)
2008-11-23  9:04 Xavier Neys (neysx)
2008-11-01 13:19 Xavier Neys (neysx)
2008-09-28 15:52 Xavier Neys (neysx)
2008-09-28 15:45 Xavier Neys (neysx)
2008-02-05 18:14 Xavier Neys (neysx)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox