From 8dc9e18dfc7a3262213a1c9923897abd15dc7066 Mon Sep 17 00:00:00 2001 From: neysx Date: Sat, 31 Jan 2009 08:42:50 +0000 Subject: #204402 & #252157 Reorg menu & display GLSA/new packages/blog entries on front page --- xml/htdocs/xsl/guide.xsl | 601 +++++++------- xml/htdocs/xsl/guide2.xsl | 2008 --------------------------------------------- 2 files changed, 315 insertions(+), 2294 deletions(-) delete mode 100755 xml/htdocs/xsl/guide2.xsl diff --git a/xml/htdocs/xsl/guide.xsl b/xml/htdocs/xsl/guide.xsl index 23582d8b..eef5b89c 100644 --- a/xml/htdocs/xsl/guide.xsl +++ b/xml/htdocs/xsl/guide.xsl @@ -5,8 +5,10 @@ xmlns:dyn="http://exslt.org/dynamic" xmlns:str="http://exslt.org/strings" + xmlns:feed="http://www.w3.org/2005/Atom" + xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" - exclude-result-prefixes="opensearch" + exclude-result-prefixes="opensearch feed" extension-element-prefixes="exslt func dyn str" > @@ -23,6 +25,8 @@ + + @@ -32,7 +36,7 @@ 0 -6 +9 0 @@ -151,7 +155,7 @@ - + @@ -172,24 +176,20 @@ - + <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: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: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> @@ -287,7 +287,7 @@ - + @@ -297,7 +297,7 @@ - + @@ -326,7 +326,7 @@ - + @@ -336,8 +336,6 @@ - - Y http://www.gentoo.org @@ -469,119 +363,9 @@
@@ -346,111 +344,7 @@

- Installation: -
- - - - - Gentoo Handbook -
- - - - - Installation Docs -

- Documentation: -
- - - - - Home -
- - - - - Listing -
- - - - - About Gentoo -
- - - - - Philosophy -
- - - - - Social Contract -

- Resources: -
- Bug Tracker -
- Developer List -
- Discussion Forums -
- Gentoo BitTorrents -
- Gentoo Linux Enhancement Proposals -
- - - - - IRC Channels -
- - - - - Mailing Lists -
- - - - - Mirrors -
- - - - - Name and Logo Guidelines -
- Online Package Database -
- Security Announcements -
- Staffing Needs -
- Supporting Vendors -
- View our Sources -

- Graphics: -
- - - - - Logos and themes -
- - - - - ScreenShots -

- Miscellaneous Resources: -
- Gentoo Linux Store -
- IBM dW/Intel article archive +

-

+

@@ -607,13 +391,249 @@ To learn more, read our about page.

- - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + 01 + 02 + 03 + 04 + 05 + 06 + 07 + 08 + 09 + 10 + 11 + 12 + 00 + + - + + + + + + + + + + + + + + + + + + + + + + + -01- + -02- + -03- + -04- + -05- + -06- + -07- + -08- + -09- + -10- + -11- + -12- + -00- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:copy-of select="$newsitem/title"/> + + + + + + + + + + + planet + Blog posts + + + + + planet.gentoo.org + + + + + + + + + + + + + + . . . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + plans + + GLSA <xsl:value-of select="$glsaid"/>: <xsl:value-of select="$GLSAs//glsa[@id=$glsaid]/package[1]"/><xsl:if test="count($GLSAs//glsa[@id=$glsaid]/package)>1"> (and <xsl:value-of select="count($GLSAs//glsa[@id=$glsaid]/package)-1"/> more package<xsl:if test="count($GLSAs//glsa[@id=$glsaid]/package)>2">s</xsl:if>)</xsl:if> + + Gentoo Security Team +



See GLSA for more information.

+
+ + + moo + + New Packages + + packages.gentoo.org + + + + + + + +
+
+
+
+
+ + + + + + +
+ + + +

@@ -627,6 +647,7 @@

