public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2007-09-07  9:15 Xavier Neys, French Docs Lead (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys, French Docs Lead (neysx) @ 2007-09-07  9:15 UTC (permalink / raw
  To: gentoo-commits

neysx       07/09/07 09:15:18

  Modified:             guide.xsl
  Log:
  #182572 Added opensearch entry for archives.gentoo.org

Revision  Changes    Path
1.218                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -r1.217 -r1.218
--- guide.xsl	30 Aug 2007 18:19:51 -0000	1.217
+++ guide.xsl	7 Sep 2007 09:15:17 -0000	1.218
@@ -158,6 +158,7 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
   <xsl:if test="//glsaindex or //glsa-latest">
     <link rel="alternate" type="application/rss+xml">
@@ -289,6 +290,7 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
   <xsl:if test="/mainpage/newsitems">
     <link rel="alternate" type="application/rss+xml" title="Gentoo Linux News RDF" href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" />



-- 
gentoo-commits@gentoo.org mailing list



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2007-10-04 19:38 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2007-10-04 19:38 UTC (permalink / raw
  To: gentoo-commits

neysx       07/10/04 19:38:45

  Modified:             guide.xsl
  Log:
  Added shortcut for gentoo devs in <mail>: <mail>nick</mail> is enough
  Commented out link to p.g.o until further notice

Revision  Changes    Path
1.220                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -r1.219 -r1.220
--- guide.xsl	14 Sep 2007 08:39:08 -0000	1.219
+++ guide.xsl	4 Oct 2007 19:38:44 -0000	1.220
@@ -39,16 +39,19 @@
 <!-- Where is this xsl being run? -->
 <xsl:param name="httphost">www</xsl:param>
 
-<!-- Get the list of retired devs from the roll-call -->
-<xsl:variable name="RETIRED-DEVS" xmlns="">
- <retired>
-  <xsl:for-each select="document('/proj/en/devrel/roll-call/userinfo.xml')/userlist/user[translate(status,'TIRED','tired')='retired']">
+<!-- Get the list of devs from the roll-call -->
+<xsl:variable name="ALL-DEVS" xmlns="">
+ <devs>
+  <xsl:for-each select="document('/proj/en/devrel/roll-call/userinfo.xml')/userlist/user">
     <user username="{@username}">
+     <xsl:if test="translate(status,'TIRED','tired')='retired'">
+      <xsl:attribute name="retired"/>
+     </xsl:if>
      <xsl:copy-of select="realname"/>
-     <xsl:copy-of select="email[substring-after(text(),'@')!='gentoo.org']"/>
+     <xsl:copy-of select="email"/>
     </user>
   </xsl:for-each>
- </retired>
+ </devs>
 </xsl:variable>
 
 <!-- img tag -->
@@ -157,7 +160,7 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+<!--  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/> -->
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
   <xsl:if test="//glsaindex or //glsa-latest">
@@ -289,7 +292,7 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+<!--  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/> -->
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
   <xsl:if test="/mainpage/newsitems">
@@ -544,8 +547,10 @@
                       </xsl:if> 
                     <xsl:text>Name and Logo Guidelines</xsl:text></a>
                     <br/>
+<!--
                     <a class="altlink" href="http://packages.gentoo.org/">Online Package Database</a>
                     <br/>
+-->
                     <a class="altlink" href="{concat($www,'/security/en/index.xml')}">Security Announcements</a>
                     <br/>
                     <a class="altlink" href="{concat($www,'/proj/en/devrel/staffing-needs/')}">Staffing&#xA0;Needs</a>
@@ -672,63 +677,121 @@
     <xsl:otherwise>/main/en/contact.xml</xsl:otherwise>
    </xsl:choose>
   </xsl:variable>
-Copyright 2001-<xsl:value-of select="substring(func:today(),1,4)"/> Gentoo Foundation, Inc.  Questions, Comments? <a class="highlight" href="{concat($www, $contact)}">Contact us</a>.
+Copyright 2001-<xsl:value-of select="substring(func:today(),1,4)"/> Gentoo Foundation, Inc. Questions, Comments? <a class="highlight" href="{concat($www, $contact)}">Contact us</a>.
 </xsl:template>
 
 <!-- Mail template -->
 <xsl:template match="mail">
-<a>
- <xsl:attribute name="href">
+<xsl:if test="string-length(@link)>0 or string-length(.)>0">
+ <xsl:variable name="gnick">
+  <xsl:choose>
+   <xsl:when test="string-length(@link)=0 and not(contains(text(),'@'))">
+     <!-- <mail>nick</mail> -->
+     <xsl:value-of select="."/>
+   </xsl:when>
+   <xsl:when test="string-length(@link)=0 and contains(text(),'@gentoo.org')">
+     <!-- <mail>nick@gentoo.org</mail> -->
+     <xsl:value-of select="substring-before(., '@')"/>
+   </xsl:when>
+   <xsl:when test="string-length(@link)>0 and not(contains(@link,'@'))">
+     <!-- <mail link="nick">blah blah</mail> -->
+     <xsl:value-of select="@link"/>
+   </xsl:when>
+   <xsl:when test="contains(@link,'@gentoo.org')">
+     <!-- <mail link="nick@gentoo.org">blah blah</mail> -->
+     <xsl:value-of select="substring-before(@link, '@gentoo.org')"/>
+   </xsl:when>
+  </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="gmail">
+  <xsl:if test="string-length($gnick)>0">
    <xsl:choose>
-    <xsl:when test="@link">
-      <xsl:value-of select="concat('mailto:', @link)"/>
+    <xsl:when test="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick and @retired]">
+     <xsl:value-of select="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/email[substring-after(text(),'@')!='gentoo.org'][1]"/>
     </xsl:when>
     <xsl:otherwise>
-      <xsl:value-of select="concat('mailto:', .)"/>
+     <xsl:value-of select="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/email[substring-after(text(),'@')='gentoo.org'][1]"/>
     </xsl:otherwise>
    </xsl:choose>
- </xsl:attribute>
- <xsl:value-of select="."/>
-</a>
+  </xsl:if>
+ </xsl:variable>
 
-</xsl:template>
+ <xsl:variable name="gname">
+  <xsl:if test="string-length($gnick)>0">
+   <xsl:choose>
+    <xsl:when test="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/realname/@fullname">
+     <xsl:value-of select="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/realname/@fullname"/>
+    </xsl:when>
+    <xsl:when test="exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/realname[firstname or familyname]">
+     <xsl:value-of select="concat(exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/realname/firstname,' ',exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick]/realname/familyname)"/>
+    </xsl:when>
+   </xsl:choose>
+  </xsl:if>
+ </xsl:variable>
 
-<!-- Mail inside <author>...</author> -->
-<xsl:template match="/*[1]/author/mail">
-  <xsl:variable name="nick" select="substring-before(@link,'@gentoo.org')"/>
+ <xsl:variable name="href">
   <xsl:choose>
-    <xsl:when test="substring-after(@link,'@')='gentoo.org' and exslt:node-set($RETIRED-DEVS)/retired/user[@username=$nick]">
-      <!-- @gentoo.org address of a retired dev, use another email from roll-call, or no email at all -->
-      <xsl:choose>
-        <xsl:when test="exslt:node-set($RETIRED-DEVS)/retired/user[@username=$nick]/email">
-          <b><a class="altlink" href="mailto:{exslt:node-set($RETIRED-DEVS)/retired/user[@username=$nick]/email[1]}"><xsl:value-of select="."/></a></b>
-        </xsl:when>
-        <xsl:otherwise>
-          <xsl:value-of select="."/>
-        </xsl:otherwise>
-      </xsl:choose>
+  <xsl:when test="string-length($gname)>0 and string-length($gmail)=0 and exslt:node-set($ALL-DEVS)/devs/user[@username=$gnick and @retired]"/>
+    <xsl:when test="string-length($gmail)>0">
+      <xsl:value-of select="concat('mailto:', $gmail)"/>
+    </xsl:when>
+    <xsl:when test="string-length(@link)>0">
+      <xsl:value-of select="concat('mailto:', @link)"/>
+    </xsl:when>
+    <xsl:when test="string-length(.)>0">
+      <xsl:value-of select="concat('mailto:', .)"/>
+    </xsl:when>
+  </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="content">
+   <xsl:choose>
+    <xsl:when test="string-length(@link)>0 and string-length(.)>0">
+     <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="string-length($gname)>0">
+     <xsl:value-of select="$gname"/>
+    </xsl:when>
+    <xsl:when test="string-length($gnick)>0">
+     <xsl:value-of select="$gnick"/>
     </xsl:when>
     <xsl:otherwise>
-      <b><a class="altlink" href="mailto:{@link}"><xsl:value-of select="."/></a></b>
+     <xsl:value-of select="."/>
     </xsl:otherwise>
-  </xsl:choose>
+   </xsl:choose>
+ </xsl:variable>
 
+ <xsl:choose>
+  <xsl:when test="string-length($href)>0">
+   <a href="{$href}">
+     <xsl:choose>
+      <xsl:when test="name(..)='author'">
+       <xsl:attribute name="class">altlink</xsl:attribute>
+       <b><xsl:value-of select="$content"/></b>
+      </xsl:when>
+      <xsl:otherwise>
+       <xsl:value-of select="$content"/>
+      </xsl:otherwise>
+     </xsl:choose>
+   </a>
+  </xsl:when>
+  <xsl:otherwise><xsl:value-of select="$content"/></xsl:otherwise>
+ </xsl:choose>
+
+</xsl:if>
 </xsl:template>
 
 <!-- Author -->
 <xsl:template match="author">
-<xsl:apply-templates/>
+  <xsl:apply-templates/>
   <xsl:if test="@title">
-    <xsl:if test="$style != 'printable'">
-      <br/>
-    </xsl:if>
-    <xsl:if test="$style = 'printable'">&#160;</xsl:if>
+    <xsl:if test="$style != 'printable'"><br/></xsl:if>
+    <xsl:if test="$style  = 'printable'">&#160;</xsl:if>
     <i><xsl:value-of select="@title"/></i>
   </xsl:if>
   <br/>
-  <xsl:if test="$style != 'printable' and position()!=last()">
-    <br/>
-  </xsl:if>
+  <xsl:if test="$style != 'printable' and position() != last()"><br/></xsl:if>
 </xsl:template>
 
 <!-- FAQ Index & Chapter -->
@@ -1614,6 +1677,18 @@
 
 <xsl:template name="rhcol">
 <!-- Right-hand column with date/authors/ads -->
+
+  <xsl:variable name="images">
+    <!-- Source images from www.gentoo.org when on another server to
+         prevent missing images after an update -->
+    <xsl:choose>
+      <xsl:when test="$httphost != 'www'">http://www.gentoo.org/</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$ROOT"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
   <table border="0" cellspacing="4px" cellpadding="4px">
     <!-- Add a "printer-friendly" button when link attribute exists -->
     <xsl:if test="/book or /guide">
@@ -1746,7 +1821,7 @@
     <tr lang="en">
     <td align="center" class="topsep">
             <a href="http://www.vr.org">
-	    <img src="{concat($ROOT,'images/vr-ad.png')}" width="125" height="144" alt="Gentoo Centric Hosting: vr.org" border="0"/>
+	    <img src="{concat($images,'images/vr-ad.png')}" width="125" height="144" alt="Gentoo Centric Hosting: vr.org" border="0"/>
         </a>
 	    <p class="alttext">
 	      <a href="http://www.vr.org/">VR Hosted</a>
@@ -1756,7 +1831,7 @@
     <tr lang="en">
       <td align="center" class="topsep">
       <a href="http://www.tek.net" target="_top">
-        <img src="{concat($ROOT,'images/tek-gentoo.gif')}" width="125" height="125" alt="Tek Alchemy" border="0"/>
+        <img src="{concat($images,'images/tek-gentoo.gif')}" width="125" height="125" alt="Tek Alchemy" border="0"/>
       </a>
       <p class="alttext">
 	  <a href="http://www.tek.net/">Tek Alchemy</a>
@@ -1766,7 +1841,7 @@
     <tr lang="en">
     <td align="center" class="topsep">
       <a href="http://www.sevenl.net" target="_top">
-        <img src="{concat($ROOT,'images/sponsors/sevenl.gif')}" width="125" height="144" alt="SevenL.net" border="0"/>
+        <img src="{concat($images,'images/sponsors/sevenl.gif')}" width="125" height="144" alt="SevenL.net" border="0"/>
       </a>
       <p class="alttext">
 	  <a href="http://www.sevenl.net/">SevenL.net</a>
@@ -1776,7 +1851,7 @@
     <tr lang="en">
     <td align="center" class="topsep">
         <a href="http://www.gni.com" target="_top">
-          <img src="{concat($ROOT,'images/gni_logo.png')}" width="125" alt="Global Netoptex Inc." border="0"/>
+          <img src="{concat($images,'images/gni_logo.png')}" width="125" alt="Global Netoptex Inc." border="0"/>
       </a>
       <p class="alttext">
 	  <a href="http://www.gni.com">Global Netoptex Inc.</a>



-- 
gentoo-commits@gentoo.org mailing list



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2007-11-06  0:09 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2007-11-06  0:09 UTC (permalink / raw
  To: gentoo-commits

neysx       07/11/06 00:09:04

  Modified:             guide.xsl
  Log:
  Test for removed chapters

Revision  Changes    Path
1.222                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -r1.221 -r1.222
--- guide.xsl	10 Oct 2007 10:04:27 -0000	1.221
+++ guide.xsl	6 Nov 2007 00:09:04 -0000	1.222
@@ -1438,13 +1438,13 @@
           <!-- Compare versions in master files -->
           <xsl:if test="$original/book/version != $translation/book/version">X</xsl:if>
           <!-- Compare versions in original chapters vs. translated chapters that have the same position -->
-          <xsl:for-each select="$original/book/part">
+          <xsl:for-each select="$translation/book/part">
             <xsl:variable name="part" select="position()"/>
             <xsl:for-each select="chapter">
               <xsl:variable name="chap" select="position()"/>
               <xsl:variable name="ov" select="document($original/book/part[$part]/chapter[$chap]/include/@href)/sections/version"/>
               <xsl:variable name="tv" select="document($translation/book/part[$part]/chapter[$chap]/include/@href)/sections/version"/>
-              <xsl:if test="$ov != $tv or not($tv)">X</xsl:if>
+              <xsl:if test="$ov != $tv or not($tv) or not($ov)">X</xsl:if>
             </xsl:for-each>
           </xsl:for-each>
         </xsl:when>
@@ -1456,6 +1456,7 @@
         <!-- Compare chapters at same position (/$part/$chap/) in English handbook and in translated one -->
           <xsl:variable name="ov" select="document($original/book/part[position()=$part]/chapter[position()=$chap]/include/@href)/sections/version"/>
           <xsl:variable name="tv" select="document($translation/book/part[position()=$part]/chapter[position()=$chap]/include/@href)/sections/version"/>
+          <xsl:if test="not ($ov)">NoOriginal</xsl:if>
           <xsl:if test="$ov != $tv or not($tv)">X</xsl:if>
         </xsl:otherwise>
       </xsl:choose>
@@ -1559,20 +1560,25 @@
                 <xsl:with-param name="translation" select ="/"/>
               </xsl:call-template>
             </xsl:variable>
-            <xsl:if test="string-length($versions) > 0">
-              <xsl:variable name="pdocdate">
-                <xsl:call-template name="maxdate">
-                  <xsl:with-param name="thedoc" select="document($pfile)"/>
-                </xsl:call-template>
-              </xsl:variable>
-              <xsl:variable name="res">
-                <xsl:apply-templates select="func:gettext('Outdated')">
-                  <xsl:with-param name="docdate" select="$pdocdate"/>
-                  <xsl:with-param name="paramlink" select="$pfile"/>
-                </xsl:apply-templates>
-              </xsl:variable>
-              <xsl:copy-of select="$res"/>
-            </xsl:if>
+            <xsl:choose>
+              <xsl:when test="contains($versions,'NoOriginal')">
+                <xsl:value-of select="func:gettext('NoOriginal')"/>
+              </xsl:when>
+              <xsl:when test="string-length($versions) > 0">
+                <xsl:variable name="pdocdate">
+                  <xsl:call-template name="maxdate">
+                    <xsl:with-param name="thedoc" select="document($pfile)"/>
+                  </xsl:call-template>
+                </xsl:variable>
+                <xsl:variable name="res">
+                  <xsl:apply-templates select="func:gettext('Outdated')">
+                    <xsl:with-param name="docdate" select="$pdocdate"/>
+                    <xsl:with-param name="paramlink" select="$pfile"/>
+                  </xsl:apply-templates>
+                </xsl:variable>
+                <xsl:copy-of select="$res"/>
+              </xsl:when>
+            </xsl:choose>
           </xsl:otherwise>
         </xsl:choose>
       </xsl:otherwise>



-- 
gentoo-commits@gentoo.org mailing list



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2007-11-15  8:16 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2007-11-15  8:16 UTC (permalink / raw
  To: gentoo-commits

neysx       07/11/15 08:16:43

  Modified:             guide.xsl
  Log:
  Uncomment link to p.g.o

Revision  Changes    Path
1.223                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -r1.222 -r1.223
--- guide.xsl	6 Nov 2007 00:09:04 -0000	1.222
+++ guide.xsl	15 Nov 2007 08:16:42 -0000	1.223
@@ -534,10 +534,8 @@
                       </xsl:if> 
                     <xsl:text>Name and Logo Guidelines</xsl:text></a>
                     <br/>
-<!--
                     <a class="altlink" href="http://packages.gentoo.org/">Online Package Database</a>
                     <br/>
--->
                     <a class="altlink" href="{concat($www,'/security/en/index.xml')}">Security Announcements</a>
                     <br/>
                     <a class="altlink" href="{concat($www,'/proj/en/devrel/staffing-needs/')}">Staffing&#xA0;Needs</a>



-- 
gentoo-commits@gentoo.org mailing list



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

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

neysx       08/01/19 14:18:48

  Modified:             guide.xsl
  Log:
  Allow redirect on mainpage as well

Revision  Changes    Path
1.226                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.225
retrieving revision 1.226
diff -u -r1.225 -r1.226
--- guide.xsl	15 Jan 2008 19:00:27 -0000	1.225
+++ guide.xsl	19 Jan 2008 14:18:48 -0000	1.226
@@ -149,7 +149,7 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
-<!--  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/> -->
+  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
   <xsl:if test="//glsaindex or //glsa-latest">
@@ -284,6 +284,17 @@
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
   <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
   
+  <xsl:if test="/*[1][@redirect]">
+    <!-- Immediate HTML refresh in case redirect is not supported -->
+    <meta http-equiv="Refresh">
+      <xsl:attribute name="content"><xsl:value-of select="concat('0; URL=', /*[1]/@redirect)"/></xsl:attribute>
+    </meta>
+    <xsl:message>
+      <!-- Redirect using http header when supported -->
+      <xsl:value-of select="concat('%%GORG%%Redirect=',/*[1]/@redirect)"/>
+    </xsl:message>
+  </xsl:if>    
+
   <xsl:if test="/mainpage/newsitems">
     <link rel="alternate" type="application/rss+xml" title="Gentoo Linux News RDF" href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" />
   </xsl:if>



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



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2008-01-22 20:36 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2008-01-22 20:36 UTC (permalink / raw
  To: gentoo-commits

neysx       08/01/22 20:36:56

  Modified:             guide.xsl
  Log:
  s/GWN/GMN/

Revision  Changes    Path
1.227                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.226
retrieving revision 1.227
diff -u -r1.226 -r1.227
--- guide.xsl	19 Jan 2008 14:18:48 -0000	1.226
+++ guide.xsl	22 Jan 2008 20:36:55 -0000	1.227
@@ -387,17 +387,17 @@
         | <a class="menulink" href="http://bugs.gentoo.org">Bugs</a>
         | <a class="menulink" href="http://www.cafepress.com/officialgentoo/">Store</a>
         |
-        <a class="menulink" href="{concat($www,'/news/en/gwn/gwn.xml')}">
+        <a class="menulink" href="{concat($www,'/news/en/gmn/')}">
          <xsl:choose>
-          <xsl:when test="starts-with($tpath, '/news/**/gwn/')">
+          <xsl:when test="starts-with($tpath, '/news/**/gmn/')">
             <xsl:attribute name="class">highlight</xsl:attribute>
             <xsl:attribute name="href"><xsl:value-of select="$link"/></xsl:attribute>
           </xsl:when> 
-          <xsl:when test="not($isEnglish='Y' or document(concat('/news/', $glang, '/gwn/gwn.xml'))/missing)">
-            <xsl:attribute name="href"><xsl:value-of select="concat('/news/',$glang,'/gwn/gwn.xml')"/></xsl:attribute>
+          <xsl:when test="not($isEnglish='Y' or document(concat('/news/', $glang, '/gmn/index.xml'))/missing)">
+            <xsl:attribute name="href"><xsl:value-of select="concat('/news/',$glang,'/gmn/index.xml')"/></xsl:attribute>
           </xsl:when> 
          </xsl:choose>
-        GWN</a>
+        GMN</a>
         |
         <a class="menulink" href="{concat($www,'/main/en/where.xml')}">
          <xsl:choose>



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



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

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

neysx       08/03/09 13:01:56

  Modified:             guide.xsl
  Log:
  Allow align on <th> for rane

Revision  Changes    Path
1.228                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- guide.xsl	22 Jan 2008 20:36:55 -0000	1.227
+++ guide.xsl	9 Mar 2008 13:01:55 -0000	1.228
@@ -1402,16 +1402,14 @@
 </xsl:template>
 
 <!-- Table Heading, no idea why <th> hasn't been used -->
+<!-- 2008-03-09: th uses th, default is align:left for historical reasons -->
 <xsl:template match="th">
-<td class="infohead">
+<th class="infohead">
+  <xsl:if test="@align='left' or @align='right'">
+    <xsl:attribute name="style"><xsl:value-of select="concat('text-align:',@align)"/></xsl:attribute>
+  </xsl:if>
   <xsl:if test="@colspan">
     <xsl:attribute name="colspan"><xsl:value-of select="@colspan"/></xsl:attribute>
-    <!-- Center only when item spans several columns as
-         centering all <th> might disrupt some pages.
-         We might want to use a plain html <th> tag later.
-         Tip: to center a single-cell title, use <th colspan="1">
-       -->
-    <xsl:attribute name="style">text-align:center</xsl:attribute>
   </xsl:if>
   <xsl:if test="@rowspan">
     <xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute>
@@ -1419,7 +1417,7 @@
   <b>
     <xsl:apply-templates/>
   </b>
-</td>
+</th>
 </xsl:template>
 
 <!-- Unnumbered List -->



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



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2008-03-28 23:35 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2008-03-28 23:35 UTC (permalink / raw
  To: gentoo-commits

neysx       08/03/28 23:35:34

  Modified:             guide.xsl
  Log:
  #215255 Added OSL logo

Revision  Changes    Path
1.229                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.228
retrieving revision 1.229
diff -u -r1.228 -r1.229
--- guide.xsl	9 Mar 2008 13:01:55 -0000	1.228
+++ guide.xsl	28 Mar 2008 23:35:33 -0000	1.229
@@ -1807,6 +1807,16 @@
     </tr>
     <tr lang="en">
     <td align="center" class="topsep">
+            <a href="http://osuosl.org/contribute">
+	    <img src="{concat($images,'images/osuosl.png')}" width="125" height="50" alt="Support OSL" border="0"/>
+        </a>
+	    <p class="alttext">
+	      <a href="http://osuosl.org/contribute">Support OSL</a>
+	    </p>
+    </td>
+    </tr>
+    <tr lang="en">
+    <td align="center" class="topsep">
             <a href="http://www.vr.org">
 	    <img src="{concat($images,'images/vr-ad.png')}" width="125" height="144" alt="Gentoo Centric Hosting: vr.org" border="0"/>
         </a>



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



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2008-05-09 19:18 Ned Ludd (solar)
  0 siblings, 0 replies; 30+ messages in thread
From: Ned Ludd (solar) @ 2008-05-09 19:18 UTC (permalink / raw
  To: gentoo-commits

solar       08/05/09 19:18:46

  Modified:             guide.xsl
  Log:
  - Linux World Logo. Keep active till Aug-08-2008

Revision  Changes    Path
1.231                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -r1.230 -r1.231
--- guide.xsl	30 Mar 2008 16:31:37 -0000	1.230
+++ guide.xsl	9 May 2008 19:18:45 -0000	1.231
@@ -1855,6 +1855,16 @@
       </p>
     </td>
     </tr>
+    <tr lang="en">
+    <td align="center" class="topsep">
+        <a href="http://www.linuxworldexpo.com" target="_top">
+          <img src="{concat($images,'images/Linuxworld125X125.gif')}" width="125" alt="Linux World Expo" border="0"/>
+      </a>
+      <p class="alttext">
+	  <a href="http://www.gni.com">Linux World Expo</a>
+      </p>
+    </td>
+    </tr>
     <tr>
     <td align="center" class="topsep"/>
     </tr>



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



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2008-05-09 19:57 Ned Ludd (solar)
  0 siblings, 0 replies; 30+ messages in thread
From: Ned Ludd (solar) @ 2008-05-09 19:57 UTC (permalink / raw
  To: gentoo-commits

solar       08/05/09 19:57:00

  Modified:             guide.xsl
  Log:
  - make sure linuxworld text points to http://www.linuxworldexpo.com

Revision  Changes    Path
1.232                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -r1.231 -r1.232
--- guide.xsl	9 May 2008 19:18:45 -0000	1.231
+++ guide.xsl	9 May 2008 19:57:00 -0000	1.232
@@ -1861,7 +1861,7 @@
           <img src="{concat($images,'images/Linuxworld125X125.gif')}" width="125" alt="Linux World Expo" border="0"/>
       </a>
       <p class="alttext">
-	  <a href="http://www.gni.com">Linux World Expo</a>
+	  <a href="http://www.linuxworldexpo.com">Linux World Expo</a>
       </p>
     </td>
     </tr>



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



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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2008-09-03 21:46 Joshua Saddler (nightmorph)
  0 siblings, 0 replies; 30+ messages in thread
From: Joshua Saddler (nightmorph) @ 2008-09-03 21:46 UTC (permalink / raw
  To: gentoo-commits

nightmorph    08/09/03 21:46:07

  Modified:             guide.xsl
  Log:
  switching the page title for bug 236589

Revision  Changes    Path
1.237                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -r1.236 -r1.237
--- guide.xsl	8 Aug 2008 23:27:20 -0000	1.236
+++ guide.xsl	3 Sep 2008 21:46:06 -0000	1.237
@@ -176,16 +176,20 @@
 
 <title>
   <xsl:choose>
-    <xsl:when test="/guide/@type='project'">Gentoo Linux Projects</xsl:when>
-    <xsl:when test="/guide/@type='newsletter'">Gentoo Linux Newsletter</xsl:when>
-    <xsl:when test="/sections">Gentoo Linux Handbook Page</xsl:when>
-    <xsl:otherwise><xsl:value-of select="func:gettext('GLinuxDoc')"/></xsl:otherwise>
+    <xsl:when test="/guide/@type='project'">Gentoo Linux Projects — </xsl:when>
+    <xsl:when test="/guide/@type='newsletter'">Gentoo Linux Newsletter — </xsl:when>
+    <xsl:when test="/sections">Gentoo Linux Handbook Page — </xsl:when>
   </xsl:choose>
---
   <xsl:choose>
     <xsl:when test="subtitle"><xsl:if test="/guide/@type!='newsletter'"><xsl:value-of select="title"/>:</xsl:if> <xsl:value-of select="subtitle"/></xsl:when>
     <xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise>
   </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="/guide/@type='project'"/>
+    <xsl:when test="/guide/@type='newsletter'"/>
+    <xsl:when test="/sections"/>
+    <xsl:otherwise> — <xsl:value-of select="func:gettext('GLinuxDoc')"/></xsl:otherwise>
+  </xsl:choose>
 </title>
 
 </head>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2009-02-01 15:00 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2009-02-01 15:00 UTC (permalink / raw
  To: gentoo-commits

neysx       09/02/01 15:00:31

  Modified:             guide.xsl
  Log:
  Extracted ads into single file

Revision  Changes    Path
1.241                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -r1.240 -r1.241
--- guide.xsl	31 Jan 2009 15:42:58 -0000	1.240
+++ guide.xsl	1 Feb 2009 15:00:31 -0000	1.241
@@ -32,6 +32,8 @@
 
 <xsl:include href="/xsl/doc-struct.xsl" />
 
+<xsl:include href="/xsl/ads.xsl" />
+
 <!-- When using <pre>, whitespaces should be preserved -->
 <xsl:preserve-space elements="pre script"/>
 
@@ -1870,66 +1872,9 @@
         </form>
       </td>
     </tr>
-	<!-- VR -->
-    <tr lang="en">
-    <td align="center" class="topsep">
-            <a href="http://www.vr.org">
-	    <img src="{concat($images,'images/vr-ad.png')}" width="125" height="144" alt="Gentoo Centric Hosting: vr.org" border="0"/>
-        </a>
-	    <p class="alttext">
-	      <a href="http://www.vr.org/">VR Hosted</a>
-	    </p>
-    </td>
-    </tr>
-	<!-- /VR -->
-	<!-- Tek -->
-    <tr lang="en">
-      <td align="center" class="topsep">
-      <a href="http://www.tek.net" target="_top">
-        <img src="{concat($images,'images/tek-gentoo.gif')}" width="125" height="125" alt="Tek Alchemy" border="0"/>
-      </a>
-      <p class="alttext">
-	  <a href="http://www.tek.net/">Tek Alchemy</a>
-      </p>
-      </td>
-    </tr>
-	<!-- /Tek -->
-	<!-- SevenL -->
-    <tr lang="en">
-    <td align="center" class="topsep">
-      <a href="http://www.sevenl.net" target="_top">
-        <img src="{concat($images,'images/sponsors/sevenl.gif')}" width="125" height="144" alt="SevenL.net" border="0"/>
-      </a>
-      <p class="alttext">
-	  <a href="http://www.sevenl.net/">SevenL.net</a>
-      </p>
-    </td>
-    </tr>
-	<!-- /SevenL -->
-	<!-- bytemark -->
-    <tr lang="en">
-    <td align="center" class="topsep">
-        <a href="http://www.bytemark.co.uk/r/gentoo-home" target="_top">
-          <img src="{concat($images,'images/sponsors/bytemark_ad.png')}" width="125" alt="Bytemark" border="0"/>
-      </a>
-      <p class="alttext">
-	  <a href="http://www.bytemark.co.uk/r/gentoo-home">Bytemark</a>
-      </p>
-    </td>
-    </tr>
-	<!-- /bytemark -->
-	<!-- GNi -->
-    <tr lang="en">
-    <td align="center" class="topsep">
-        <a href="http://www.gni.com" target="_top">
-          <img src="{concat($images,'images/gni_logo.png')}" width="125" alt="Global Netoptex Inc." border="0"/>
-      </a>
-      <p class="alttext">
-	  <a href="http://www.gni.com">Global Netoptex Inc.</a>
-      </p>
-    </td>
-    </tr>
-	<!-- /GNi -->
+    <xsl:call-template name="ads">
+     <xsl:with-param name="images" select="$images"/>
+    </xsl:call-template>
     <tr>
     <td align="center" class="topsep"/>
     </tr>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2009-06-17  1:29 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2009-06-17  1:29 UTC (permalink / raw
  To: gentoo-commits

robbat2     09/06/17 01:29:38

  Modified:             guide.xsl
  Log:
  This was a tag attribute used for archives.g.o, to get a code listing block without the caption bar at all. It got dropped at some point, re-adding now to sync up archives XSL.

Revision  Changes    Path
1.242                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.241
retrieving revision 1.242
diff -p -w -b -B -u -u -r1.241 -r1.242
--- guide.xsl	1 Feb 2009 15:00:31 -0000	1.241
+++ guide.xsl	17 Jun 2009 01:29:38 -0000	1.242
@@ -1160,6 +1160,7 @@ Copyright 2001-<xsl:value-of select="sub
 
     <a name="{$preid}"/>
     <table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
+      <xsl:if test="@plain!='true'">
       <tr>
         <td bgcolor="#7a5ada">
           <p class="codetitle">
@@ -1170,6 +1171,7 @@ Copyright 2001-<xsl:value-of select="sub
           </p>
         </td>
       </tr>
+      </xsl:if>
       <tr>
         <td bgcolor="#eeeeff" align="left" dir="ltr">
           <pre>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2009-06-26  3:48 Joshua Saddler (nightmorph)
  0 siblings, 0 replies; 30+ messages in thread
From: Joshua Saddler (nightmorph) @ 2009-06-26  3:48 UTC (permalink / raw
  To: gentoo-commits

nightmorph    09/06/26 03:48:42

  Modified:             guide.xsl
  Log:
  reverting robbat2's commit to 'fix' archives.gentoo.org, as it completely hosed every guidexml docuement we had. his change removed the Code Listing from every doc that had one. putting them back. we need to find some other solution for archives.gentoo.org that doesn't hurt all our other docs.

Revision  Changes    Path
1.243                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -r1.242 -r1.243
--- guide.xsl	17 Jun 2009 01:29:38 -0000	1.242
+++ guide.xsl	26 Jun 2009 03:48:42 -0000	1.243
@@ -1160,7 +1160,6 @@
 
     <a name="{$preid}"/>
     <table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
-      <xsl:if test="@plain!='true'">
         <tr>
           <td bgcolor="#7a5ada">
             <p class="codetitle">
@@ -1171,7 +1170,6 @@
             </p>
           </td>
         </tr>
-      </xsl:if>
       <tr>
         <td bgcolor="#eeeeff" align="left" dir="ltr">
           <pre>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2009-06-26 16:31 Xavier Neys (neysx)
  0 siblings, 0 replies; 30+ messages in thread
From: Xavier Neys (neysx) @ 2009-06-26 16:31 UTC (permalink / raw
  To: gentoo-commits

neysx       09/06/26 16:31:39

  Modified:             guide.xsl
  Log:
  Do not display header on <pre> tags on archives.g.o

Revision  Changes    Path
1.244                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.243
retrieving revision 1.244
diff -u -r1.243 -r1.244
--- guide.xsl	26 Jun 2009 03:48:42 -0000	1.243
+++ guide.xsl	26 Jun 2009 16:31:39 -0000	1.244
@@ -1160,6 +1160,7 @@
 
     <a name="{$preid}"/>
     <table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
+      <xsl:if test="not($httphost='archives')">
         <tr>
           <td bgcolor="#7a5ada">
             <p class="codetitle">
@@ -1170,6 +1171,7 @@
             </p>
           </td>
         </tr>
+      </xsl:if>
       <tr>
         <td bgcolor="#eeeeff" align="left" dir="ltr">
           <pre>






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

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

neysx       09/07/01 16:33:54

  Modified:             guide.xsl
  Log:
  Special for Gentoo's anniversary

Revision  Changes    Path
1.245                xml/htdocs/xsl/guide.xsl

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

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.244
retrieving revision 1.245
diff -u -r1.244 -r1.245
--- guide.xsl	26 Jun 2009 16:31:39 -0000	1.244
+++ guide.xsl	1 Jul 2009 16:33:54 -0000	1.245
@@ -1911,6 +1911,9 @@
     </p>
 
     <xsl:choose>
+      <xsl:when test="$thenews/@category='birthday'">
+        <img class="newsicon" src="/images/birthday_cake.png" alt="Happy Birthday"/>
+      </xsl:when>
       <xsl:when test="$thenews/@category='gentoo'">
         <img class="newsicon" src="/images/icon-gentoo.png" alt="gentoo"/>
       </xsl:when>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2010-06-18  4:49 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2010-06-18  4:49 UTC (permalink / raw
  To: gentoo-commits

robbat2     10/06/18 04:49:12

  Modified:             guide.xsl
  Log:
  Oops, call correct template when ads=ads2.

Revision  Changes    Path
1.248                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.248&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.248&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.247&r2=1.248

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.247
retrieving revision 1.248
diff -p -w -b -B -u -u -r1.247 -r1.248
--- guide.xsl	18 Jun 2010 04:30:51 -0000	1.247
+++ guide.xsl	18 Jun 2010 04:49:12 -0000	1.248
@@ -1914,7 +1914,7 @@ Copyright 2001-<xsl:value-of select="sub
     </tr>
     <xsl:choose>
 	  <xsl:when test="$ads='ads2'">
-	    <xsl:call-template name="ads">
+	    <xsl:call-template name="ads2">
           <xsl:with-param name="images" select="$images"/>
         </xsl:call-template>
 	  </xsl:when>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2010-06-18  5:21 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2010-06-18  5:21 UTC (permalink / raw
  To: gentoo-commits

robbat2     10/06/18 05:21:47

  Modified:             guide.xsl
  Log:
  Put the last cell inside the otherwise block to avoid a double seperator.

Revision  Changes    Path
1.249                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.249&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.249&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.248&r2=1.249

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.248
retrieving revision 1.249
diff -p -w -b -B -u -u -r1.248 -r1.249
--- guide.xsl	18 Jun 2010 04:49:12 -0000	1.248
+++ guide.xsl	18 Jun 2010 05:21:46 -0000	1.249
@@ -1923,10 +1923,10 @@ Copyright 2001-<xsl:value-of select="sub
           <xsl:with-param name="images" select="$images"/>
         </xsl:call-template>
 	  </xsl:otherwise>
-    </xsl:choose>
     <tr>
     <td align="center" class="topsep"/>
     </tr>
+    </xsl:choose>
   </table>
 </xsl:template>
 






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2010-07-08 22:34 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2010-07-08 22:34 UTC (permalink / raw
  To: gentoo-commits

robbat2     10/07/08 22:34:48

  Modified:             guide.xsl
  Log:
  Turn on ads2 sidebar.

Revision  Changes    Path
1.250                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.250&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.250&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.249&r2=1.250

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.249
retrieving revision 1.250
diff -p -w -b -B -u -u -r1.249 -r1.250
--- guide.xsl	18 Jun 2010 05:21:46 -0000	1.249
+++ guide.xsl	8 Jul 2010 22:34:48 -0000	1.250
@@ -48,7 +48,7 @@
 <xsl:param name="dev"/>
 
 <!-- testing ads mode -->
-<xsl:param name="ads">ads</xsl:param>
+<xsl:param name="ads">ads2</xsl:param>
 
 <!-- Where is this xsl being run? -->
 <xsl:param name="httphost">www</xsl:param>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2011-04-01  4:49 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2011-04-01  4:49 UTC (permalink / raw
  To: gentoo-commits

robbat2     11/04/01 04:49:18

  Modified:             guide.xsl
  Log:
  Bug #361035: front page lacks direct links to individual stories. Patch from jkt.

Revision  Changes    Path
1.251                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.251&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.251&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.250&r2=1.251

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.250
retrieving revision 1.251
diff -p -w -b -B -u -u -r1.250 -r1.251
--- guide.xsl	8 Jul 2010 22:34:48 -0000	1.250
+++ guide.xsl	1 Apr 2011 04:49:18 -0000	1.251
@@ -1937,7 +1937,7 @@ Copyright 2001-<xsl:value-of select="sub
 
   <div class="news">
     <p class="newshead" lang="en">
-      <b><xsl:value-of select="$thenews/title"/></b>
+      <a href="{$link}"><b><xsl:value-of select="$thenews/title"/></b></a>
       <br/>
       <font size="0.90em">
        <xsl:choose>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2011-11-29 18:57 Sven Vermeulen (swift)
  0 siblings, 0 replies; 30+ messages in thread
From: Sven Vermeulen (swift) @ 2011-11-29 18:57 UTC (permalink / raw
  To: gentoo-commits

swift       11/11/29 18:57:17

  Modified:             guide.xsl
  Log:
  Support <license version="2.5" /> and ..."3.0" tags
  
  With the DTD now supporting the version attribute, we now include support for the license version in the stylesheets, so
  that a document using this tag correctly displays the right license information.

Revision  Changes    Path
1.252                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.252&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.252&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.251&r2=1.252

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- guide.xsl	1 Apr 2011 04:49:18 -0000	1.251
+++ guide.xsl	29 Nov 2011 18:57:17 -0000	1.252
@@ -1562,12 +1562,29 @@
   <xsl:if test="$RTL='Y'">
     <xsl:attribute name="dir">RTL</xsl:attribute>
   </xsl:if>
-  <xsl:apply-templates select="func:gettext('License')"/>
+  <xsl:choose>
+    <xsl:when test="@version='2.5'">
+      <xsl:apply-templates select="func:gettext('License-2.5')"/>
+    </xsl:when>
+    <xsl:when test="@version='3.0'">
+      <xsl:apply-templates select="func:gettext('License-3.0')"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="func:gettext('License')"/>
+    </xsl:otherwise>
+  </xsl:choose>
 </p>
 <xsl:comment>
   &lt;rdf:RDF xmlns="http://web.resource.org/cc/"
       xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;
-  &lt;License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"&gt;
+  <xsl:choose>
+    <xsl:when test="@version">
+  &lt;License rdf:about="http://creativecommons.org/licenses/by-sa/<xsl:value-of select="@version" />/"&gt;
+    </xsl:when>
+    <xsl:otherwise>
+  &lt;license rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"&gt;
+    </xsl:otherwise>
+  </xsl:choose>
      &lt;permits rdf:resource="http://web.resource.org/cc/Reproduction" /&gt;
      &lt;permits rdf:resource="http://web.resource.org/cc/Distribution" /&gt;
      &lt;requires rdf:resource="http://web.resource.org/cc/Notice" /&gt;






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2012-06-18 10:30 Alec Warner (antarus)
  0 siblings, 0 replies; 30+ messages in thread
From: Alec Warner (antarus) @ 2012-06-18 10:30 UTC (permalink / raw
  To: gentoo-commits

antarus     12/06/18 10:30:52

  Modified:             guide.xsl
  Log:
  unbreak archives.gentoo.org...may break other sites, only time will tell..

Revision  Changes    Path
1.253                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.253&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.253&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.252&r2=1.253

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- guide.xsl	29 Nov 2011 18:57:17 -0000	1.252
+++ guide.xsl	18 Jun 2012 10:30:52 -0000	1.253
@@ -1352,7 +1352,7 @@
             <xsl:when test="starts-with($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi')"><xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi'))" /></xsl:when>
             <xsl:when test="starts-with($thelink, '/cgi-bin/viewcvs.cgi')"><xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, '/cgi-bin/viewcvs.cgi'))" /></xsl:when>
             <xsl:when test="$httphost='www' and starts-with($thelink, 'http://www.gentoo.org/')"><xsl:value-of select="substring-after($thelink, 'http://www.gentoo.org')" /></xsl:when>
-            <xsl:when test="not($httphost='www') and starts-with($thelink, '/') and not(starts-with($thelink, '/~'))"><xsl:value-of select="concat('http://www.gentoo.org', $thelink)" /></xsl:when>
+            <xsl:when test="not($httphost='www' or $httphost='archives') and starts-with($thelink, '/') and not(starts-with($thelink, '/~'))"><xsl:value-of select="concat('http://www.gentoo.org', $thelink)" /></xsl:when>
             <!-- Add catid to links to /doc/LL/index.xml -->
             <xsl:when test="$catid != '0' and starts-with($thelink, '/doc/') and (substring-after(substring-after($thelink, '/doc/'), '/')='' or substring-after(substring-after($thelink, '/doc/'), '/')='index.xml')">
               <xsl:value-of select="concat($thelink, '?catid=', $catid)"/>






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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09  1:13 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09  1:13 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 01:13:04

  Modified:             guide.xsl
  Log:
  Fix Paypal links to use SSL, old image URL does not have SSL support.

Revision  Changes    Path
1.254                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.254&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.254&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.253&r2=1.254

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.253
retrieving revision 1.254
diff -p -w -b -B -u -u -r1.253 -r1.254
--- guide.xsl	18 Jun 2012 10:30:52 -0000	1.253
+++ guide.xsl	9 Jun 2013 01:13:04 -0000	1.254
@@ -1922,10 +1922,10 @@ Copyright 2001-<xsl:value-of select="sub
           <input type="hidden" name="item_number" value="1000"/>
           <input type="hidden" name="image_url" value="/images/paypal.png"/>
           <input type="hidden" name="no_shipping" value="1"/>
-          <input type="hidden" name="return" value="http://www.gentoo.org"/>
-          <input type="hidden" name="cancel_return" value="http://www.gentoo.org"/>
+          <input type="hidden" name="return" value="https://www.gentoo.org"/>
+          <input type="hidden" name="cancel_return" value="https://www.gentoo.org"/>
 
-          <input type="image" src="http://images.paypal.com/images/x-click-but21.gif" name="submit" alt="Donate to Gentoo"/>
+          <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" name="submit" alt="Donate to Gentoo"/>
         </form>
       </td>
     </tr>





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09  1:15 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09  1:15 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 01:15:36

  Modified:             guide.xsl
  Log:
  More SSL linkage fixes.

Revision  Changes    Path
1.255                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.255&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.255&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.254&r2=1.255

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.254
retrieving revision 1.255
diff -p -w -b -B -u -u -r1.254 -r1.255
--- guide.xsl	9 Jun 2013 01:13:04 -0000	1.254
+++ guide.xsl	9 Jun 2013 01:15:36 -0000	1.255
@@ -126,7 +126,7 @@
     </xsl:when>
     <xsl:otherwise>
      <xsl:if test="count(exslt:node-set($doc-struct)//chapter)&gt;1">
-      <form name="contents" action="http://www.gentoo.org">
+      <form name="contents" action="//www.gentoo.org/">
         <b><xsl:value-of select="func:gettext('Content')"/></b>:
         <select name="url" size="1" OnChange="location.href=form.url.options[form.url.selectedIndex].value" style="font-family:sans-serif,Arial,Helvetica">
           <xsl:for-each select="exslt:node-set($doc-struct)//chapter">
@@ -167,11 +167,11 @@
   <link REL="shortcut icon" HREF="{concat($ROOT,'favicon.ico')}" TYPE="image/x-icon"/>
 
   <!-- Support for opensearch -->
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
 
   <xsl:if test="//glsaindex or //glsa-latest">
     <link rel="alternate" type="application/rss+xml">





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09 17:27 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09 17:27 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 17:27:35

  Modified:             guide.xsl
  Log:
  More protocol relative links.

Revision  Changes    Path
1.256                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.256&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.256&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.255&r2=1.256

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.255
retrieving revision 1.256
diff -p -w -b -B -u -u -r1.255 -r1.256
--- guide.xsl	9 Jun 2013 01:15:36 -0000	1.255
+++ guide.xsl	9 Jun 2013 17:27:35 -0000	1.256
@@ -299,11 +299,11 @@
   <link REL="shortcut icon" HREF="{concat($ROOT,'favicon.ico')}" TYPE="image/x-icon"/>
 
   <!-- Support for opensearch -->
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
-  <link rel="search" type="application/opensearchdescription+xml" href="http://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"/>
+  <link rel="search" type="application/opensearchdescription+xml" href="//www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"/>
 
   <xsl:if test="/*[1][@redirect]">
     <!-- Immediate HTML refresh in case redirect is not supported -->
@@ -317,7 +317,7 @@
   </xsl:if>
 
   <xsl:if test="/mainpage/newsitems">
-    <link rel="alternate" type="application/rss+xml" title="Gentoo Linux News RDF" href="http://www.gentoo.org/rdf/en/gentoo-news.rdf" />
+    <link rel="alternate" type="application/rss+xml" title="Gentoo Linux News RDF" href="//www.gentoo.org/rdf/en/gentoo-news.rdf" />
   </xsl:if>
   <xsl:choose>
     <xsl:when test="/mainpage | /news">
@@ -353,7 +353,7 @@
 </xsl:if>
 
 <table border="0" width="100%" cellspacing="0" cellpadding="0">
-  <xsl:variable name="www"><xsl:if test="$httphost!='www'">http://www.gentoo.org</xsl:if></xsl:variable>
+  <xsl:variable name="www"><xsl:if test="$httphost!='www'">//www.gentoo.org</xsl:if></xsl:variable>
   <tr>
     <td valign="top" height="125" width="1%" bgcolor="#45347b">
     <a href="{concat($www,'/')}"><img border="0" src="{concat($ROOT,'images/gtop-www.jpg')}" alt="Gentoo Logo"/></a>





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09 17:30 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09 17:30 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 17:30:10

  Modified:             guide.xsl
  Log:
  Even more protocol relative links.

Revision  Changes    Path
1.257                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.257&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.257&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.256&r2=1.257

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.256
retrieving revision 1.257
diff -p -w -b -B -u -u -r1.256 -r1.257
--- guide.xsl	9 Jun 2013 17:27:35 -0000	1.256
+++ guide.xsl	9 Jun 2013 17:30:10 -0000	1.257
@@ -488,7 +488,7 @@
             </xsl:choose>
             <xsl:value-of select="format-number(number(substring-before(substring-after(pubDate,' '),' ')),'00')"/>
            </xsl:variable>
-           <xsl:if test="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, 'http://www.gentoo.org/news'))]">
+           <xsl:if test="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, '//www.gentoo.org/news'))]">
              <newsitem date="{$postdate}" planet="{$pubDate}"/>
            </xsl:if>
          </xsl:if>
@@ -568,7 +568,7 @@
                 <xsl:variable name="blogentries" xmlns="">
                   <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'))]">
+                    <xsl:for-each select="$planet//item[substring(pubDate,1,16)=$pubDate  and  not(contains(link, '//www.gentoo.org/news'))]">
                      <tr>
                       <xsl:choose>
                        <xsl:when test="contains(title,': ')">
@@ -956,6 +956,9 @@ Copyright 2001-<xsl:value-of select="sub
       <xsl:when test="starts-with(@link,'http://www.gentoo.org/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, 'http://www.gentoo.org/'))"/>
       </xsl:when>
+      <xsl:when test="starts-with(@link,'https://www.gentoo.org/')">
+        <xsl:value-of select="concat($ROOT, substring-after(@link, 'https://www.gentoo.org/'))"/>
+      </xsl:when>
       <xsl:when test="starts-with(@link,'/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, '/'))"/>
       </xsl:when>
@@ -1004,6 +1007,9 @@ Copyright 2001-<xsl:value-of select="sub
       <xsl:when test="starts-with(@link,'http://www.gentoo.org/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, 'http://www.gentoo.org/'))"/>
       </xsl:when>
+      <xsl:when test="starts-with(@link,'https://www.gentoo.org/')">
+        <xsl:value-of select="concat($ROOT, substring-after(@link, 'https://www.gentoo.org/'))"/>
+      </xsl:when>
       <xsl:when test="starts-with(@link,'/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, '/'))"/>
       </xsl:when>





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09 17:31 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09 17:31 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 17:31:48

  Modified:             guide.xsl
  Log:
  Almost all the protocol relative links.

Revision  Changes    Path
1.258                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.258&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.258&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.257&r2=1.258

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.257
retrieving revision 1.258
diff -p -w -b -B -u -u -r1.257 -r1.258
--- guide.xsl	9 Jun 2013 17:30:10 -0000	1.257
+++ guide.xsl	9 Jun 2013 17:31:48 -0000	1.258
@@ -714,7 +714,7 @@
     <xsl:if test="string-length($glang)=0 or $glang='en'">Y</xsl:if>
   </xsl:variable>
   <xsl:variable name="www">
-    <xsl:if test="$httphost!='www'">http://www.gentoo.org</xsl:if>
+    <xsl:if test="$httphost!='www'">//www.gentoo.org</xsl:if>
   </xsl:variable>
   <xsl:variable name="contact">
    <xsl:choose>
@@ -1778,7 +1778,7 @@ Copyright 2001-<xsl:value-of select="sub
     <!-- Source images from www.gentoo.org when on another server to
          prevent missing images after an update -->
     <xsl:choose>
-      <xsl:when test="$httphost != 'www'">http://www.gentoo.org/</xsl:when>
+      <xsl:when test="$httphost != 'www'">//www.gentoo.org/</xsl:when>
       <xsl:otherwise>
         <xsl:value-of select="$ROOT"/>
       </xsl:otherwise>





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09 17:35 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09 17:35 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 17:35:37

  Modified:             guide.xsl
  Log:
  Whitespace only for readability.

Revision  Changes    Path
1.259                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.259&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.259&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.258&r2=1.259

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.258
retrieving revision 1.259
diff -p -w -b -B -u -u -r1.258 -r1.259
--- guide.xsl	9 Jun 2013 17:31:48 -0000	1.258
+++ guide.xsl	9 Jun 2013 17:35:37 -0000	1.259
@@ -1355,15 +1355,25 @@ Copyright 2001-<xsl:value-of select="sub
           -->
         <xsl:variable name="llink">
           <xsl:choose>
-            <xsl:when test="starts-with($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi')"><xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi'))" /></xsl:when>
-            <xsl:when test="starts-with($thelink, '/cgi-bin/viewcvs.cgi')"><xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, '/cgi-bin/viewcvs.cgi'))" /></xsl:when>
-            <xsl:when test="$httphost='www' and starts-with($thelink, 'http://www.gentoo.org/')"><xsl:value-of select="substring-after($thelink, 'http://www.gentoo.org')" /></xsl:when>
-            <xsl:when test="not($httphost='www' or $httphost='archives') and starts-with($thelink, '/') and not(starts-with($thelink, '/~'))"><xsl:value-of select="concat('http://www.gentoo.org', $thelink)" /></xsl:when>
+            <xsl:when test="starts-with($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi')">
+				<xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi'))" />
+			</xsl:when>
+            <xsl:when test="starts-with($thelink, '/cgi-bin/viewcvs.cgi')">
+				<xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, '/cgi-bin/viewcvs.cgi'))" />
+			</xsl:when>
+            <xsl:when test="$httphost='www' and starts-with($thelink, 'http://www.gentoo.org/')">
+				<xsl:value-of select="substring-after($thelink, 'http://www.gentoo.org')" />
+			</xsl:when>
+            <xsl:when test="not($httphost='www' or $httphost='archives') and starts-with($thelink, '/') and not(starts-with($thelink, '/~'))">
+				<xsl:value-of select="concat('http://www.gentoo.org', $thelink)" />
+			</xsl:when>
             <!-- Add catid to links to /doc/LL/index.xml -->
             <xsl:when test="$catid != '0' and starts-with($thelink, '/doc/') and (substring-after(substring-after($thelink, '/doc/'), '/')='' or substring-after(substring-after($thelink, '/doc/'), '/')='index.xml')">
               <xsl:value-of select="concat($thelink, '?catid=', $catid)"/>
             </xsl:when>
-            <xsl:otherwise><xsl:value-of select="$thelink" /></xsl:otherwise>
+            <xsl:otherwise>
+				<xsl:value-of select="$thelink" />
+			</xsl:otherwise>
           </xsl:choose>
         </xsl:variable>
 





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2013-06-09 18:10 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 30+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-06-09 18:10 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/06/09 18:10:31

  Modified:             guide.xsl
  Log:
  Trim some duplication by improving XSLT string handling for building URLs so protocol-relative URLs always work.

Revision  Changes    Path
1.260                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.260&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.260&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.259&r2=1.260

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.259
retrieving revision 1.260
diff -p -w -b -B -u -u -r1.259 -r1.260
--- guide.xsl	9 Jun 2013 17:35:37 -0000	1.259
+++ guide.xsl	9 Jun 2013 18:10:31 -0000	1.260
@@ -953,11 +953,8 @@ Copyright 2001-<xsl:value-of select="sub
 
   <xsl:variable name="llink">
     <xsl:choose>
-      <xsl:when test="starts-with(@link,'http://www.gentoo.org/')">
-        <xsl:value-of select="concat($ROOT, substring-after(@link, 'http://www.gentoo.org/'))"/>
-      </xsl:when>
-      <xsl:when test="starts-with(@link,'https://www.gentoo.org/')">
-        <xsl:value-of select="concat($ROOT, substring-after(@link, 'https://www.gentoo.org/'))"/>
+      <xsl:when test="contains(@link,'//www.gentoo.org/')">
+        <xsl:value-of select="concat($ROOT, substring-after(@link, '//www.gentoo.org/'))"/>
       </xsl:when>
       <xsl:when test="starts-with(@link,'/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, '/'))"/>
@@ -1004,11 +1001,8 @@ Copyright 2001-<xsl:value-of select="sub
 <xsl:template match="fig">
   <xsl:variable name="llink">
     <xsl:choose>
-      <xsl:when test="starts-with(@link,'http://www.gentoo.org/')">
-        <xsl:value-of select="concat($ROOT, substring-after(@link, 'http://www.gentoo.org/'))"/>
-      </xsl:when>
-      <xsl:when test="starts-with(@link,'https://www.gentoo.org/')">
-        <xsl:value-of select="concat($ROOT, substring-after(@link, 'https://www.gentoo.org/'))"/>
+      <xsl:when test="contains(@link,'//www.gentoo.org/')">
+        <xsl:value-of select="concat($ROOT, substring-after(@link, '//www.gentoo.org/'))"/>
       </xsl:when>
       <xsl:when test="starts-with(@link,'/')">
         <xsl:value-of select="concat($ROOT, substring-after(@link, '/'))"/>
@@ -1349,23 +1343,23 @@ Copyright 2001-<xsl:value-of select="sub
           </xsl:choose>
         </xsl:variable>
 
-        <!-- Strip http://www.gentoo.org from links if running on www.g.o
+        <!-- Strip https?://www.gentoo.org from links if running on www.g.o
              Has no effect on actual www.g.o but helps when surfing on a local copy as long as httphost is set to www as well
-             Rewrite http://www.gentoo.org/cgi-bin/viewcvs/ to use sources.gentoo.org/
+             Rewrite https?://www.gentoo.org/cgi-bin/viewcvs/ to use sources.gentoo.org/
           -->
         <xsl:variable name="llink">
           <xsl:choose>
-            <xsl:when test="starts-with($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi')">
-				<xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, 'http://www.gentoo.org/cgi-bin/viewcvs.cgi'))" />
+            <xsl:when test="contains($thelink, '//www.gentoo.org/cgi-bin/viewcvs.cgi')">
+                <xsl:value-of select="concat('//sources.gentoo.org/viewcvs.py', substring-after($thelink, '//www.gentoo.org/cgi-bin/viewcvs.cgi'))" />
 			</xsl:when>
             <xsl:when test="starts-with($thelink, '/cgi-bin/viewcvs.cgi')">
-				<xsl:value-of select="concat('http://sources.gentoo.org/viewcvs.py', substring-after($thelink, '/cgi-bin/viewcvs.cgi'))" />
+                <xsl:value-of select="concat('//sources.gentoo.org/viewcvs.py', substring-after($thelink, '/cgi-bin/viewcvs.cgi'))" />
 			</xsl:when>
-            <xsl:when test="$httphost='www' and starts-with($thelink, 'http://www.gentoo.org/')">
-				<xsl:value-of select="substring-after($thelink, 'http://www.gentoo.org')" />
+            <xsl:when test="$httphost='www' and contains($thelink, '//www.gentoo.org/')">
+                <xsl:value-of select="substring-after($thelink, '//www.gentoo.org')" />
 			</xsl:when>
             <xsl:when test="not($httphost='www' or $httphost='archives') and starts-with($thelink, '/') and not(starts-with($thelink, '/~'))">
-				<xsl:value-of select="concat('http://www.gentoo.org', $thelink)" />
+                <xsl:value-of select="concat('//www.gentoo.org', $thelink)" />
 			</xsl:when>
             <!-- Add catid to links to /doc/LL/index.xml -->
             <xsl:when test="$catid != '0' and starts-with($thelink, '/doc/') and (substring-after(substring-after($thelink, '/doc/'), '/')='' or substring-after(substring-after($thelink, '/doc/'), '/')='index.xml')">





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

* [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl
@ 2015-03-14 19:24 Alex Legler (a3li)
  0 siblings, 0 replies; 30+ messages in thread
From: Alex Legler (a3li) @ 2015-03-14 19:24 UTC (permalink / raw
  To: gentoo-commits

a3li        15/03/14 19:24:57

  Modified:             guide.xsl
  Log:
  Disable GLSA parsing (hopefully)

Revision  Changes    Path
1.261                xml/htdocs/xsl/guide.xsl

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.261&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?rev=1.261&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/guide.xsl?r1=1.260&r2=1.261

Index: guide.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide.xsl,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -r1.260 -r1.261
--- guide.xsl	9 Jun 2013 18:10:31 -0000	1.260
+++ guide.xsl	14 Mar 2015 19:24:57 -0000	1.261
@@ -422,7 +422,8 @@
         </xsl:for-each>
 
         <!-- GLSAs from my own glsa-index.xml, i.e. not Gentoo's -->
-        <xsl:for-each select="$GLSAs//glsa">
+        <!-- XPATH shouldn't find anything, hence disabling GLSA parsing -->
+        <xsl:for-each select="$GLSAs//glsaDISABLED">
          <!-- <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">
             <!-- convert bloody dates like 'July 29, 2006: 02' to YYYY-MM-DD -->





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

end of thread, other threads:[~2015-03-14 19:25 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-09 17:35 [gentoo-commits] gentoo commit in xml/htdocs/xsl: guide.xsl Robin H. Johnson (robbat2)
  -- strict thread matches above, loose matches on Subject: below --
2015-03-14 19:24 Alex Legler (a3li)
2013-06-09 18:10 Robin H. Johnson (robbat2)
2013-06-09 17:31 Robin H. Johnson (robbat2)
2013-06-09 17:30 Robin H. Johnson (robbat2)
2013-06-09 17:27 Robin H. Johnson (robbat2)
2013-06-09  1:15 Robin H. Johnson (robbat2)
2013-06-09  1:13 Robin H. Johnson (robbat2)
2012-06-18 10:30 Alec Warner (antarus)
2011-11-29 18:57 Sven Vermeulen (swift)
2011-04-01  4:49 Robin H. Johnson (robbat2)
2010-07-08 22:34 Robin H. Johnson (robbat2)
2010-06-18  5:21 Robin H. Johnson (robbat2)
2010-06-18  4:49 Robin H. Johnson (robbat2)
2009-07-01 16:33 Xavier Neys (neysx)
2009-06-26 16:31 Xavier Neys (neysx)
2009-06-26  3:48 Joshua Saddler (nightmorph)
2009-06-17  1:29 Robin H. Johnson (robbat2)
2009-02-01 15:00 Xavier Neys (neysx)
2008-09-03 21:46 Joshua Saddler (nightmorph)
2008-05-09 19:57 Ned Ludd (solar)
2008-05-09 19:18 Ned Ludd (solar)
2008-03-28 23:35 Xavier Neys (neysx)
2008-03-09 13:01 Xavier Neys (neysx)
2008-01-22 20:36 Xavier Neys (neysx)
2008-01-19 14:18 Xavier Neys (neysx)
2007-11-15  8:16 Xavier Neys (neysx)
2007-11-06  0:09 Xavier Neys (neysx)
2007-10-04 19:38 Xavier Neys (neysx)
2007-09-07  9:15 Xavier Neys, French Docs Lead (neysx)

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