Date: Sat, 22 Nov 2003 21:39:30 +0100 From: Alex Dupre <sysadmin@alexdupre.com> To: owner-freebsd-doc@freebsd.org, Hiroki Sato <hrs@freebsd.org> Cc: doc@freebsd.org Subject: Re: Localized mirror names Message-ID: <78263685990.20031122213930@alexdupre.com> In-Reply-To: <20031122.215345.41660717.hrs@eos.ocn.ne.jp> References: <61204080291.20031117100651@alexdupre.com> <20031117.194741.39704906.hrs@eos.ocn.ne.jp> <20031122.215345.41660717.hrs@eos.ocn.ne.jp>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Saturday, November 22, 2003, 1:53:45 PM, you wrote: HS> Could anyone please try and/or review this? Tested on the Italian translation. It seems to work correctly, except for the mirror ordering on the web site. But I created the attached patch that fix this issue. -- Alex Dupre sysadmin@alexdupre.com http://www.alexdupre.com/ alex@sm.FreeBSD.org Today's excuse: Collapsed Backbone [-- Attachment #2 --] --- index.xsl.orig Sat Nov 22 21:34:39 2003 +++ index.xsl Sat Nov 22 21:35:44 2003 @@ -51,9 +51,9 @@ support.sgml. --> <xsl:for-each select="document($mirrors.xml)/mirrors/entry[url[contains(@proto, 'httpv6')]]"> + <xsl:sort select="country/@role" order="descending" /> + <xsl:sort select="country" /> <xsl:for-each select="url[contains(@proto, 'httpv6') and contains(@type, 'www')]"> - <xsl:sort select="../country/@role" order="descending" /> - <xsl:sort select="../country" /> <option><xsl:attribute name="value"><xsl:value-of select="." /></xsl:attribute> <xsl:choose> <xsl:when test="last() = 1"> @@ -68,9 +68,9 @@ </xsl:for-each> <xsl:for-each select="document($mirrors.xml)/mirrors/entry[url[contains(@proto, 'http')]]"> + <xsl:sort select="country/@role" order="descending" /> + <xsl:sort select="country" /> <xsl:for-each select="url[contains(@proto, 'http') and contains(@type, 'www')]"> - <xsl:sort select="../country/@role" order="descending" /> - <xsl:sort select="../country" /> <option><xsl:attribute name="value"><xsl:value-of select="." /></xsl:attribute> <xsl:choose> <xsl:when test="last() = 1">home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?78263685990.20031122213930>