+ @@ -664,6 +685,13 @@ + + + + + + + Y @@ -1124,7 +1152,7 @@ Copyright 2001- Gentoo Found - + @@ -1406,14 +1434,16 @@ Copyright 2001- Gentoo Found - - @@ -1574,10 +1604,10 @@ Copyright 2001- Gentoo Found - + - + @@ -1586,7 +1616,7 @@ Copyright 2001- Gentoo Found - + @@ -1830,18 +1860,6 @@ Copyright 2001- Gentoo Found - - - - - - + - - + + - + @@ -1918,7 +1936,14 @@ Copyright 2001- Gentoo Found
- Posted on + + + Posted between and + + + Posted on + + @@ -1927,23 +1952,14 @@ Copyright 2001- Gentoo Found by

- + - - AlphaServer GS160 - - - KDE - gentoo stick man - - ibm - tux @@ -1953,6 +1969,19 @@ Copyright 2001- Gentoo Found Clock + + Planet Earth + + + + AlphaServer GS160 + + + KDE + + + ibm + Nvidia @@ -1960,7 +1989,7 @@ Copyright 2001- Gentoo Found Freescale Semiconductor - +
diff --git a/xml/htdocs/xsl/guide2.xsl b/xml/htdocs/xsl/guide2.xsl deleted file mode 100755 index eef5b89c..00000000 --- a/xml/htdocs/xsl/guide2.xsl +++ /dev/null @@ -1,2008 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -0 -9 - - -0 - - - - - -www - - - - - - - - - -
- - - + + + text-align:center @@ -1421,7 +1451,7 @@ Copyright 2001- Gentoo Found - +
- - Support OSL - -

- Support OSL -

-
@@ -1878,30 +1896,30 @@ Copyright 2001- Gentoo Found
- - Global Netoptex Inc. + + Bytemark

- Global Netoptex Inc. + Bytemark

- - Bytemark + + Global Netoptex Inc.

- Bytemark + Global Netoptex Inc.

- - margin-top:40px;margin-bottom:30px - - - - -
-

- - - font-size:1.3em - - : - - - - - - - -

-
- -
- - - - - -
-
- -

- - : - - -

- - - - -
- - - - - -
-
-
- - -
- : - -
-
-
-
- - - - - - - - - -
- - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - /rdf/en/glsa-index.rdf - - ?num=9 - - - - - - - - - - - - - - - - - - <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: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> - - - - - - - - - - RTL - - - - - - - - - - - - - - - - - - - - - -
- Gentoo Logo -
- - - - - -
- - - - RTL - - - left - - - - - - - - - - -
-
- -
- - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux -- <xsl:value-of select="title"/> - - - - - - - - - - - - - - NotADev - - - - - - - - - - - - load() - GUnload() - - - - http://www.gentoo.org - - - - - - - - - - - - - - -
- Gentoo Logo - - -
- - - - - - - -
- Gentoo Spaceship -
- - - - - -
-

- -

-

-
-
-
- - - RTL - - - -

- Gentoo logo - We produce Gentoo Linux, a special flavor of Linux that - can be automatically optimized and customized for just - about any application or need. Extreme performance, - configurability and a top-notch user and developer - community are all hallmarks of the Gentoo experience. - To learn more, read our about - page. -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - 01 - 02 - 03 - 04 - 05 - 06 - 07 - 08 - 09 - 10 - 11 - 12 - 00 - - - - - - - - - - - - - - - - - - - - - - - - - - -01- - -02- - -03- - -04- - -05- - -06- - -07- - -08- - -09- - -10- - -11- - -12- - -00- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:copy-of select="$newsitem/title"/> - - - - - - - - - - - planet - Blog posts - - - - - planet.gentoo.org - - - - - - - - - - - - - - . . . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - plans - - GLSA <xsl:value-of select="$glsaid"/>: <xsl:value-of select="$GLSAs//glsa[@id=$glsaid]/package[1]"/><xsl:if test="count($GLSAs//glsa[@id=$glsaid]/package)>1"> (and <xsl:value-of select="count($GLSAs//glsa[@id=$glsaid]/package)-1"/> more package<xsl:if test="count($GLSAs//glsa[@id=$glsaid]/package)>2">s</xsl:if>)</xsl:if> - - Gentoo Security Team -



