Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2004 17:26:49 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        freebsd-www@freebsd.org
Subject:   Re: cvs commit: www/en Makefile index.xsl www/share/mk web.site.mk www/share/sgml includes.misc.xsl notices.xml
Message-ID:  <20040627152647.GC1219@zaphod.nitro.dk>
In-Reply-To: <200406270622.i5R6MVEO092000@repoman.freebsd.org>
References:  <200406270622.i5R6MVEO092000@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--4zI0WCX1RcnW9Hbu
Content-Type: multipart/mixed; boundary="5QAgd0e35j3NYeGe"
Content-Disposition: inline


--5QAgd0e35j3NYeGe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2004.06.27 06:22:31 +0000, Hiroki Sato wrote:
> hrs         2004-06-27 06:22:31 UTC
>=20
>   FreeBSD doc repository
>=20
>   Modified files:
>     en                   Makefile index.xsl=20
>     share/mk             web.site.mk=20
>     share/sgml           includes.misc.xsl=20
>   Added files:
>     share/sgml           notices.xml=20
>   Log:
>   Add notices.xml for Errata Notices and a new section
>   for them on the top page.

While I think it is a good thing to have something like this on the
front page, it does cludder the "right box" even more.

How about removing the explicit Announcement link (it's still linked
=66rom the title) and only showing 5 items in project news and project
press ? (it's not like there are a lot of new additions to those to
all the time anyway).

I think this helps a bit until we decide on some "grand plan" for the
website in general.

I made a patch to do this (attached) and a build with it can be seen
on http://simon.nitro.dk/tmp/freebsdweb/ .

--=20
Simon L. Nielsen
FreeBSD Documentation Team

--5QAgd0e35j3NYeGe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="www-rightbox-minimize.patch"
Content-Transfer-Encoding: quoted-printable

Index: en/index.xsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/www/en/index.xsl,v
retrieving revision 1.104
diff -u -d -r1.104 index.xsl
--- en/index.xsl	27 Jun 2004 06:22:31 -0000	1.104
+++ en/index.xsl	27 Jun 2004 14:54:07 -0000
@@ -243,8 +243,7 @@
 			      <a href=3D"{$u.rel.early}">
 			      <font size=3D"+1" color=3D"#990000"><b>New Technology Release:
 			    <xsl:value-of select=3D"$rel.current"/></b></font></a><br/>
-			    <small>&#183; <a href=3D"{$u.rel.announce}">Announcement</a><br/>
-			      &#183; <a href=3D"{$base}/doc/en_US.ISO8859-1/books/handbook/inst=
all.html">Installation Guide</a><br/>
+			    <small>&#183; <a href=3D"{$base}/doc/en_US.ISO8859-1/books/handbook=
/install.html">Installation Guide</a><br/>
 			      &#183; <a href=3D"{$u.rel.notes}">Release Notes</a><br/>
 			      &#183; <a href=3D"{$u.rel.hardware}">Hardware Notes</a><br/>
 			      &#183; <a href=3D"{$u.rel.installation}">Installation Notes</a><b=
r/>
@@ -256,8 +255,7 @@
 			      <font size=3D"+1" color=3D"#990000"><b>Production Release:
 			    <xsl:value-of select=3D"$rel2.current"/></b></font></a><br/>
 		=09
-			    <small>&#183; <a href=3D"{$u.rel2.announce}">Announcement</a><br/>
-			      &#183; <a href=3D"{$base}/doc/en_US.ISO8859-1/books/handbook/inst=
all.html">Installation Guide</a><br/>
+			    <small>&#183; <a href=3D"{$base}/doc/en_US.ISO8859-1/books/handbook=
/install.html">Installation Guide</a><br/>
 			      &#183; <a href=3D"{$u.rel2.notes}">Release Notes</a><br/>
 			      &#183; <a href=3D"{$u.rel2.hardware}">Hardware Notes</a><br/>
 			      &#183; <a href=3D"{$u.rel2.installation}">Installation Notes</a><=
br/>
Index: share/sgml/includes.misc.xsl
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/www/share/sgml/includes.misc.xsl,v
retrieving revision 1.12
diff -u -d -r1.12 includes.misc.xsl
--- share/sgml/includes.misc.xsl	27 Jun 2004 08:28:21 -0000	1.12
+++ share/sgml/includes.misc.xsl	27 Jun 2004 14:56:23 -0000
@@ -279,12 +279,12 @@
   </xsl:template>
=20
   <!-- template: "html-index-news-project-items"
-       pulls in the 10 most recent project items -->
+       pulls in the 5 most recent project items -->
=20
   <xsl:template name=3D"html-index-news-project-items">
     <xsl:param name=3D"news.project.xml" select=3D"''" />
=20
-    <xsl:for-each select=3D"document($news.project.xml)/descendant::event[=
position() &lt;=3D 10]">
+    <xsl:for-each select=3D"document($news.project.xml)/descendant::event[=
position() &lt;=3D 5]">
       <xsl:value-of select=3D"$leadingmark" /><a>
 	<xsl:attribute name=3D"href">
 	  news/newsflash.html#<xsl:call-template name=3D"generate-event-anchor"/>
@@ -319,12 +319,12 @@
   </xsl:template>
=20
   <!-- template: "html-index-news-press-items"
-       pulls in the 10 most recent press items -->
+       pulls in the 5 most recent press items -->
=20
   <xsl:template name=3D"html-index-news-press-items">
     <xsl:param name=3D"news.press.xml" select=3D"''" />
=20
-    <xsl:for-each select=3D"document($news.press.xml)/descendant::story[po=
sition() &lt; 10]">
+    <xsl:for-each select=3D"document($news.press.xml)/descendant::story[po=
sition() &lt;=3D 5]">
       <xsl:value-of select=3D"$leadingmark" /><a>
 	<xsl:attribute name=3D"href">
 	  news/press.html#<xsl:call-template name=3D"generate-story-anchor"/>

--5QAgd0e35j3NYeGe--

--4zI0WCX1RcnW9Hbu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA3uc3h9pcDSc1mlERAmnSAJ9a7xk7dK/IlnzLrQooVctz8xw/FQCglqeF
0wce+vL8+2Ah4QSIynXSL28=
=lKqV
-----END PGP SIGNATURE-----

--4zI0WCX1RcnW9Hbu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040627152647.GC1219>