See GLSA for more information.

-
- - - moo - - New Packages - - packages.gentoo.org - - - - - - - -
-
-
-
-
- - - - - - -
- - - - - -
-

- Older News -

-
    - - -
  • -
    -
-
-
- - - - - - - -
-
- - - - -
- -
-
- - - -
- -
- -
- -
- - - -
- - - - - - - - - - - Y - - - http://www.gentoo.org - - - - - - - /main/en/contact.xml - - -Copyright 2001- Gentoo Foundation, Inc. Questions, Comments?
Contact us. - - - - - - - - - - - - - - - - altlink - - - - - - - - - - - - - - - - -
-   - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - . - - - .  - - - - -

- -
-
- - -

- - . - -

-
- - - - - - - - - - -

- -

- - -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - -

-
-
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
-

- - -  .: - - -  . - - -

-
- - - Fig. {$fignum}: {@short} - - - Fig. {$fignum} - - -
-
-
- - - - - - - - - - - - - - - - -
- - - {@short} - - - {@short} - - -
- - - -

Gentoo Developers Map

-

-
- - - - - -
-
- - - - - - - - -
-

- : - -

-
- - - - - - - - - - -
-

- : - -

-
-
-
- - - - - - - - -
-

- : - -

-
-
-
- - - - - ( - - ) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-  . - - : - -

-
-
-            
-          
-
-
-
- - - - - - - - - - - - - - - - - () - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - &style=printable - &full=1 - &part= - &chap= - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - epigraph - - - - - - - -



-
-

- -
- - - - - - - - - - - -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text-align:center - - - - - - - - - - - - - -
    - -
-
-
- - - - -
    - -
-
-
- - - - -
  • - -
  • -
    -
    - - - -
    -
    - - -
    -
    - - -
    -
    - - - - - - - - - - - - - - - <rdf:RDF xmlns="http://web.resource.org/cc/" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> - <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"> - <permits rdf:resource="http://web.resource.org/cc/Reproduction" /> - <permits rdf:resource="http://web.resource.org/cc/Distribution" /> - <requires rdf:resource="http://web.resource.org/cc/Notice" /> - <requires rdf:resource="http://web.resource.org/cc/Attribution" /> - <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> - <requires rdf:resource="http://web.resource.org/cc/ShareAlike" /> - </License> - </rdf:RDF> - - - - - - - - - - - - -
    NumberTypeStatusTitle
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - - - NoOriginal - - - - NoOriginal - - - - - - - - - - - - - - - - Different - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://www.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -

    - - - - - - - - - &part= - &chap= - - - - - - - -

    -
    -

    - - - - - - - - - - - - -

    -
    - - - - RTL - - - center - - - -

    - -

    -
    - - - - RTL - - - left - - - -

    - -

    -
    - - - - RTL - - - left - - - -

    - - : - - - - - - - - -

    -
    -

    - - -

    -
    -

    - Donate to support our development efforts. -

    - -
    - - - - - - - - - - -
    -
    - - Gentoo Centric Hosting: vr.org - -

    - VR Hosted -

    -
    - - Tek Alchemy - -

    - Tek Alchemy -

    -
    - - SevenL.net - -

    - SevenL.net -

    -
    - - Bytemark - -

    - Bytemark -

    -
    - - Global Netoptex Inc. - -

    - Global Netoptex Inc. -

    -
    -
    -
    - - - - - - -
    -

    - -
    - - - - Posted between and - - - Posted on - - - - - - - - by - -

    - - - - gentoo - - - stick man - - - tux - - - Larry the Cow - - - Clock - - - Planet Earth - - - - AlphaServer GS160 - - - KDE - - - ibm - - - Nvidia - - - Freescale Semiconductor - - - -
    - - - -
    - (full story) -
    - - - -
    -
    -
    -
    - - -- cgit v1.2.3-65-gdbad